Skip to content

Commit

Permalink
passive-client: fixed a bug regarding cleartext handshake
Browse files Browse the repository at this point in the history
- storage daemon could not establish cleartext handshake
  • Loading branch information
franku committed Dec 13, 2018
1 parent 954cba3 commit c204489
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/lib/util.cc
Expand Up @@ -191,7 +191,7 @@ struct HelloInformation {

static std::list<HelloInformation> hello_list {
/* this order is important */
{ "Hello Storage calling start Job", "R_JOB", 5 },
{ "Hello Storage calling Start Job", "R_JOB", 5 },
{ "Hello Start Storage Job", "R_JOB", 4 },
{ "Hello Start Job", "R_JOB", 3 },
{ "Hello Director", "R_DIRECTOR", 2 },
Expand Down
2 changes: 1 addition & 1 deletion core/src/tests/lib_tests.cc
Expand Up @@ -183,7 +183,7 @@ static void do_get_name_from_hello_test(const char *client_string_fmt,
TEST(Util, get_name_from_hello_test)
{
do_get_name_from_hello_test("Hello Client %s calling", "Test Client", "R_CLIENT");
do_get_name_from_hello_test("Hello Storage calling start Job %s", "Test Client", "R_JOB");
do_get_name_from_hello_test("Hello Storage calling Start Job %s", "Test Client", "R_JOB");
do_get_name_from_hello_test("Hello %s", "Console Name", "R_CONSOLE");
do_get_name_from_hello_test("Hello %s", "*UserAgent*", "R_CONSOLE");
do_get_name_from_hello_test("Hello %s", "*UserAgent*", "R_CONSOLE");
Expand Down

0 comments on commit c204489

Please sign in to comment.