RFR JDK-8008972

Alan Bateman Alan.Bateman at oracle.com
Fri May 31 12:05:16 PDT 2013


On 31/05/2013 19:54, John Zavgren wrote:
> Alan:
>
> There are two parameters involved here that have similar names: 
> MAX_PACKET_LEN and MAX_BUFFER_LEN.
>
> If the code receives a "jumbo" packet (larger than MAX_PACKET_LEN) 
> then the length is truncated to MAX_PACKET_LEN before the next step. 
> In that "if block" we look to see if the (possibly) truncated packet 
> exceeds the size of the packet buffer, if so, then the code allocates 
> a whole new larger buffer.
>
> Does this sound OK?
>
> John
MAX_PACKET_LEN and MAX_BUFFER_LEN looked the same, sorry for the noise, 
the change is fine.

-Alan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20130531/1fd8cd3d/attachment.html 


More information about the net-dev mailing list