Re: [libmicrohttpd] Keeping the TCP connection open

2018-10-20 Thread Santos Das
Thank you. On Sat, Oct 20, 2018 at 1:49 PM Christian Grothoff wrote: > If you do not set a timeout or do something else explicit to close the > connection, MHD will try to keep the connection open. The rest depends > on the HTTP client, which you cannot force to keep the connection open. > > On

Re: [libmicrohttpd] TCP connection callbacks - problem

2018-10-20 Thread Daniel Bujnik
Hi Christian, Yes, indeed I have been using one thread per connection model. I will give it a go and come back to you. Kind regards, Daniel On Sat, 20 Oct 2018 at 11:46, Christian Grothoff wrote: > Dear Daniel, > > You didn't mention which thread mode you were using, but manual > inspection

Re: [libmicrohttpd] TCP connection callbacks - problem

2018-10-20 Thread Christian Grothoff
Dear Daniel, You didn't mention which thread mode you were using, but manual inspection suggests your issue should occur in thread-per-connection modes (only). In that case, I've pushed a (likely) fix in b55cd46b..47281241 to Git master. Please test and report back! Happy hacking! Christian O

Re: [libmicrohttpd] Keeping the TCP connection open

2018-10-20 Thread Christian Grothoff
If you do not set a timeout or do something else explicit to close the connection, MHD will try to keep the connection open. The rest depends on the HTTP client, which you cannot force to keep the connection open. On 10/20/2018 08:57 AM, Santos Das wrote: > Hi, > > We are using a HTTP 1.1.  > >