parent
62411f5a6e
commit
d5550e946d
|
@ -109,9 +109,9 @@ void RateLimit::stopw() {
|
||||||
|
|
||||||
void RateLimit::handle_tls_pending_read() {
|
void RateLimit::handle_tls_pending_read() {
|
||||||
if (!conn_ || !conn_->tls.ssl ||
|
if (!conn_ || !conn_->tls.ssl ||
|
||||||
(conn_->tls.rbuf.rleft() == 0 && !conn_->tls.initial_handshake_done) ||
|
|
||||||
(SSL_pending(conn_->tls.ssl) == 0 && conn_->tls.rbuf.rleft() == 0 &&
|
(SSL_pending(conn_->tls.ssl) == 0 && conn_->tls.rbuf.rleft() == 0 &&
|
||||||
conn_->tls.earlybuf.rleft() == 0)) {
|
(!conn_->tls.initial_handshake_done ||
|
||||||
|
conn_->tls.earlybuf.rleft() == 0))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue