Juliusz,

the current version in the darcs repo solved the issue, upload works fine now.

Thanks a lot.

Thomas


> -----Ursprüngliche Nachricht-----
> Von: "Juliusz Chroboczek" <[EMAIL PROTECTED]>
> Gesendet: 06.01.08 20:24:04
> An: Thomas Wiesel <[EMAIL PROTECTED]>
> CC: polipo-users@lists.sourceforge.net
> Betreff: Re: [Polipo-users] Couldn't write to server: Immediate shutdown      
> requested


> 
> 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;
>      }
> 


__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!        
        
Mehr Infos unter http://produkte.web.de/club/?mc=021131


-------------------------------------------------------------------------
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
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to