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

Http2DataStreamSinkChannel.generateSendFrameHeader can be invoked twice

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • None

      AbstractFramedChannel.flushSenders invokes framePriority.frameAdded if helFrames is not empty, after having invoked framePriority.insertFrame.
      For Http2FramePriority, this implies in calling generateSendFrame twice: here and here.
      We can avoid the extra work and make sure we reuse the same header if the method is invoked twice, unless the frame has been deliberately cleared between the two calls.

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: