waxmiguelito / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

patch:graceful close + correct keep alive: should fix 99% of the connection and hanging response issues #360

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Extracted from the github repo at 
https://github.com/GerHobbelt/mongoose/tree/fix-graceful-close-issue (which is 
an extract of relevant work in master branch)

Code is based on work by bel2125 and others; links to relevant articles on the 
net are included in the source code.

A hg clone will be provided, which includes the '100 images test' and 
testclient code from bel2125 -- latter has been fixed and augmented to support 
large transfers without locking up, correctly behave at least client-side and 
run either a single or the entire series of tests against the (mongoose) server.

Original issue reported on code.google.com by ger.hobbelt on 6 Jun 2012 at 12:41

Attachments:

GoogleCodeExporter commented 9 years ago
http://code.google.com/r/gerhobbelt-mongoose-issue-360/

Original comment by ger.hobbelt on 6 Jun 2012 at 12:52

GoogleCodeExporter commented 9 years ago
Your clone at google code (from comment 1) does not contain you latest fixes 
yet?
It seems to contain only an older version of should_keep_alive, some extra 
index file and one static declaration - or am I doing something wrong with 
mercurial?

Original comment by bel2...@gmail.com on 9 Jun 2012 at 6:39

GoogleCodeExporter commented 9 years ago
There were a few discrepancies indeed. The latest revision as per posting of 
this message has been verified to work with all major browsers for the 100 
images test at least. (I was in a bit of a hurry, so no rigorous testclient and 
Qt Web browser test done yet.)

Side note: I included all the IPv6 support code in my clone as it's rather 
intertwined with the connectivity/transfer code -- vanilla mongoose doesn't 
have full IPv6 support yet, so that's an extra. Test with, f.e.:
  http://[::1]:8080/

Original comment by ger.hobbelt on 10 Jun 2012 at 4:51

GoogleCodeExporter commented 9 years ago
This is now obsoleted by the work done for issue 349 and available at

http://code.google.com/r/gerhobbelt-issue349/

and

https://github.com/GerHobbelt/mongoose

Original comment by ger.hobbelt on 28 Jun 2012 at 5:24

GoogleCodeExporter commented 9 years ago
Grmbl. >:-(  Can't bloody CLOSE my own issue because google code has this 
single 'owner' thing.

Original comment by ger.hobbelt on 28 Jun 2012 at 5:31

GoogleCodeExporter commented 9 years ago
Closing, thanks

Original comment by valenok on 23 Sep 2012 at 1:16