details:   http://hg.nginx.org/nginx/rev/44532046d9d7
branches:  
changeset: 5709:44532046d9d7
user:      Vladimir Homutov <v...@nginx.com>
date:      Tue May 27 15:42:34 2014 +0400
description:
Syslog: fixed message sending on win32.

diffstat:

 src/core/ngx_syslog.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r aacd994167d3 -r 44532046d9d7 src/core/ngx_syslog.c
--- a/src/core/ngx_syslog.c     Mon May 26 23:34:44 2014 +0400
+++ b/src/core/ngx_syslog.c     Tue May 27 15:42:34 2014 +0400
@@ -317,6 +317,10 @@ ngx_syslog_init_peer(ngx_syslog_peer_t *
     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:

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to