@@ -0,0 +1,27 @@
+--- keepalived/check/check_http.c.orig 2011-08-10 16:29:21.328399452 +0200
++++ keepalived/check/check_http.c 2011-08-10 16:31:03.504652192 +0200
+@@ -885,5 +885,6 @@
+ /* handle tcp connection status & register check worker thread */
+ tcp_connection_state(fd, status, thread, http_check_thread,
+ http_get_check->connection_to);
++ close(fd);
+ return 0;
+ }
+--- keepalived/check/check_tcp.c.orig 2011-08-10 16:29:38.389119167 +0200
++++ keepalived/check/check_tcp.c 2011-08-10 16:31:17.672652409 +0200
+@@ -183,5 +183,6 @@
+ /* handle tcp connection status & register check worker thread */
+ tcp_connection_state(fd, status, thread, tcp_check_thread,
+ tcp_check->connection_to);
++ close(fd);
+ return 0;
+ }
+--- keepalived/check/check_smtp.c.orig 2011-08-10 16:29:28.205173090 +0200
++++ keepalived/check/check_smtp.c 2011-08-10 16:31:31.580652562 +0200
+@@ -826,5 +826,6 @@
+
+ /* handle tcp connection status & register callback the next setp in the process */
+ tcp_connection_state(sd, status, thread, smtp_check_thread, smtp_checker->timeout);
++ close(sd);
+ return 0;
+ }
|