]> granicus.if.org Git - curl/commit
pretransfer: init state.infilesize here, not in add_handle
authorDaniel Stenberg <daniel@haxx.se>
Wed, 24 Jun 2015 00:48:37 +0000 (17:48 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 24 Jun 2015 00:48:37 +0000 (17:48 -0700)
commit903b6e05565bf826b4194447864288642214b094
tree4ecd4e3e052c83f66565750e8e8d2ad08d36ccd0
parentf44b803f1605edcfc4058b1a818c44552f0affec
pretransfer: init state.infilesize here, not in add_handle

... to properly support that options are set to the handle after it is
added to the multi handle.

Bug: http://curl.haxx.se/mail/lib-2015-06/0122.html
Reported-by: Stefan Bühler
lib/multi.c
lib/transfer.c