diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-08-06 09:40:05 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-08-06 09:40:05 +0000 |
commit | 267fe4908d85c92530db2c2d309f6d056b3d746f (patch) | |
tree | 2f4fb62bdb44099a868ecfbf89f6286c8604081e /usr.sbin/httpd | |
parent | 0dd268371791640f834241382e8e22089697eaf9 (diff) |
Bring back the last read (done) / last write (done) messages instead of just
"done" to simplify connection debugging.
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r-- | usr.sbin/httpd/server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/httpd/server.c b/usr.sbin/httpd/server.c index b9d3c757f3f..6460f357237 100644 --- a/usr.sbin/httpd/server.c +++ b/usr.sbin/httpd/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.32 2014/08/06 09:36:31 reyk Exp $ */ +/* $OpenBSD: server.c,v 1.33 2014/08/06 09:40:04 reyk Exp $ */ /* * Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -690,7 +690,7 @@ server_write(struct bufferevent *bev, void *arg) goto done; return; done: - server_close(clt, "done"); + server_close(clt, "last write (done)"); return; } @@ -731,7 +731,7 @@ server_read(struct bufferevent *bev, void *arg) bufferevent_enable(bev, EV_READ); return; done: - server_close(clt, "done"); + server_close(clt, "last read (done)"); return; fail: server_close(clt, strerror(errno)); |