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

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

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Critical
    • 2.0.28.Final
    • 2.0.27.Final
    • Core

    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,

      Attachments

        Activity

          People

            flaviarnn Flavia Rainone
            qingt2020 qingtian lingxue (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 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