GitHub user rajinisivaram opened a pull request:
https://github.com/apache/kafka/pull/493
KAFKA-2801: Process any remaining data in SSL network read buffer after
handshake
Process any remaining data in the network read buffer in
`SslTransportLayer` when `read()` is invoked. On handshake completion, there
could be application data ready to be processed that was read into
`netReadBuffer` during handshake processing. `read()` is already invoked from
`Selector` after handshake completion, but data already read into the
`netReadBuffer` was not being processed. This PR adds a check for remaining
data and continues with processing data if data is available.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rajinisivaram/kafka KAFKA-2801
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/493.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #493
----
commit 081cdc953c04e0fa12c7c8633c9f2d5e1db8638f
Author: Rajini Sivaram <[email protected]>
Date: 2015-11-10T23:19:37Z
KAFKA-2801: Process any remaining data in network read buffer during SSL
read
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---