Repository navigation
为 compat.curl 添加可选 HTTP/2 支持 - #970
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
为
compat.curl8.21.0 添加可选的http2特性。启用后,libcurl 编译 HTTP/2 支持,并通过compat.nghttp21.71.0 处理 HTTP/2 帧和 HPACK。默认构建沿用现有依赖。Windows 上同步将 nghttp2 旧回调声明中的ssize_t设为指针宽度的SSIZE_T,与 curl 的回调签名一致。验证
CURL_VERSION_HTTP2,并设置CURL_HTTP_VERSION_2TLS。合并影响
变更只涉及显式启用
http2的消费工程。可以从依赖声明移除此特性来恢复默认构建。