Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/2425 The Netty logic needs some improvements: - The cookie is added to every single message/buffer that is transferred. That is too much - securing the integrity of the stream is responsibility of the encryption layer. The cookie should be added to requests messages that establish connections only. - Charset lookups and cookie to bytes encoding happens for every buffer, rather than once in an initialization step. - The String to byte conversion is not consistent. Sometimes it uses the default platform encoding, sometimes "UTF-8".
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---