[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] [PATCH] Persistent connection fix
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] [PATCH] Persistent connection fix |
Date: |
Tue, 25 Mar 2008 13:49:37 -0600 |
User-agent: |
KMail/1.9.7 |
Thanks, will release as part of MHD 0.2.3 shortly. And yes, the
connection->method check was quite, eh, silly. -Christian
On Tuesday 25 March 2008, Alex Sadovsky wrote:
> Hello libmicrohttps developers and users!
>
> This patch removes checks for request method after it finished writing
> response footers as it's only _pipelined_ requests that should not be
> allowed after POST or PUT requests. Reusing existing connection is
> perfectly ok though. And there is no reliable way to detect pipelining on
> server side anyway so it's client's responsibility to not send new data
> before it gets a response after a POST operation.
>
> By the way, original node would first set connection->method to NULL and
> then check it for being not NULL so it was wrong anyway.