Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7315 use flink's buffers in netty
  3. FLINK-7515

allow actual 0-length content in NettyMessage#allocateBuffer()

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • Runtime / Network
    • None

    Description

      Previously, length 0 meant "unknown content length" but there are cases where the actual length is 0 and we do not need a larger buffer. Let's use -1 for tagging the special case instead.

      Attachments

        Issue Links

          Activity

            People

              nkruber Nico Kruber
              nkruber Nico Kruber
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: