Re: [libmicrohttpd] issue with suspend/resume

2017-05-10 Thread José Bollo
On Fri, 5 May 2017 21:09:21 +0300 Evgeny Grin wrote: > Hi José, > > Shouldn't be any change. > Could you provide minimal example? > Hi Evgeny, I was busy yesterday but I now have an example showing the regression. I send it attached. I tested it against current master version (917342b3fb05475

Re: [libmicrohttpd] upgraded connections remain suspended when using MHD_USE_THREAD_PER_CONNECTION

2017-05-10 Thread Dom F
I'm using MHD versions 0.9.54 and latest from git on both FreeBSD 11 and Linux (I think CentOS 7 with v3.10 kernel). No extra args to ./configure on Linux. HTTPS, gnutls and libgcrypt related args to ./configure on FreeBSD. My MHD_UpgradeHandler creates a new thread, immediately detached, which

Re: [libmicrohttpd] issue with suspend/resume

2017-05-10 Thread José Bollo
On Wed, 10 May 2017 09:31:22 +0200 José Bollo wrote: {snip} > > To circumvent it, you can replace #if 0 with #if 1, leading to call > MHD_run one more time. So there is a workaround. In fact I'am actually enforced to call it 3 times to get all the output because I internally use MHD_create_res

Re: [libmicrohttpd] How to access raw request bytes sent to a request handler (and total request size)?

2017-05-10 Thread Christian Grothoff
Dear John, Just wanted to let you know that this has now been implemented. See: https://gnunet.org/git/libmicrohttpd.git/commit/?id=76cf7d7f5877a3ce0f3bb131aa6e6f420d5b98eb Happy hacking! Christian On 04/26/2017 12:02 AM, John Duncan wrote: > That would be great, thanks! > 0xE29FC3CC.asc De

Re: [libmicrohttpd] issue with suspend/resume

2017-05-10 Thread Evgeny Grin
On 10.05.2017 10:31, José Bollo wrote: > On Fri, 5 May 2017 21:09:21 +0300 > Evgeny Grin wrote: >> Shouldn't be any change. >> Could you provide minimal example? > > > My feeling is that this is a typical use case and it should work with > only one call to MHD_run. I also think that providing a

Re: [libmicrohttpd] upgraded connections remain suspended when using MHD_USE_THREAD_PER_CONNECTION

2017-05-10 Thread Evgeny Grin
On 10.05.2017 11:21, Dom F wrote: > I'm using MHD versions 0.9.54 and latest from git on both FreeBSD 11 and > Linux (I think CentOS 7 with v3.10 kernel). > No extra args to ./configure on Linux. > HTTPS, gnutls and libgcrypt related args to ./configure on FreeBSD. > > My MHD_UpgradeHandler creat