[ 
https://issues.apache.org/jira/browse/THRIFT-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957350#comment-15957350
 ] 

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

The code in the py implementation has changed significantly since this issue 
was created, and may no longer be relevant.  file.read is no longer used, so I 
would suggest this issue is not reproducible any longer.  Thoughts?  If so, the 
pull request can be closed.

> Python MemoryError in THttpClient when using an SSL endpoint
> ------------------------------------------------------------
>
>                 Key: THRIFT-3118
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3118
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Library
>    Affects Versions: 0.9
>            Reporter: Jean-Baptiste Quenot
>
> 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/THttpClient.py", 
> line 116, in read
>   return self.__http.file.read(sz)
> File "/usr/lib/python2.7/socket.py", line 380, in read
>   data = self._sock.recv(left)
> File "/usr/lib/python2.7/ssl.py", line 241, in recv
>   return self.read(buflen)
> File "/usr/lib/python2.7/ssl.py", line 160, in read
>   return self._sslobj.read(len)
> MemoryError
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to