Details
-
Type: Bug
-
Status: Closed
-
Priority: Default
-
Resolution: Fixed
-
Affects Version/s: 1.2.1, 1.3.1, 1.4.0
-
Fix Version/s: 2.3.0
-
Component/s: Networking
-
Labels:None
Description
NetworkingOptions are applied in AbstractIoHandler.sessioncCeated, which is called after the socket has been connected.
Although most socket options can be changed after the socket is connected, window scaling is negotiated during the initial handshake. Therefore the receive buffer size cannot be changed to more than 64k after the socket is connected.
Aside: Mina actually handles the receive buffer size as a special case in its own logic in order to work around this.