mirror of
https://github.com/nginx/nginx.git
synced 2026-08-28 04:39:05 +00:00
Syslog: fixed message sending on win32.
This commit is contained in:
parent
8e82f06d3e
commit
21655ae097
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue