openbsd-ports/www/lighttpd/patches/patch-src_log_h
brad 52bb14ab76 More fixes from upstream..
- Support multi line logging.
- Call ERR_clear_error only for SSL connections in CON_STATE_ERROR.
- Reject non ASCII characters in HTTP header names.

ok sthen@
2013-03-28 16:22:32 +00:00

15 lines
595 B
Plaintext

$OpenBSD: patch-src_log_h,v 1.1 2013/03/28 16:22:32 brad Exp $
Support multi line logging.
--- src/log.h.orig Mon Feb 1 18:28:20 2010
+++ src/log.h Wed Mar 27 09:15:29 2013
@@ -15,6 +15,7 @@ int open_logfile_or_pipe(server *srv, const char* logf
int log_error_open(server *srv);
int log_error_close(server *srv);
int log_error_write(server *srv, const char *filename, unsigned int line, const char *fmt, ...);
+int log_error_write_multiline_buffer(server *srv, const char *filename, unsigned int line, buffer *multiline, const char *fmt, ...);
int log_error_cycle(server *srv);
#endif