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 20C36B964 for ; Tue, 10 Jan 2012 08:53:09 +0000 (UTC) Received: (qmail 42918 invoked by uid 500); 10 Jan 2012 08:53:07 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 42695 invoked by uid 500); 10 Jan 2012 08:53:01 -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 42686 invoked by uid 99); 10 Jan 2012 08:52:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 08:52:59 +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; Tue, 10 Jan 2012 08:52:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 724E214195C for ; Tue, 10 Jan 2012 08:52:38 +0000 (UTC) Date: Tue, 10 Jan 2012 08:52:38 +0000 (UTC) From: "kafka0102 (Commented) (JIRA)" To: dev@avro.apache.org Message-ID: <568459734.24898.1326185558469.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1205924885.24871.1326184598417.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AVRO-990) ruby impl failed when the local_protocol not same with remote_protocol 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-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183149#comment-13183149 ] kafka0102 commented on AVRO-990: -------------------------------- for the impl,the golbal varible REMOTE_PROTOCOLS is never be used.It's weird... > ruby impl failed when the local_protocol not same with remote_protocol > ---------------------------------------------------------------------- > > Key: AVRO-990 > URL: https://issues.apache.org/jira/browse/AVRO-990 > Project: Avro > Issue Type: Bug > Components: ruby > Affects Versions: 1.6.1 > Reporter: kafka0102 > Fix For: 1.6.2 > > Attachments: ipc.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > For Requestor class,when local_protocol is not same with remote_protocol,Requestor makes REMOTE_HASHES[transport.remote_name] has value, and skips " self.remote_protocol = local_protocol" in the write_handshake_request method, making the next new Requestor object's @remote_protocol always nil. -- 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