From: reyk Date: Wed, 6 Aug 2014 09:40:04 +0000 (+0000) Subject: Bring back the last read (done) / last write (done) messages instead of just X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e5add523cf120c316f8e1effe0a73ed23b7045d3;p=openbsd Bring back the last read (done) / last write (done) messages instead of just "done" to simplify connection debugging. --- 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 @@ -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));