Mercurial > hg > nginx-mail
comparison src/http/ngx_http_special_response.c @ 182:13710a1813ad NGINX_0_3_38
nginx 0.3.38
*) Feature: the ngx_http_dav_module.
*) Change: the ngx_http_perl_module optimizations.
Thanks to Sergey Skvortsov.
*) Feature: the ngx_http_perl_module supports the $r->request_body_file
method.
*) Feature: the "client_body_in_file_only" directive.
*) Workaround: now on disk overflow nginx tries to write access logs
once a second only.
Thanks to Anton Yuzhaninov and Maxim Dounin.
*) Bugfix: now the "limit_rate" directive more precisely limits rate if
rate is more than 100 Kbyte/s.
Thanks to ForJest.
*) Bugfix: now the IMAP/POP3 proxy escapes the "\r" and "\n" symbols in
login and password to pass authorization server.
Thanks to Maxim Dounin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 14 Apr 2006 00:00:00 +0400 |
parents | 6be073125f2e |
children | 54aabf2b0bc6 |
comparison
equal
deleted
inserted
replaced
181:de8983d10e75 | 182:13710a1813ad |
---|---|
197 ; | 197 ; |
198 | 198 |
199 | 199 |
200 static ngx_str_t error_pages[] = { | 200 static ngx_str_t error_pages[] = { |
201 | 201 |
202 ngx_null_string, /* 204 */ | 202 ngx_null_string, /* 201, 204 */ |
203 | 203 |
204 #define NGX_HTTP_LEVEL_200 1 | 204 #define NGX_HTTP_LEVEL_200 1 |
205 | 205 |
206 /* ngx_null_string, */ /* 300 */ | 206 /* ngx_null_string, */ /* 300 */ |
207 ngx_string(error_301_page), | 207 ngx_string(error_301_page), |
318 } | 318 } |
319 } | 319 } |
320 } | 320 } |
321 } | 321 } |
322 | 322 |
323 if (error == NGX_HTTP_NO_CONTENT) { | 323 if (error == NGX_HTTP_CREATED) { |
324 /* 201 */ | |
325 err = 0; | |
326 | |
327 } else if (error == NGX_HTTP_NO_CONTENT) { | |
324 /* 204 */ | 328 /* 204 */ |
325 err = 0; | 329 err = 0; |
326 | 330 |
327 } else if (error < NGX_HTTP_BAD_REQUEST) { | 331 } else if (error < NGX_HTTP_BAD_REQUEST) { |
328 /* 3XX */ | 332 /* 3XX */ |