Skip to content

Conversation

artygus
Copy link
Contributor

@artygus artygus commented Apr 9, 2024

Set 2 flags for ssl connection:

  • SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER needed to properly support sm_resend, since buffer gets copied to new location for retries
  • SSL_MODE_ENABLE_PARTIAL_WRITE writes message in ~16kb chunks, which is more in line with current non-blocking architecture (basically imitates the behaviour of write())

Fixes #344

@artygus artygus merged commit 1c9e16f into master Apr 9, 2024
@artygus artygus deleted the ag/fix-ssl-socket-resend branch April 9, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS13 ios-webkit-debug-proxy will disconnected Once the Json is over 200k

1 participant