thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King, III (JIRA)" <>
Subject [jira] [Commented] (THRIFT-3118) Python MemoryError in THttpClient when using an SSL endpoint
Date Fri, 23 Mar 2018 19:59:00 GMT


James E. King, III commented on THRIFT-3118:

Was going to close this out but I see that we don't test "http" transport in the cross test,
so I am going to add it.  As for the actual fix here, I think more information is needed
such as what was the "sz" in question; what exact version of Python was in use?  I see it
was a 2.7.x.  I would have expected Python to return a smaller data buffer if there isn't
enough memory available for the whole buffer...

> Python MemoryError in THttpClient when using an SSL endpoint
> ------------------------------------------------------------
>                 Key: THRIFT-3118
>                 URL:
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Library
>    Affects Versions: 0.9
>            Reporter: Jean-Baptiste Quenot
>            Assignee: James E. King, III
>            Priority: Major
> When using the Python Thrift HTTP client, a MemoryError is raised by the underlying socket
when using SSL:
> {noformat}
> File "/path/to/local/lib/python2.7/site-packages/thrift/transport/", line
116, in read
>   return
> File "/usr/lib/python2.7/", line 380, in read
>   data = self._sock.recv(left)
> File "/usr/lib/python2.7/", line 241, in recv
>   return
> File "/usr/lib/python2.7/", line 160, in read
>   return
> MemoryError
> {noformat}

This message was sent by Atlassian JIRA

View raw message