Skip to content

Commit

Permalink
set output_data_length to 0 in connect_to_host to handle reconnect case
Browse files Browse the repository at this point in the history
  • Loading branch information
wallyatgithub committed May 1, 2023
1 parent 6381b95 commit 1a0e04d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions asio_client_connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ int asio_client_connection::connect_to_host(const std::string& dest_schema, cons
{
exit(1);
}
output_data_length = 0;

if (schema == "https")
{
Expand Down

0 comments on commit 1a0e04d

Please sign in to comment.