Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1631

send binary data slowly (both on basic remote and async remote sometimes)

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.0.27.Final
    • Fix Version/s: 2.0.28.Final
    • Component/s: Core
    • Labels:

      Description

      "DataTransferProtocol.DataNode.Builder message
      = DataTransferProtocol.DataNode.newBuilder();
      message.setAppendStatus(appendStatus);
      message.setData(ByteString.copyFrom(data));
      long begin = System.currentTimeMillis();
      session.getBasicRemote().sendBinary(
      ByteBuffer.wrap(message.build().toByteArray()));
      long cost = System.currentTimeMillis() - begin;"

      I need to send audio data in binary form, which occasionally sends blocking problems.The server is unable to receive the data for a long time, causing a session timeout and closing the session.The problem is low frequency, 5-8 hours of uninterrupted send data may only occur once.Hope help trying to solve,

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                flavia.rainone Flavia Rainone
                Reporter:
                qingt2020 qingtian lingxue
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day, 4 hours
                  1d 4h
                  Remaining:
                  Remaining Estimate - 1 day, 4 hours
                  1d 4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified