libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Connection: close in response


From: Christian Grothoff
Subject: Re: [libmicrohttpd] Connection: close in response
Date: Wed, 22 Jun 2011 14:33:47 +0200
User-agent: KMail/1.13.7 (Linux/2.6.39-1-amd64; KDE/4.6.3; x86_64; ; )

Hi!

You're right, fixed in SVN 15747.

-Christian

On Tuesday, June 21, 2011 03:14:52 PM Robert Varga wrote:
> Hi,
> 
> it seems that, contrary to documentation of MHD_OPTION_CONNECTION_LIMIT,
> libmicrohttpd 0.9.11 does not close the connection when handler inserts
> a Connection: close header into the response. Looking at the code, it
> seems that only headers sent by the client are examined.
> 
> The attached program still allows request pipelining, unless an
> additional call to:
> 
> MHD_set_connection_value(connection, MHD_HEADER_KIND,
> MHD_HTTP_HEADER_CONNECTION, "close");
> 
> is made -- which makes the connection shutdown as expected.
> 
> Bye,
> Robert



reply via email to

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