Syslog: fixed message sending on win32.

This commit is contained in:
Vladimir Homutov 2014-05-27 15:42:34 +04:00
parent 8e82f06d3e
commit 21655ae097

View File

@ -317,6 +317,10 @@ ngx_syslog_init_peer(ngx_syslog_peer_t *peer)
cln->handler = ngx_syslog_cleanup;
peer->conn.fd = fd;
/* UDP sockets are always ready to write */
peer->conn.write->ready = 1;
return NGX_OK;
failed: