[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. |