avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-423) HTTPTransceiver does not reuse connections
Date Fri, 19 Feb 2010 23:34:27 GMT

    [ https://issues.apache.org/jira/browse/AVRO-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836034#action_12836034
] 

Eric Evans commented on AVRO-423:
---------------------------------

test/sample_http_client.py and test/sample_http_server.py can be used to demonstrate multiple
request/response cycles python-to-python, will that work? 

This new patchset moves things around a bit so that the HTTPResponse.read() occurs in the
transceiver instead of FramedReader (which can interchangeably uses blocking sockets :o ).
It works with the sample scripts in test/, and with the Cassandra functional tests linked
above.



> HTTPTransceiver does not reuse connections
> ------------------------------------------
>
>                 Key: AVRO-423
>                 URL: https://issues.apache.org/jira/browse/AVRO-423
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 1.3.0
>            Reporter: Eric Evans
>         Attachments: v2-0001-AVRO-423.-reuse-existing-http-connections.txt, v2-0002-AVRO-423.-generate-connection-instances-in-transceiver.txt
>
>
> The Python libs HTTPTransceiver creates a new connection for each request. Patch to follow.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message