clarified comment and silenced error log

pull/2779/head
Jan Tattermusch 10 years ago
parent 2f25d98ba5
commit dd8a80fa9a
  1. 6
      src/core/iomgr/tcp_server_windows.c

@ -247,8 +247,12 @@ static void start_accept(server_port *port) {
failure:
if (port->shutting_down) {
/* 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);
return;
}
utf8_message = gpr_format_message(WSAGetLastError());
gpr_log(GPR_ERROR, message, utf8_message);

Loading…
Cancel
Save