libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] [PATCH] Persistent connection fix


From: Alex Sadovsky
Subject: [libmicrohttpd] [PATCH] Persistent connection fix
Date: Tue, 25 Mar 2008 19:52:02 +0300

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.


Attachment: conn_keep_alive_fix.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]