[QFJ-456] NetworkingOptions should be applied before the socket is connected Created: 08/Jul/09  Updated: 24/Apr/21  Resolved: 31/Aug/20

Status: Closed
Project: QuickFIX/J
Component/s: Networking
Affects Version/s: 1.2.1, 1.3.1, 1.4.0
Fix Version/s: 2.3.0

Type: Bug Priority: Default
Reporter: Rhys Yarranton Assignee: Marcin L
Resolution: Fixed Votes: 0
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.


Generated at Sun May 12 15:53:48 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.