[ssl] Use ring buffer in ssl transport layer#14060
[ssl] Use ring buffer in ssl transport layer#14060jiangtaoli2016 merged 1 commit intogrpc:masterfrom
Conversation
|
Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement. After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.
Regards, |
|
Performed cla signup process (hint for bot) |
|
@jboeuf @justinburke can you have a look please? |
|
I like the idea. I will let @jiangtaoli2016 do the review. |
df02eec to
be4f7c6
Compare
jiangtaoli2016
left a comment
There was a problem hiding this comment.
Looks good overall. Minor comments.
There was a problem hiding this comment.
Please use "BIO* network_io;" to be consistent with the existing coding style.
There was a problem hiding this comment.
Please also update comment that transfer ownership of ssl and network_io to frame protector.
be4f7c6 to
1722640
Compare
|
@jiangtaoli2016 thanks, I've addressed comments |
|
@euroelessar Thanks for revision. Looks good to me. Let's wait for test result. |
|
|
|

BIO_pair is implemented on top ring buffer which is more efficient compared to current BIO_mem approach.
See #14058