Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4898

Pipe write operations across a network are limited to 65,535 bytes per write.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • netstd - Library
    • None
    • Patch Available

    Description

      Pipe write operations across a network are limited to 65,535 bytes per write. For more information regarding pipes, see the Remarks section.

      Source: WriteFileEx function

      I managed to run into exactly that limit today. Patch follows.

      Symptom is that

      • the writing end acts as if it had written all the bytes (in fact, it did)
      • but the remainder of ~ 65535 bytes is just lost somewhere and never reaches the reading end

      Consequently, the process at the reading end of the pipe gets stuck while waiting for the remaining bytes.

      Attachments

        Issue Links

          Activity

            People

              jensg Jens Geyer
              jensg Jens Geyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m