pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] ivankelly opened a new pull request #2464: Copy ByteBufPair buffers when using with SSL (#2401)
Date Tue, 28 Aug 2018 12:35:16 GMT
ivankelly opened a new pull request #2464: Copy ByteBufPair buffers when using with SSL (#2401)
URL: https://github.com/apache/incubator-pulsar/pull/2464
 
 
   The netty SSL handler uses a coalescing buffer queue, which modifies
   the buffers used to queue the writes so that SSL_write can be given
   larger chunks, thereby increasing the 'goodput'.
   
   If we pass in a retained duplicate as we have been doing until now,
   then later clients will be passed junk, as SSL will have modified cached
   entry buffers.
   
   This patch introduces a copying ByteBufPair encoder, which is only
   used with SSL connections.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message