diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-12-22 17:27:24 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-12-22 17:27:24 +0000 |
commit | fc68ea6f7bedd491126ef57110b6362e9af8900f (patch) | |
tree | afa541b6cf00e3d10fbfd1915f20e00e03dc89f9 | |
parent | 669e3319cea6431bd4605a41979389789b2e046d (diff) | |
download | nginx-fc68ea6f7bedd491126ef57110b6362e9af8900f.tar.gz nginx-fc68ea6f7bedd491126ef57110b6362e9af8900f.zip |
nginx-0.0.1-2003-12-22-20:27:24 import
-rw-r--r-- | auto/os/freebsd | 2 | ||||
-rw-r--r-- | src/http/ngx_http_log_handler.c | 2 | ||||
-rw-r--r-- | src/http/ngx_http_request.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/auto/os/freebsd b/auto/os/freebsd index 415fcba5a..b26b6399f 100644 --- a/auto/os/freebsd +++ b/auto/os/freebsd @@ -25,7 +25,7 @@ fi if [ \( $version -lt 500000 -a $version -ge 410000 \) \ -o $version -ge 500011 ] then - CFLAGS="$CFLAGS -D HAVE_KQUEUE=1" + CFLAGS="$CFLAGS -D HAVE_KQUEUE=1 -D HAVE_CLEAR_EVENT=1" CORE_SRCS="$CORE_SRCS $KQUEUE_SRCS" EVENT_MODULES="$EVENT_MODULES $KQUEUE_MODULE" fi diff --git a/src/http/ngx_http_log_handler.c b/src/http/ngx_http_log_handler.c index caef96750..ecdd07954 100644 --- a/src/http/ngx_http_log_handler.c +++ b/src/http/ngx_http_log_handler.c @@ -100,7 +100,7 @@ static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", static ngx_str_t ngx_http_combined_fmt = ngx_string("%addr - - [%time] \"%request\" %status %apache_length " - "\"%{Referer}i\" %{User-Agent}i\""); + "\"%{Referer}i\" \"%{User-Agent}i\""); ngx_http_log_op_name_t ngx_http_log_fmt_ops[] = { diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 9408fc8e3..6a5fa9811 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -620,7 +620,7 @@ static void ngx_http_process_request_headers(ngx_event_t *rev) } ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, - "http header: \"%s: %s\"'", + "http header: \"%s: %s\"", h->key.data, h->value.data); if (cscf->large_client_header |