Re: [libmicrohttpd] [PATCH]: MHD_connection_update_event_loop_info sends INTERNAL_ERROR for suspended connections

2017-03-21 Thread Christian Grothoff
On 03/17/2017 01:10 PM, Vitaliy T wrote: > Hello, > > On 17 March 2017 at 10:03, Evgeny Grin wrote: >> Please note that even if you suspend connection, you must process at >> least some data (preferably - all data) and decrement value of >> 'upload_data_size'. > > Yes, this was my mistake. Befor

Re: [libmicrohttpd] '-lrt' not resolving undefined reference to clock_gettime?

2017-03-21 Thread Christian Grothoff
glibc < 2.17 requires -lrt for clock_gettime(), older versions do not. I've added "-lrt" in Git commit ed6509bf6ca46e39e3514680bfb81216e2a825bf but without testing (as I don't have an ancient glibc on this system and I am on a train...). Please let me know if it does not work... Happy hacking! C