Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openssl and HTTP/2 handshake improvements: #10432

Closed
wants to merge 3 commits into from

Conversation

icing
Copy link
Contributor

@icing icing commented Feb 7, 2023

  • move Curl_ssl_setup_x509_store() call after the first send (ClientHello) this gives time to parse CA anchors while waiting on the server reply
  • add a small buffer to nghttp2 session sending in order to aggregate small SETTINGS/PRIO/WIN_UPDATE frames that nghttp2 "writes" to the callback individually.

Refs #10389

- move Curl_ssl_setup_x509_store() call after the first send (ClientHello)
  this gives time to parse CA anchors while waiting on the server reply
- add a small buffer to nghttp2 session sending in order to aggregate
  small SETTINGS/PRIO/WIN_UPDATE frames that nghttp2 "writes" to the
  callback individually.
@icing icing mentioned this pull request Feb 7, 2023
@calvin2021y
Copy link

Is wolfSSL need this kind patch ?

@bagder
Copy link
Member

bagder commented Feb 8, 2023

@calvin2021y the wolfSSL backend does not support CA caching so this exact change seems unlikely there, but there are probably other performance enhancing changes that can be done there. Oh, and CA caching would benefit wolfSSL users as well.

@bagder
Copy link
Member

bagder commented Feb 8, 2023

Thanks!

@bagder bagder closed this in e8b00fc Feb 8, 2023
bagder pushed a commit that referenced this pull request Feb 8, 2023
add a small buffer to nghttp2 session sending in order to aggregate
small SETTINGS/PRIO/WIN_UPDATE frames that nghttp2 "writes" to the
callback individually.

Ref: #10389
Closes #10432
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
move Curl_ssl_setup_x509_store() call after the first send (ClientHello)
this gives time to parse CA anchors while waiting on the server reply

Ref: curl#10389
Closes curl#10432
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
add a small buffer to nghttp2 session sending in order to aggregate
small SETTINGS/PRIO/WIN_UPDATE frames that nghttp2 "writes" to the
callback individually.

Ref: curl#10389
Closes curl#10432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants