You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when constructing AMQP using "guest:guesu@localhost:5672/", it would throw a exception.
AMQPException.cpp line 38 39 will get invalid data, cause an uncatched exception
So I think there should have an additional judgment in
void AMQP::parseHostPort(string hostPortString )
{
...
if (!vhost.size()) vhost.append("/");
}
when constructing AMQP using "guest:guesu@localhost:5672/", it would throw a exception.
AMQPException.cpp line 38 39 will get invalid data, cause an uncatched exception
So I think there should have an additional judgment in
void AMQP::parseHostPort(string hostPortString )
{
...
if (!vhost.size()) vhost.append("/");
}
`AMQPException::AMQPException( amqp_rpc_reply_t * res) {
if( res->reply_type == AMQP_RESPONSE_LIBRARY_EXCEPTION) {
this->message = res->library_error ? strerror(res->library_error) : "end-of-stream";
}
}`
The text was updated successfully, but these errors were encountered: