|
From: | silvioprog |
Subject: | Re: [libmicrohttpd] Problem with Keep-Alive and MHD_OPTION_CONNECTION_TIMEOUT in MHD_USE_THREAD_PER_CONNECTION mode |
Date: | Sun, 6 Dec 2015 19:46:23 -0300 |
Hi!
Reading the code I noticed an #ifdef WINDOWS'ed call to shutdown() that
would only be executed (in your particular setting) whenever yet another
connection was accepted, possibly delaying the TCP connection tear down.
I've tried to move the respective logic to happen earlier in SVN 36731.
Please try this version, and let me know if this fixes your problem.
(Again, the problem doesn't really hit me on GNU/Linux, so this may or
may not be related.)
Happy hacking!
Christian
[Prev in Thread] | Current Thread | [Next in Thread] |