mirror of
https://github.com/openssl/openssl.git
synced 2024-12-20 07:23:54 +08:00
Fix pipelining bug
The number of read pipelines should be reset in the event of reuse of an SSL object. Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
parent
f44310e9ce
commit
0aac3a6b19
@ -63,6 +63,7 @@ void RECORD_LAYER_clear(RECORD_LAYER *rl)
|
||||
for(pipes = 0; pipes < rl->numwpipes; pipes++)
|
||||
SSL3_BUFFER_clear(&rl->wbuf[pipes]);
|
||||
rl->numwpipes = 0;
|
||||
rl->numrpipes = 0;
|
||||
SSL3_RECORD_clear(rl->rrec, SSL_MAX_PIPELINES);
|
||||
|
||||
RECORD_LAYER_reset_read_sequence(rl);
|
||||
|
Loading…
Reference in New Issue
Block a user