Yukang-Lian opened a new pull request, #67226: URL: https://github.com/apache/doris/pull/67226
### What problem does this PR solve? Issue Number: N/A Related PR: apache/doris#64962 Doris branch-3.1 still uses BRPC 1.4.0 with an additional buffered BIO layer after the TLS handshake. Under socket backpressure, `SSL_write()` can consume plaintext while the later BIO flush returns EAGAIN; BRPC 1.4.0 does not propagate that condition to its existing WANT_WRITE retry path, so large TLS responses can be truncated or time out. This is the branch-3.1 backport of the patch already merged on master. It disables the extra SSL BIO buffer so WANT_WRITE is handled by the existing socket retry mechanism. ### Release note Fix possible BRPC TLS response timeouts under socket backpressure. ### Check List (For Author) - Test: Applied the complete branch-3.1 BRPC patch stack to the BRPC 1.4.0 source tree. - Test: Built both `brpc-static` and `brpc-shared` successfully. - Behavior changed: Yes. TLS connections no longer use BRPC's extra buffered BIO layer. - Does this need documentation: No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
