Skip to content

didn't support TFramedTransport #54

Description

@Sherler

the connection_pool will throw exception below if the server side use TFramedTransport

  File "thriftpy2/protocol/cybin/cybin.pyx", line 60, in cybin.read_i32
  File "thriftpy2/transport/buffered/cybuffered.pyx", line 65, in thriftpy2.transport.buffered.cybuffered.TCyBufferedTransport.c_read
  File "thriftpy2/transport/buffered/cybuffered.pyx", line 69, in thriftpy2.transport.buffered.cybuffered.TCyBufferedTransport.read_trans
  File "thriftpy2/transport/cybase.pyx", line 61, in thriftpy2.transport.cybase.TCyBuffer.read_trans
  File "/root/miniconda2/envs/segmentor/lib/python2.7/site-packages/thriftpy2/transport/socket.py", line 132, in read
    message='TSocket read 0 bytes')

and I couldn't find any thing about TFramedTransport in the code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions