diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-02-09 03:39:31 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-02-09 03:39:31 +0000 |
commit | d8c206be3f375e31863999c917bd56746a46264f (patch) | |
tree | 851bb893d050b5500c3a163b1f01f570d14f0917 | |
parent | 19f485ed71d41188d4524403b19d4d35d8835c27 (diff) | |
download | cmogstored-d8c206be3f375e31863999c917bd56746a46264f.tar.gz |
They're far too common and will just flood syslog
-rw-r--r-- | http.c | 3 | ||||
-rw-r--r-- | mgmt.c | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -173,6 +173,9 @@ parse: } return MOG_NEXT_WAIT_RD; case EINTR: goto reread; + case ECONNRESET: + case ENOTCONN: + return MOG_NEXT_CLOSE; default: syslog(LOG_NOTICE, "http client died: %m"); return MOG_NEXT_CLOSE; @@ -182,6 +182,9 @@ parse: mgmt->rbuf = mog_rbuf_defer(rbuf); return MOG_NEXT_WAIT_RD; case EINTR: goto reread; + case ECONNRESET: + case ENOTCONN: + return MOG_NEXT_CLOSE; default: syslog(LOG_NOTICE, "mgmt client died: %m"); return MOG_NEXT_CLOSE; |