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 65D8ADC80 for ; Tue, 11 Sep 2012 09:55:09 +0000 (UTC) Received: (qmail 22849 invoked by uid 500); 11 Sep 2012 09:55:08 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 22708 invoked by uid 500); 11 Sep 2012 09:55:08 -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 22669 invoked by uid 99); 11 Sep 2012 09:55:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 09:55:07 +0000 Date: Tue, 11 Sep 2012 20:55:07 +1100 (NCT) From: "Karel Vervaeke (JIRA)" To: dev@avro.apache.org Message-ID: <1470517080.62494.1347357307625.JavaMail.jiratomcat@arcas> In-Reply-To: <173352662.62452.1347356227625.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (AVRO-1154) NettyTransceiver: cancel channelFuture on close MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karel Vervaeke updated AVRO-1154: --------------------------------- Attachment: AVRO-1154.patch Attached patch calls channelFuture.cancel() on close(). > NettyTransceiver: cancel channelFuture on close > ----------------------------------------------- > > Key: AVRO-1154 > URL: https://issues.apache.org/jira/browse/AVRO-1154 > Project: Avro > Issue Type: Bug > Reporter: Karel Vervaeke > Attachments: AVRO-1154.patch > > > See AVRO-747. > When the server is stopped, threads calling writeDataPacket() will hang for 'connectTimeoutMillis'. > If another thread calls disconnect() (with the first thread still waiting), it would be nice if that writeDataPacket() call immediately throw an IOException. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira