[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
test.cpp
Description: Text Data
- [libmicrohttpd] daemon stalled,
Markus Doppelbauer <=
- Re: [libmicrohttpd] daemon stalled, Markus Doppelbauer, 2016/04/14
- Re: [libmicrohttpd] daemon stalled, Evgeny Grin, 2016/04/14
- Re: [libmicrohttpd] daemon stalled, Markus Doppelbauer, 2016/04/14
- Re: [libmicrohttpd] daemon stalled, Evgeny Grin, 2016/04/18
- Re: [libmicrohttpd] daemon stalled, Markus Doppelbauer, 2016/04/18
- Re: [libmicrohttpd] daemon stalled, Evgeny Grin, 2016/04/18
- Re: [libmicrohttpd] daemon stalled, Markus Doppelbauer, 2016/04/19