Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-456

NetworkingOptions should be applied before the socket is connected

    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.

        Attachments

          Activity

            People

            • Assignee:
              alphashock Marcin L
              Reporter:
              ryarran Rhys Yarranton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: