Fixed scheduling error (jumping back to failed engine, could lead to segfault).
This commit is contained in:
parent
4981173660
commit
8bb8d74d4a
1 changed files with 3 additions and 0 deletions
|
|
@ -1091,6 +1091,9 @@ jump_handshake(br_ssl_engine_context *cc, int action)
|
|||
cc->hlen_out = hlen_out;
|
||||
cc->action = action;
|
||||
cc->hsrun(&cc->cpu);
|
||||
if (br_ssl_engine_closed(cc)) {
|
||||
return;
|
||||
}
|
||||
if (cc->hbuf_out != cc->saved_hbuf_out) {
|
||||
sendpld_ack(cc, cc->hbuf_out - cc->saved_hbuf_out);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue