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

TSSLSocket + TNonblockingServer does not support larger message in python

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.11.0
    • Fix Version/s: None
    • Component/s: Python - Library
    • Labels:
    • Environment:

      python
      OpenSSL 1.0.2k-fips 26 Jan 2017

    • Patch Info:
      Patch Available
    • Flags:
      Patch

      Description

      I use Thrift API (TSSLSocket + TNonblockingServer) tested  with python3.6.

      But when I try to send a message larger than 17kb from client to server, the client gets the error response message: "TSocket read 0 bytes".

      The problem also exists in python2.7

        Attachments

        1. test_code.zip
          26 kB
          wenjieDeng

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wenjie wenjieDeng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified