[
https://issues.apache.org/jira/browse/THRIFT-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14516777#comment-14516777
]
ASF GitHub Bot commented on THRIFT-3118:
----------------------------------------
GitHub user jbq opened a pull request:
https://github.com/apache/thrift/pull/467
Work around [THRIFT-3118] MemoryError when using an SSL endpoint
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jbq/thrift THRIFT-3118
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/467.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #467
----
commit 942cb2f88786f6b53bf55ccb42fcf1cb0c410b8b
Author: Jean-Baptiste Quenot <[email protected]>
Date: 2014-10-06T08:36:39Z
Work around MemoryError when using an SSL endpoint
----
> 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.4#6332)