View Issue Details

IDProjectCategoryView StatusLast Update
0001824libmicrohttpdotherpublic2012-01-19 21:19
Reporterpross Assigned ToChristian Grothoff Due Date
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 08:43

manager   ~0004702

Fixed in SVN 17399.

Issue History

Date ModifiedUsernameFieldChange
2011-10-11 10:43prossNew Issue
2011-10-12 07:25Christian GrothoffAssigned To => Christian Grothoff
2011-10-12 07:25Christian GrothoffStatusnew => assigned
2011-10-12 08:43Christian GrothoffNote Added: 0004702
2011-10-12 08:43Christian GrothoffStatusassigned => resolved
2011-10-12 08:43Christian GrothoffFixed in Version => Git master
2011-10-12 08:43Christian GrothoffResolutionopen => fixed
2011-11-04 09:09Christian GrothoffTarget Version => 0.9.16
2011-11-04 09:11Christian GrothoffFixed in VersionGit master => 0.9.16
2011-11-04 09:18Christian GrothoffStatusresolved => closed
2012-01-19 21:19Christian GrothoffRelationship addedrelated to 0001967