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

2017-03-20 Thread Alex Reynolds
I am compiling a static binary ("my_project") that links in a static compilation of the libmicrohttpd.a library, along with a couple other libraries. On some platforms, this appears to work. On others, like a default image of Linux that is used in Travis CI (Ubuntu 12.04.5 LTS, gcc 4.6.3), I get

[libmicrohttpd] Reading data from named pipe

2017-03-27 Thread Alex Reynolds
I have an API that reads a subset of data from an archive and writes it to a FILE*. I can use this API to write this data subset to a temporary file via mkstemp() and fdopen(). I am currently using MHD_create_response_from_callback() to read chunks of bytes from this temporary file and write them

Re: [libmicrohttpd] libmicrohttpd Digest, Vol 95, Issue 19

2017-03-28 Thread Alex Reynolds
I need to compile a slightly older version of MHD, and manually adding -lrt at the end of my libraries string (i.e., LIB) in the build ended up fixing this, so I'd expect that to be the case with your patch as well (other changes notwithstanding). Thanks for the help! Regards, Alex > Date: Tue,

[libmicrohttpd] Processing single request with data from heap

2017-06-18 Thread Alex Reynolds
I have some request handler code that sends the contents of a regular file to the client. However, the issue is that my program must first write a regular file to the file system, and this is time consuming for very large files. My program (and the client) must wait for the entire file to be genera