@@ -1783,7 +1783,7 @@ process_server_socket(socket_t sock, size_t keep_alive_max_count,
17831783 time_t write_timeout_usec, T callback) {
17841784 return process_server_socket_core (
17851785 sock, keep_alive_max_count, keep_alive_timeout_sec,
1786- [&](bool close_connection, bool connection_closed) {
1786+ [&](bool close_connection, bool & connection_closed) {
17871787 SocketStream strm (sock, read_timeout_sec, read_timeout_usec,
17881788 write_timeout_sec, write_timeout_usec);
17891789 return callback (strm, close_connection, connection_closed);
@@ -5534,7 +5534,7 @@ process_server_socket_ssl(SSL *ssl, socket_t sock, size_t keep_alive_max_count,
55345534 T callback) {
55355535 return process_server_socket_core (
55365536 sock, keep_alive_max_count, keep_alive_timeout_sec,
5537- [&](bool close_connection, bool connection_closed) {
5537+ [&](bool close_connection, bool & connection_closed) {
55385538 SSLSocketStream strm (sock, ssl, read_timeout_sec, read_timeout_usec,
55395539 write_timeout_sec, write_timeout_usec);
55405540 return callback (strm, close_connection, connection_closed);
0 commit comments