Remove flush in available() to prevent timeouts
This commit is contained in:
parent
efdfbe8cbb
commit
9854b229f7
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ int SSLClient::available() {
|
|||
}
|
||||
else if (state == BR_SSL_CLOSED) m_info("Engine closed after update", func_name);
|
||||
// flush the buffer if it's stuck in the SENDAPP state
|
||||
else if (state & BR_SSL_SENDAPP) br_ssl_engine_flush(&m_sslctx.eng, 0);
|
||||
// else if (state & BR_SSL_SENDAPP) br_ssl_engine_flush(&m_sslctx.eng, 0);
|
||||
// other state, or client is closed
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue