close socket if request_mgr fails
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 29 Jan 2015 10:08:10 +0000 (11:08 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 29 Jan 2015 10:08:10 +0000 (11:08 +0100)
web/Obj/sac-a-push.phh

index 6d75492..d9ee5ad 100644 (file)
@@ -851,6 +851,7 @@ class Sac_a_push {
                         if ($rret == FALSE) {
                             // FIXME: manage 404 !!!
                             printf("TODO: fix unknown page\n");
+                            fclose($new_socket);
                         }
                     }
                 }