mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Syslog: fixed message sending on win32.
This commit is contained in:
parent
8e82f06d3e
commit
21655ae097
@ -317,6 +317,10 @@ ngx_syslog_init_peer(ngx_syslog_peer_t *peer)
|
|||||||
cln->handler = ngx_syslog_cleanup;
|
cln->handler = ngx_syslog_cleanup;
|
||||||
|
|
||||||
peer->conn.fd = fd;
|
peer->conn.fd = fd;
|
||||||
|
|
||||||
|
/* UDP sockets are always ready to write */
|
||||||
|
peer->conn.write->ready = 1;
|
||||||
|
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
|
|
||||||
failed:
|
failed:
|
||||||
|
Loading…
Reference in New Issue
Block a user