libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] daemon stalled


From: Markus Doppelbauer
Subject: [libmicrohttpd] daemon stalled
Date: Thu, 14 Apr 2016 13:55:17 +0200

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

Attachment: test.cpp
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]