Sorry - wrong testcase. The attached is the proper one.
Hello,
It seems that there is an other issue (is neither works with 0.9.48):
a) The connection creates a "callback" response
b) The connection is suspended after every byte - then resumed (by a thread)
c) The daemon get stalled after 33 requests
I have attached a small testcase.
Commandline:
g++ -o testmhd test.cpp -I/tmp/libmicrohttpd/src/include/ -L/tmp/libmicrohttpd/src/microhttpd/.libs/ -lmicrohttpd -pthread
LD_LIBRARY_PATH=/tmp/libmicrohttpd/src/microhttpd/.libs/ ./testmhd
while [ 1 == 1 ]; do wget --server-response -q -O - 127.0.0.1:8080; echo; done
Thanks a lot!
Markus