]> git.ipfire.org Git - thirdparty/curl.git/commit
http2: move the stream error field to the per-transfer storage
authorDaniel Stenberg <daniel@haxx.se>
Mon, 19 Apr 2021 11:15:05 +0000 (13:15 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Apr 2021 06:20:24 +0000 (08:20 +0200)
commit605e8423554e6c53c7755805f18354973b563b16
tree76108c07cc201a3941f045a56b155cd0dd0832b4
parent252790c5335a221179dfbacb40e065750bbe7544
http2: move the stream error field to the per-transfer storage

Storing a stream error in the per-connection struct was an error that lead to
race conditions as subsequent stream handling could overwrite the error code
before it was used for the stream with the actual problem.

Closes #6910
lib/http.h
lib/http2.c
lib/http2.h
lib/multi.c