View Issue Details

IDProjectCategoryView StatusLast Update
0001824libmicrohttpdotherpublic2012-01-19 22:19
Reporterpross Assigned ToChristian Grothoff  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
PlatformCygwin (1.7.9-1)OSWindows ServerOS Version2003
Product Version0.9.14 
Target Version0.9.16Fixed in Version0.9.16 
Summary0001824: r16440 (non-blocking sockets) casues connections to prematurely terminate on Cygwin
DescriptionThis affects version 0.9.14 and 0.9.15 and SVN header.

versions <= 0.9.13 are not affected.-
Steps To Reproduce1. Compile libmicrohttpd using Cygwin environment

 ./configure && make

2. Copy a large file (e.g. 650M .iso file) into the src/examples directory, and run the fileserver example

 cd src/examples
 ./fileserver_example.exe 8080

3. wget the file.

The HTTP GET response will commence, but be interrupted shortly after. Wget will then resume it, but will be interrupted again (this repeats many times).
Additional Information* Commenting out the 'socket_set_nonblocking (connection->socket_fd);' line in daemon.c fixes the problem.

* Problem appears to be specific to Cygwin. Cannot reproduce it on Linux (x86_64).
TagsNo tags attached.

Relationships

related to 0001967 closedChristian Grothoff mhds_get_test_select hangs in recvfrom 

Activities

Christian Grothoff

2011-10-12 10:43

manager   ~0004702

Fixed in SVN 17399.

Issue History

Date Modified Username Field Change
2011-10-11 12:43 pross New Issue
2011-10-12 09:25 Christian Grothoff Assigned To => Christian Grothoff
2011-10-12 09:25 Christian Grothoff Status new => assigned
2011-10-12 10:43 Christian Grothoff Note Added: 0004702
2011-10-12 10:43 Christian Grothoff Status assigned => resolved
2011-10-12 10:43 Christian Grothoff Fixed in Version => Git master
2011-10-12 10:43 Christian Grothoff Resolution open => fixed
2011-11-04 10:09 Christian Grothoff Target Version => 0.9.16
2011-11-04 10:11 Christian Grothoff Fixed in Version Git master => 0.9.16
2011-11-04 10:18 Christian Grothoff Status resolved => closed
2012-01-19 22:19 Christian Grothoff Relationship added related to 0001967