Commit 1689e7e6 authored by Matt Caswell's avatar Matt Caswell
Browse files

Ensure async IO works with new state machine



In the new state machine if using nbio and we get the header of a
handshake message is one record with the body in the next, with an nbio
event in the middle, then the connection was failing. This is because
s->init_num was getting reset. We should only reset it after we have
read the whole message.

RT#4394

Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
parent 1257adec
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment