]> granicus.if.org Git - curl/commit
multi: avoid sending multiple complete messages
authorDaniel Stenberg <daniel@haxx.se>
Wed, 18 Aug 2010 17:59:46 +0000 (19:59 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 18 Aug 2010 17:59:46 +0000 (19:59 +0200)
commit280d2cff2eed563cb19b46056fcb17e06dc4e158
tree78965eca3e13e3c4c96162d7c86df21206442c9b
parentac20f52ed3f17cdbb48f9c6e0c83f2cdde3e319b
multi: avoid sending multiple complete messages

I fell over this bug report that mentioned that libcurl could wrongly
send more than one complete messages at the end of a transfer. Reading
the code confirmed this, so I've added a new multi state to make it not
happen. The mentioned bug report was made by Brad Jorsch but is (oddly
enough) filed in Debian's bug tracker for the "wmweather+" tool.

Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593390
lib/multi.c