From 80402d895157dc5907e8fc84fa67378182cefc39 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 12 Feb 2007 10:52:55 +0000 Subject: Changed default virtual host to "" (was "/"). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506409 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/client/Connection.h | 2 +- cpp/tests/FramingTest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp') diff --git a/cpp/lib/client/Connection.h b/cpp/lib/client/Connection.h index 57286092af..2f9b35d5ef 100644 --- a/cpp/lib/client/Connection.h +++ b/cpp/lib/client/Connection.h @@ -145,7 +145,7 @@ class Connection : public ConnectionForChannel void open(const std::string& host, int port = 5672, const std::string& uid = "guest", const std::string& pwd = "guest", - const std::string& virtualhost = "/"); + const std::string& virtualhost = ""); /** * Close the connection with optional error information for the peer. diff --git a/cpp/tests/FramingTest.cpp b/cpp/tests/FramingTest.cpp index f8754337c8..406241d2c9 100644 --- a/cpp/tests/FramingTest.cpp +++ b/cpp/tests/FramingTest.cpp @@ -359,7 +359,7 @@ class FramingTest : public CppUnit::TestCase ASSERT_FRAME("CLIENT: Frame[channel=0; response(id=1,request=1,batch=0): ConnectionStartOk: clientProperties={}; mechanism=PLAIN; response=\000guest\000guest; locale=en_US]", *i++); ASSERT_FRAME("BROKER: Frame[channel=0; request(id=2,mark=1): ConnectionTune: channelMax=100; frameMax=65536; heartbeat=0]", *i++); ASSERT_FRAME("CLIENT: Frame[channel=0; response(id=2,request=2,batch=0): ConnectionTuneOk: channelMax=100; frameMax=65536; heartbeat=0]", *i++); - ASSERT_FRAME("CLIENT: Frame[channel=0; request(id=1,mark=0): ConnectionOpen: virtualHost=/; capabilities=; insist=1]", *i++); + ASSERT_FRAME("CLIENT: Frame[channel=0; request(id=1,mark=0): ConnectionOpen: virtualHost=; capabilities=; insist=1]", *i++); ASSERT_FRAME("BROKER: Frame[channel=0; response(id=1,request=1,batch=0): ConnectionOpenOk: knownHosts=]", *i++); ASSERT_FRAME("CLIENT: Frame[channel=1; request(id=1,mark=0): ChannelOpen: outOfBand=]", *i++); ASSERT_FRAME("BROKER: Frame[channel=1; response(id=1,request=1,batch=0): ChannelOpenOk: channelId=]", *i++); -- cgit v1.2.1