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

Rust framed transport cannot handle writes above 4096 bytes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.12.0
    • Rust - Library
    • None

    Description

      Related to THRIFT-4390

      Description copied form there:

      While working on improving test coverage and fixing busted cross tests I reworked the cpp test client to send binary in at size 0, 1, 2, 4, 6, 16, ..., 131072 and after 4096 the rust server gave up.

      12, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128])
      WARN:thrift::server::threaded: processor completed with error: TransportError { kind: Unknown, message: "failed to write whole buffer" }
      
      Server process is successfully killed.
      

      Attachments

        Issue Links

          Activity

            People

              allengeorge Allen George
              allengeorge Allen George
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: