Sub-par write performance in JNLPv4 NIONetwork layer

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      The JNLP v2 protocol has a sub par write implementation if there is more than one buffers worth of data to be written to the network.
      The current implementation writes one buffers worth and then exits - waiting for another callback from the selector before writing another buffer.
      The code should write as much data as possible before returning back.

      see https://github.com/jenkinsci/remoting/blob/c3e675c9f1dc29a8fd99eca191c1ce1e5ebb2a7e/src/main/java/org/jenkinsci/remoting/protocol/impl/NIONetworkLayer.java#L191-L227

            Assignee:
            Unassigned
            Reporter:
            James Nord
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: