aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_conf_file.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-01-25 12:27:35 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-01-25 12:27:35 +0000
commite5a222c6fef26b51d956c35530178837c60bf8c4 (patch)
tree65dafe2f85fe2b09b82d3efd2abe2b43720a1f4e /src/core/ngx_conf_file.c
parent4f06a9709164123e7d8ccbd6fa723da387a9a86c (diff)
downloadnginx-e5a222c6fef26b51d956c35530178837c60bf8c4.tar.gz
nginx-e5a222c6fef26b51d956c35530178837c60bf8c4.zip
nginx-0.1.16-RELEASE importrelease-0.1.16
*) Bugfix: if the response were transferred by chunks, then on the HEAD request the final chunk was issued. *) Bugfix: the "Connection: keep-alive" header were issued, even if the keepalive_timeout directive forbade the keep-alive use. *) Bugfix: the errors in the ngx_http_fastcgi_module caused the segmentation faults. *) Bugfix: the compressed response encrypted by SSL may not transferred complete. *) Bugfix: the TCP-specific TCP_NODELAY, TCP_NOPSUH, and TCP_CORK options, are not used for the unix domain sockets. *) Feature: the rewrite directive supports the arguments rewriting. *) Bugfix: the response code 400 was returned for the POST request with the "Content-Length: 0" header; the bug had appeared in 0.1.14.
Diffstat (limited to 'src/core/ngx_conf_file.c')
-rw-r--r--src/core/ngx_conf_file.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index 3c7898ae2..19a567f68 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -111,10 +111,6 @@ char *ngx_conf_parse(ngx_conf_t *cf, ngx_str_t *filename)
* NGX_CONF_FILE_DONE the configuration file is done
*/
-#if 0
-ngx_log_debug(cf->log, "token %d" _ rc);
-#endif
-
if (rc == NGX_ERROR) {
break;
}
@@ -173,9 +169,7 @@ ngx_log_debug(cf->log, "token %d" _ rc);
{
found = 1;
-#if 0
-ngx_log_debug(cf->log, "command '%s'" _ cmd->name.data);
-#endif
+
/* is the directive's location right ? */
if ((cmd->type & cf->cmd_type) == 0) {
@@ -284,10 +278,6 @@ ngx_log_debug(cf->log, "command '%s'" _ cmd->name.data);
rv = cmd->set(cf, cmd, conf);
-#if 0
-ngx_log_debug(cf->log, "rv: %d" _ rv);
-#endif
-
if (rv == NGX_CONF_OK) {
break;
@@ -366,10 +356,6 @@ static int ngx_conf_read_token(ngx_conf_t *cf)
b = cf->conf_file->buffer;
start = b->pos;
-#if 0
-ngx_log_debug(cf->log, "TOKEN START");
-#endif
-
for ( ;; ) {
if (b->pos >= b->last) {
@@ -398,12 +384,6 @@ ngx_log_debug(cf->log, "TOKEN START");
ch = *b->pos++;
-#if 0
-ngx_log_debug(cf->log, "%d:%d:%d:%d:%d '%c'" _
- last_space _ need_space _
- quoted _ s_quoted _ d_quoted _ ch);
-#endif
-
if (ch == LF) {
cf->conf_file->line++;
@@ -574,10 +554,6 @@ ngx_log_debug(cf->log, "%d:%d:%d:%d:%d '%c'" _
*dst = '\0';
word->len = len;
-#if 0
-ngx_log_debug(cf->log, "FOUND %d:'%s'" _ word->len _ word->data);
-#endif
-
if (ch == ';') {
return NGX_OK;
}