Hi Denis, Problem was fixed in git master. Could you recheck on your side?
-- Best Wishes, Evgeny Grin On 05.09.2017 23:22, Evgeny Grin wrote: > Hi Denis, > > Reproduced on CentOS 7 with current git master. > Will look into it. > > -- Best Wishes, Evgeny Grin On 05.09.2017 4:54, Denis Dowling wrote: >> Hi Evgeny, >> >> It is actually the GET that is causing the problem. >> >> I have been able to duplicate as follows: >> - Testing on CentOS7.3.1611. Everything up to date according to yum. >> - Start with a clean unpack of libmicrohttpd-0.9.55 >> - Edit the https_fileserver_example.c file and change the >> MHD_USE_THREAD_PER_CONNECTION option to MHD_USE_EPOLL. Leave the other >> options as they are. >> - make https_fileserver_example >> - In the same directory create 2 files of different sizes (1kB and 100kB) >> dd if=/dev/urandom of=small.dat bs=1024 count=1 >> dd if=/dev/urandom of=big.dat bs=1024 count=100 >> - Start https_fileserver_example >> ./https_fileserver_example 8888 >> - In another window use wget to grab both files >> wget --no-check-certificate https://localhost:8888/small.dat >> wget --no-check-certificate https://localhost:8888/big.dat >> >> In my case the big.dat download freezes at 16384 bytes downloaded. If I >> change from MHD_USE_EPOLL to MHD_USE_POLL it works fine. If I use >> MHD_USE_AUTO it hangs as the system detects epoll() and uses it. >> >> Regards, >> Denis >>
signature.asc
Description: OpenPGP digital signature