commit | 1689e7e688b3b0ae492932b07f2626f8a4e1e664 | [log] [tgz] |
---|---|---|
author | Matt Caswell <matt@openssl.org> | Thu May 12 17:18:32 2016 +0100 |
committer | Matt Caswell <matt@openssl.org> | Fri May 20 14:39:07 2016 +0100 |
tree | 6d9d13c594205049d78c417bff24b2d2a7be0eea | |
parent | 1257adecd4afba978806b77bd5d45f32715d97d3 [diff] |
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: Andy Polyakov <appro@openssl.org>