Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F40119ED7 for ; Mon, 13 Feb 2012 01:53:22 +0000 (UTC) Received: (qmail 41104 invoked by uid 500); 13 Feb 2012 01:53:22 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 41059 invoked by uid 500); 13 Feb 2012 01:53:22 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 41046 invoked by uid 99); 13 Feb 2012 01:53:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 01:53:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 01:53:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 814271B30FC for ; Mon, 13 Feb 2012 01:52:59 +0000 (UTC) Date: Mon, 13 Feb 2012 01:52:59 +0000 (UTC) From: "Bo Shi (Updated) (JIRA)" To: dev@avro.apache.org Message-ID: <1026509433.30461.1329097979530.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2127284593.30456.1329097860755.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AVRO-1028) IPC transceiver doesn't gracefully handle server connection resets. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bo Shi updated AVRO-1028: ------------------------- Attachment: AVRO-1028.patch Currently using multiprocessing.Process to start a test server. I sleep 1 second to wait for the server to start allowing connections - anyone have a more robust solution offhand? > IPC transceiver doesn't gracefully handle server connection resets. > ------------------------------------------------------------------- > > Key: AVRO-1028 > URL: https://issues.apache.org/jira/browse/AVRO-1028 > Project: Avro > Issue Type: Improvement > Components: python > Reporter: Bo Shi > Assignee: Bo Shi > Fix For: 1.6.2 > > Attachments: AVRO-1028.patch > > > The current Python HTTPTransceiver class forces users to handle connection resets. > I've refactored the class using urllib3 and incorporated some features we get for free from said library into the transceiver. Added a test case for test_ipc.py that uses the twisted server implementation. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira