[Top][All Lists]

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

Re: [libmicrohttpd] daemon stalled

From: Markus Doppelbauer
Subject: Re: [libmicrohttpd] daemon stalled
Date: Thu, 14 Apr 2016 13:59:47 +0200

Sorry - wrong testcase. The attached is the proper one.

Am Donnerstag, den 14.04.2016, 13:55 +0200 schrieb Markus Doppelbauer:

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.

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 -; echo; done

Thanks a lot!

Attachment: test.cpp
Description: Text Data

reply via email to

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