Re: [libmicrohttpd] Unable to connect to libmicrohttpd in embedded system.

2018-01-23 Thread Marcel Rutten
latform, it is an > optimization; so you could #undef HAVE_ACCEPT4 if accept() + > setsockopt() works better. But I've not yet heard about a buggy > accept4() implementation... > > Happy hacking! > > Christian > > On 01/22/2018 11:32 PM, Marcel Rutten wrote: > > Found

Re: [libmicrohttpd] Unable to connect to libmicrohttpd in embedded system.

2018-01-22 Thread Marcel Rutten
Found it. accept4() returns an invalid socket. I will carry on tomorrow, it's almost midnight in my time zone ... On 22 January 2018 at 23:13, Marcel Rutten wrote: > Thanks, Evgeny, > > My statement was a bit off. The race condition is not inside MHD_epoll() > and its cousins

Re: [libmicrohttpd] Unable to connect to libmicrohttpd in embedded system.

2018-01-22 Thread Marcel Rutten
Thanks, Evgeny, My statement was a bit off. The race condition is not inside MHD_epoll() and its cousins, but in the loop surrounding them. So I get an incessant series of calls to e.g., MHD_epoll() at a very high rate, without anything actually happening. I have landed inside MHD_accept_connecti

Re: [libmicrohttpd] Unable to connect to libmicrohttpd in embedded system.

2018-01-21 Thread Marcel Rutten
HD for > ARM via integrated Android Studio's CMake, and used MHD in Java project > with JNI. I can search and send sources if they could be useful for you ... > > On Sun, Jan 21, 2018 at 7:48 AM, Marcel Rutten > wrote: > >> Hi, I'm new to this list, and I have be

[libmicrohttpd] Unable to connect to libmicrohttpd in embedded system.

2018-01-21 Thread Marcel Rutten
Hi, I'm new to this list, and I have been trying to get libmicrohttpd to work on a linux-based smart thermostat. To no avail, so far. I should say that I'm not an expert on web connections, but fairly fluent in C. The thermostat has a Freescale imx 27 processor, (ARM-926 EJS) and has an openembed