Mercurial > hg > nginx
comparison src/http/ngx_http_log_handler.c @ 216:f1d0e5f09c1e
nginx-0.0.1-2003-12-25-23:26:58 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Dec 2003 20:26:58 +0000 |
parents | 5adc2b75f8a5 |
children | 7c7183b3ea8b |
comparison
equal
deleted
inserted
replaced
215:5adc2b75f8a5 | 216:f1d0e5f09c1e |
---|---|
468 | 468 |
469 if (s->len == sizeof("Connection") - 1 | 469 if (s->len == sizeof("Connection") - 1 |
470 && ngx_strncasecmp(s->data, "Connection", s->len) == 0) | 470 && ngx_strncasecmp(s->data, "Connection", s->len) == 0) |
471 { | 471 { |
472 op->op = ngx_http_log_connection_header_out; | 472 op->op = ngx_http_log_connection_header_out; |
473 op->data = NULL; | 473 op->data = (uintptr_t) NULL; |
474 return NULL; | 474 return NULL; |
475 } | 475 } |
476 | 476 |
477 if (s->len == sizeof("Transfer-Encoding") - 1 | 477 if (s->len == sizeof("Transfer-Encoding") - 1 |
478 && ngx_strncasecmp(s->data, "Transfer-Encoding", s->len) == 0) { | 478 && ngx_strncasecmp(s->data, "Transfer-Encoding", s->len) == 0) { |
479 op->op = ngx_http_log_transfer_encoding_header_out; | 479 op->op = ngx_http_log_transfer_encoding_header_out; |
480 op->data = NULL; | 480 op->data = (uintptr_t) NULL; |
481 return NULL; | 481 return NULL; |
482 } | 482 } |
483 | 483 |
484 op->op = ngx_http_log_unknown_header_out; | 484 op->op = ngx_http_log_unknown_header_out; |
485 op->data = (uintptr_t) s; | 485 op->data = (uintptr_t) s; |