You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/06 02:54:00 UTC

[jira] [Commented] (THRIFT-3118) Python MemoryError in THttpClient when using an SSL endpoint

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

ASF GitHub Bot commented on THRIFT-3118:
----------------------------------------

jeking3 opened a new pull request #1533: THRIFT-3118: add http and https cross test support for python
URL: https://github.com/apache/thrift/pull/1533
 
 
   Also disable haskell on windows as it is breaking CI builds (THRIFT-4545 remediation).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            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/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
(v7.6.3#76005)