nghttpx: Handle corner case where session is going down just after ACK recved
This commit is contained in:
parent
a224aba577
commit
0b9ee38db6
|
@ -533,6 +533,11 @@ int LiveCheck::on_read(const uint8_t *data, size_t len) {
|
||||||
LOG(INFO) << "No more read/write for this session";
|
LOG(INFO) << "No more read/write for this session";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If we have SETTINGS ACK already, we treat this success.
|
||||||
|
if (settings_ack_received_) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue