diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-04-30 11:12:12 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-05-01 22:51:23 +0200 |
commit | 5c8783d77f341d69e866bf0cd56836b4faea0a1f (patch) | |
tree | b96d322e0a7ccdf7ac84a18b16550cb067887b04 /lib/urldata.h | |
parent | c32248f17d6d79de19aff60061ec8c2adf82f177 (diff) | |
download | curl-5c8783d77f341d69e866bf0cd56836b4faea0a1f.tar.gz |
process_pending_handles: mark queued transfers as previously pending
With transfers being queued up, we only move one at a a time back to the
CONNECT state but now we mark moved transfers so that when a moved
transfer is confirmed "successful" (it connected) it will trigger the
move of another pending transfer. Previously, it would otherwise wait
until the transfer was done before doing this. This makes queued up
pending transfers get processed (much) faster.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 4b09f24fd..344cc472e 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1363,6 +1363,7 @@ struct UrlState { when multi_done() is called, to prevent multi_done() to get invoked twice when the multi interface is used. */ bit stream_depends_e:1; /* set or don't set the Exclusive bit */ + bit previouslypending:1; /* this transfer WAS in the multi->pending queue */ }; |