]> granicus.if.org Git - curl/commit
multi_socket: set timeout for 100-continue
authorDaniel Stenberg <daniel@haxx.se>
Fri, 6 Aug 2010 08:57:44 +0000 (10:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 6 Aug 2010 09:00:17 +0000 (11:00 +0200)
commitf91d5786740ea1f84deede06466d34d23cb0677f
tree2c7f3c799c4a08ae87f3091f14c61125ae8170f9
parent9df82573016eb964a81c656f22263ff9f960974e
multi_socket: set timeout for 100-continue

When libcurl internally decided to wait for a 100-continue header, there
was no call to the timeout function so there was no timeout callback
called when the multi_socket API was used and thus applications became
either completely wrong or at least ineffecient depending on how they
handled the situation. We now set a timeout to get triggered.

Reported by: Ben Darnell
Bug: http://curl.haxx.se/bug/view.cgi?id=3039744
lib/transfer.c