Skip to content

Commit 7f97206

Browse files
committed
Bug#34338937 Don't receive ConnectionClose Reply
When using router, we don't get ConnectionClose Reply and, as such, connector will block. To overpass this we will not wait for that message. Change-Id: I204b94a41929883adb27f0c8fdb9dd587de12842
1 parent deaf62f commit 7f97206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cdk/mysqlx/session.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2020, Oracle and/or its affiliates.
2+
* Copyright (c) 2015, 2023, Oracle and/or its affiliates.
33
*
44
* This program is free software; you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License, version 2.0, as
@@ -796,7 +796,7 @@ void Session::close()
796796
try {
797797
clean_up();
798798
m_protocol.snd_ConnectionClose().wait();
799-
m_protocol.rcv_Reply(*this).wait();
799+
// Not waiting for reply since it blocked on old router implementations...
800800
}
801801
catch (...)
802802
{

0 commit comments

Comments
 (0)