You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2007/10/19 10:39:50 UTC

[jira] Created: (QPID-652) Correctly handle version mismatches on connection

Correctly handle version mismatches on connection
-------------------------------------------------

                 Key: QPID-652
                 URL: https://issues.apache.org/jira/browse/QPID-652
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker, C++ Client
            Reporter: Gordon Sim




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


[jira] Updated: (QPID-652) Correctly handle version mismatches on connection

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim updated QPID-652:
----------------------------

    Fix Version/s: M3

> Correctly handle version mismatches on connection
> -------------------------------------------------
>
>                 Key: QPID-652
>                 URL: https://issues.apache.org/jira/browse/QPID-652
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>             Fix For: M3
>
>


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


[jira] Updated: (QPID-652) Correctly handle version mismatches on connection

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim updated QPID-652:
----------------------------

    Affects Version/s: M4

> Correctly handle version mismatches on connection
> -------------------------------------------------
>
>                 Key: QPID-652
>                 URL: https://issues.apache.org/jira/browse/QPID-652
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>    Affects Versions: M4
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>             Fix For: M4
>
>


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


[jira] Assigned: (QPID-652) Correctly handle version mismatches on connection

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim reassigned QPID-652:
-------------------------------

    Assignee: Gordon Sim

> Correctly handle version mismatches on connection
> -------------------------------------------------
>
>                 Key: QPID-652
>                 URL: https://issues.apache.org/jira/browse/QPID-652
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>             Fix For: M3
>
>


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


[jira] Resolved: (QPID-652) Correctly handle version mismatches on connection

Posted by "Carl Trieloff (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Trieloff resolved QPID-652.
--------------------------------

    Resolution: Fixed

patch applied 
Committed revision 799348.

> Correctly handle version mismatches on connection
> -------------------------------------------------
>
>                 Key: QPID-652
>                 URL: https://issues.apache.org/jira/browse/QPID-652
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>    Affects Versions: M4
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>


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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-652) Correctly handle version mismatches on connection

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim updated QPID-652:
----------------------------

    Fix Version/s:     (was: M4)

Removing M4 as target; ran out of time for this.

> Correctly handle version mismatches on connection
> -------------------------------------------------
>
>                 Key: QPID-652
>                 URL: https://issues.apache.org/jira/browse/QPID-652
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>    Affects Versions: M4
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>


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


[jira] Commented: (QPID-652) Correctly handle version mismatches on connection

Posted by "Marco Bisioli (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736573#action_12736573 ] 

Marco Bisioli commented on QPID-652:
------------------------------------

I made a quick fix for this issue in the C++ client
bye
Marco

*** Connector.cpp.orig	2009-03-10 20:08:18.000000000 +0100
--- Connector.cpp	2009-07-28 17:20:47.000000000 +0200
***************
*** 355,360 ****
--- 355,363 ----
          if (protocolInit.decode(in)) {
              //TODO: check the version is correct
              QPID_LOG(debug, "RECV " << identifier << " INIT(" << protocolInit << ")");
+             if(!(protocolInit==version)){
+                 throw Exception(QPID_MSG("Unsupported version: " << protocolInit));
+             }
          }
          initiated = true;
      }


> Correctly handle version mismatches on connection
> -------------------------------------------------
>
>                 Key: QPID-652
>                 URL: https://issues.apache.org/jira/browse/QPID-652
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>    Affects Versions: M4
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>


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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org