http2: use nghttp2_session_upgrade2 than nghttp2_session_upgrade#7041
http2: use nghttp2_session_upgrade2 than nghttp2_session_upgrade#7041starrify wants to merge 1 commit intocurl:masterfrom
Conversation
Following the upstream deprecation of nghttp2_session_upgrade. Also provides further checks for requests with the HEAD method.
|
|
|
Thanks a lot @bagder for the insight and the immediate response! Also my apologies for not having checked that early enough. It's confirmed that Being initially introduced in No check for |
|
We already have a check for a function that was added in 1.12.0 ( |
|
Thanks! |
I happen to notice from the upstream that
nghttp2_session_upgrademay be considered deprecated:https://github.com/nghttp2/nghttp2/blob/20079b4c2f688385ba9ecf723f958d0448894879/lib/includes/nghttp2/nghttp2.h#L3660-L3663
When searching for
nghttp2_session_upgradeon GitHub, the only result returned is #521. Also there is no result when searching in the revision history. This may rule out the possibility thatnghttp2_session_upgrade2was once adapted but reverted due to some unexpected failure.