]> granicus.if.org Git - curl/commit
connection_check: set ->data to the transfer doing the check
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Feb 2019 06:56:00 +0000 (07:56 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Feb 2019 09:34:34 +0000 (10:34 +0100)
commit38d8e1bd4ed1ae52930ae466ecbac78e888b142f
tree326527f4d3a92c89c6fbc4c561bf95823d695b4b
parent81a9fe4e92e263621c2117fdeb1603fe576006ad
connection_check: set ->data to the transfer doing the check

The http2 code for connection checking needs a transfer to use. Make
sure a working one is set before handler->connection_check() is called.

Reported-by: jnbr on github
Fixes #3541
Closes #3547
lib/url.c