libmicrohttpd
[Top][All Lists]
Advanced

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

[libmicrohttpd] [PATCH] Application error handling fix


From: Alex Sadovsky
Subject: [libmicrohttpd] [PATCH] Application error handling fix
Date: Fri, 4 Jan 2008 14:23:47 +0300

Hi libmicrohttpd developers,

I think I have found a bug MHD_connection_handle_idle. If the application returns MHD_NO when connection is in MHD_CONNECTION_HEADERS_PROCESSED, connection state always changes to either MHD_CONNECTION_FOOTERS_RECEIVED or MHD_CONNECTION_CONTINUE_SENT while proper state would be MHD_CONNECTION_CLOSED.

Attached patch fixes this problem for me.

Attachment: conn.diff
Description: Binary data


reply via email to

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