]> git.ipfire.org Git - thirdparty/curl.git/commit
http2: in connisdead check, attach the connection before reading
authorDaniel Stenberg <daniel@haxx.se>
Mon, 2 Jan 2023 09:10:29 +0000 (10:10 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 2 Jan 2023 12:16:24 +0000 (13:16 +0100)
commited18244df130f54290cd5729281f91fbeaf099cb
tree96a997a3559329c70622a6ba5a93a3d91edeb09e
parent4556665ad1a6e592eb37735e1ae153b0aa048591
http2: in connisdead check, attach the connection before reading

Otherwise data->conn is NULL and things go wrong.

This problem caused occastional failures in test 359, 1700 and more
depending on timing and the alignment of various planets.

Assisted-by: Stefan Eissing
Closes #10199
lib/http2.c