diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-05-09 12:47:49 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-05-10 12:55:36 +0200 |
commit | 31b39c40cf909d34f27dc655755f346482f57089 (patch) | |
tree | 4fcf5799aebdf1573b6789f1a19ef3ac8aa0e279 /lib/transfer.c | |
parent | e9fd794a616c10bd0d017a76f8fdccaf4cc76851 (diff) | |
download | curl-31b39c40cf909d34f27dc655755f346482f57089.tar.gz |
multi: use a fixed array of timers instead of malloc
... since the total amount is low this is faster, easier and reduces
memory overhead.
Also, Curl_expire_done() can now mark an expire timeout as done so that
it never times out.
Closes #1472
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index b7435f9ae..73497f79f 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -1139,6 +1139,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, /* we've waited long enough, continue anyway */ k->exp100 = EXP100_SEND_DATA; k->keepon |= KEEP_SEND; + Curl_expire_done(data, EXPIRE_100_TIMEOUT); infof(data, "Done waiting for 100-continue\n"); } } |