]> granicus.if.org Git - curl/commit
process_pending_handles: mark queued transfers as previously pending
authorDaniel Stenberg <daniel@haxx.se>
Tue, 30 Apr 2019 09:12:12 +0000 (11:12 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 1 May 2019 20:51:23 +0000 (22:51 +0200)
commit5c8783d77f341d69e866bf0cd56836b4faea0a1f
treeb96d322e0a7ccdf7ac84a18b16550cb067887b04
parentc32248f17d6d79de19aff60061ec8c2adf82f177
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.
lib/multi.c
lib/urldata.h