Thomas,

Does the following patch work around the issue ?  (It's not correct,
but if it works around the issue, I'll think up a proper solution.)

(Please reply to the list, except of course when sending attachments.
It's more convenient for me.)

                                        Juliusz
diff -rN -u old-polipo/server.c new-polipo/server.c
--- old-polipo/server.c 2008-01-06 19:32:58.000000000 +0100
+++ new-polipo/server.c 2008-01-06 19:32:58.000000000 +0100
@@ -1172,7 +1172,7 @@
        connection->time < current_time.tv_sec - maxConnectionAge)
         s = 1;
 
-    if(connection->reqbuf) {
+    if(s >= 0 && connection->reqbuf) {
         /* As most normal requests go out in a single packet, this is
            extremely unlikely to happen.  As for POST/PUT requests,
            they are not pipelined, so this can only happen if the

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to