diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-08-01 22:24:06 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-08-01 22:24:06 +0000 |
commit | 0b1e67b9c164c1234f5729100135d72955bcf139 (patch) | |
tree | 01e3d3564407583e5faa4e88c8b3697d15862d40 /usr.sbin/httpd/httpd.h | |
parent | 9dd10bb0d4ae759da510a8e3404324a83786d809 (diff) |
Use the log buffer to defer the logging until the connection is closed
or the request completed. Turn the old log message into a debug message.
ok doug@
Diffstat (limited to 'usr.sbin/httpd/httpd.h')
-rw-r--r-- | usr.sbin/httpd/httpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/httpd/httpd.h b/usr.sbin/httpd/httpd.h index c5a24c3aebf..30b312d3fbf 100644 --- a/usr.sbin/httpd/httpd.h +++ b/usr.sbin/httpd/httpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: httpd.h,v 1.29 2014/08/01 21:59:56 reyk Exp $ */ +/* $OpenBSD: httpd.h,v 1.30 2014/08/01 22:24:05 reyk Exp $ */ /* * Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -408,6 +408,7 @@ in_port_t void server_write(struct bufferevent *, void *); void server_read(struct bufferevent *, void *); void server_error(struct bufferevent *, short, void *); +void server_log(struct client *); void server_close(struct client *, const char *); void server_dump(struct client *, const void *, size_t); int server_client_cmp(struct client *, struct client *); |