Skip to content

Handle error when wolfSSL_write() returns 0#17

Merged
cconlon merged 1 commit intowolfSSL:masterfrom
tmael:write_check_ret0
Nov 6, 2020
Merged

Handle error when wolfSSL_write() returns 0#17
cconlon merged 1 commit intowolfSSL:masterfrom
tmael:write_check_ret0

Conversation

@tmael
Copy link
Copy Markdown
Contributor

@tmael tmael commented Oct 29, 2020

When a peer unexpectedly closes or resets the connection before receiving all data, write() returns 0 and it should be handled as an error case.

@tmael tmael self-assigned this Nov 2, 2020
@tmael tmael requested a review from cconlon November 6, 2020 01:17
@tmael tmael assigned cconlon and unassigned tmael Nov 6, 2020
@cconlon cconlon merged commit 7d20932 into wolfSSL:master Nov 6, 2020
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.

2 participants