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

Fix for TLS v1.3 in non-blocking loosing return code from SendBuffered #7001

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

dgarske
Copy link
Contributor

@dgarske dgarske commented Nov 24, 2023

Description

Fix for TLS v1.3 in non-blocking loosing return code from SendBuffered.
Example: SendBuffered returns WANT_WRITE (-327) and sets ssl->error, then below (11994) it was doing ssl->error = ret where ret = 0 and loosing the WANT_WRITE.

Testing

Noticed with new non-blocking MQTT TLS tests in wolfSSL/wolfMQTT#373
This PR needs merged before MQTT PR will pass.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

…ed`. Example: SendBuffered returns WANT_WRITE (-327) and sets ssl->error, then below it was doing `ssl->error = ret` where ret = 0.
@dgarske dgarske self-assigned this Nov 24, 2023
@dgarske dgarske changed the title Fix for TLS v1.3 in non-blocking loosing return code from `SendBuffer… Fix for TLS v1.3 in non-blocking loosing return code from SendBuffered Nov 24, 2023
@dgarske dgarske assigned JacobBarthelmeh and unassigned dgarske Nov 24, 2023
@JacobBarthelmeh JacobBarthelmeh merged commit 008d495 into wolfSSL:master Nov 24, 2023
108 checks passed
@dgarske dgarske deleted the testnb branch December 19, 2023 01:26
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.

None yet

2 participants