comparison src/core/ngx_string.c @ 525:09b42134ac0c release-0.1.37

nginx-0.1.37-RELEASE import *) Change: now the "\n" is added to the end of the "nginx.pid" file. *) Bugfix: the responses may be transferred not completely, if many parts or the big parts were included by SSI. *) Bugfix: if all backends had returned the 404 reponse and the "http_404" parameter of the "proxy_next_upstream" or "fastcgi_next_upstream" directives was used, then nginx started to request all backends again.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 23 Jun 2005 13:41:06 +0000
parents 2019117e6b38
children 7fa11e5c6e96
comparison
equal deleted inserted replaced
524:a55bc21dee27 525:09b42134ac0c
60 * %r rlim_t 60 * %r rlim_t
61 * %p pointer 61 * %p pointer
62 * %V pointer to ngx_str_t 62 * %V pointer to ngx_str_t
63 * %s null-terminated string 63 * %s null-terminated string
64 * %Z '\0' 64 * %Z '\0'
65 * %N '\n'
65 * %c char 66 * %c char
66 * %% % 67 * %% %
67 * 68 *
68 * TODO: 69 * TODO:
69 * %M ngx_msec_t 70 * %M ngx_msec_t
313 *buf++ = '\0'; 314 *buf++ = '\0';
314 fmt++; 315 fmt++;
315 316
316 continue; 317 continue;
317 318
319 case 'N':
320 #if (NGX_WIN32)
321 *buf++ = CR;
322 #endif
323 *buf++ = LF;
324 fmt++;
325
326 continue;
327
318 case '%': 328 case '%':
319 *buf++ = '%'; 329 *buf++ = '%';
320 fmt++; 330 fmt++;
321 331
322 continue; 332 continue;