comparison src/core/ngx_string.c @ 74:77969b24f355 NGINX_0_1_37

nginx 0.1.37 *) 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 <http://sysoev.ru>
date Thu, 23 Jun 2005 00:00:00 +0400
parents b31656313b59
children da9a3b14312d
comparison
equal deleted inserted replaced
73:05310cdbd906 74:77969b24f355
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;