From 267fe4908d85c92530db2c2d309f6d056b3d746f Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Wed, 6 Aug 2014 09:40:05 +0000 Subject: Bring back the last read (done) / last write (done) messages instead of just "done" to simplify connection debugging. --- usr.sbin/httpd/server.c | 6 +++--- 1 file 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 @@ -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)); -- cgit v1.2.3