Skip to content
Snippets Groups Projects
Commit dd8a80fa authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

clarified comment and silenced error log

parent 2f25d98b
No related branches found
No related tags found
No related merge requests found
...@@ -247,8 +247,12 @@ static void start_accept(server_port *port) { ...@@ -247,8 +247,12 @@ static void start_accept(server_port *port) {
failure: failure:
if (port->shutting_down) { if (port->shutting_down) {
/* We are abandoning the listener port, take that into account to prevent /* We are abandoning the listener port, take that into account to prevent
occasional hangs on shutdown. */ occasional hangs on shutdown. The hang happens when sp->shutting_down
change is not seen by on_accept and we proceed to trying new accept,
but we fail there because the listening port has been closed in the
meantime. */
decrement_active_ports_and_notify(port); decrement_active_ports_and_notify(port);
return;
} }
utf8_message = gpr_format_message(WSAGetLastError()); utf8_message = gpr_format_message(WSAGetLastError());
gpr_log(GPR_ERROR, message, utf8_message); gpr_log(GPR_ERROR, message, utf8_message);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment