I've just committed a proper fix into the Darcs repository. Could you
please test it, I'd like to release 1.0.4?
I'm also attaching a patch, but I'd much rather people tested the code
in the repo (there are some other tweaks).
Thanks,
Juliusz
diff -rN -u old-polipo/server.c new-polipo/server.c
--- old-polipo/server.c 2008-01-06 20:21:07.000000000 +0100
+++ new-polipo/server.c 2008-01-06 20:21:07.000000000 +0100
@@ -1941,7 +1941,10 @@
/* We've already reset wait_continue above, but we must still
ensure that the writer notices. */
notifyObject(request->object);
- httpServerFinish(connection, -1, rc);
+ connection->len -= rc;
+ if(connection->len > 0)
+ memmove(connection->buf, connection->buf + rc, connection->len);
+ httpServerReply(connection, 1);
return 1;
}
-------------------------------------------------------------------------
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