Merge pull request #3502 from sigiesec/fix-plain-hello-message

Problem: PLAIN HELLO message incorrectly uses WELCOME literal
This commit is contained in:
Doron Somech 2019-05-10 11:43:23 +03:00 committed by GitHub
commit e285fe6ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@
namespace zmq
{
const char hello_prefix[] = "\x05WELCOME";
const char hello_prefix[] = "\x05HELLO";
const size_t hello_prefix_len = sizeof (hello_prefix) - 1;
const char welcome_prefix[] = "\x07WELCOME";