jsip
  1. jsip
  2. JSIP-366

TCP client connection is not cached

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      With default setting, ie. cacheClientConnections=true the client TCP connection is constantly reopened and closed by JAIN-SIP.
      More details here http://java.net/projects/jsip/lists/users/archive/2011-03/message/25
      Please look for "Old socket different than new socket" and "IOException closing sock java.net.SocketException: Socket closed" in attached jain-sip-debug.log. Looks like logic problem in TCPMessageChannel.sendMessage() functions.
      Same problem in both SVN TRUNK and sipx-stable-420 branch r1881.
      The peer is MS OCS.

        Activity

        Hide
        deruelle_jean added a comment -

        This is linked to Issue 358. I committed a fix there, can you retry from revision 1883 ?

        Thanks
        Jean

        Show
        deruelle_jean added a comment - This is linked to Issue 358. I committed a fix there, can you retry from revision 1883 ? Thanks Jean
        Hide
        deruelle_jean added a comment -

        I backported the fix to stable branch in r1884

        Show
        deruelle_jean added a comment - I backported the fix to stable branch in r1884
        Hide
        arkadi added a comment -

        Works fine so far. Tested both stable and trunk.

        Show
        arkadi added a comment - Works fine so far. Tested both stable and trunk.
        Hide
        deruelle_jean added a comment -

        Ok Marking as resolved then.
        Feel free to reopen if you notice issues.

        Thanks for the extra testing on both stable and trunk

        Jean

        Show
        deruelle_jean added a comment - Ok Marking as resolved then. Feel free to reopen if you notice issues. Thanks for the extra testing on both stable and trunk Jean

          People

          • Assignee:
            Unassigned
            Reporter:
            arkadi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: