Skip to content

Conversation

@akshaymankar
Copy link
Contributor

No description provided.

akshaymankar added a commit to wireapp/wire-server that referenced this pull request Mar 21, 2023
`SSL.read ssl n` doesn't always return `n` bytes, so reading data multiple times is necessary. Upstream PR has been made to warn future users: haskell-cryptography/HsOpenSSL#81
akshaymankar added a commit to wireapp/wire-server that referenced this pull request Mar 21, 2023
* Revert "Revert "Use openssl instead of tls in federator http2 client (#3051)" (#3148)" This reverts commit 615404b. * Ensure that when http2 wants n bytes, we give it n bytes `SSL.read ssl n` doesn't always return `n` bytes, so reading data multiple times is necessary. Upstream PR has been made to warn future users: haskell-cryptography/HsOpenSSL#81 * Add changelog * Remove the IORef read buffer as openssl never returns extra bytes * Read from openssl in tail recursion
@vshabanov vshabanov merged commit 0bb2b3b into haskell-cryptography:master Apr 1, 2023
@akshaymankar akshaymankar deleted the ssl-read-note branch April 2, 2023 20:06
@vshabanov
Copy link
Collaborator

Thank you, now available in HsOpenSSL-0.11.7.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants