Mercurial > hg > nginx-vendor-current
comparison src/core/ngx_cycle.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 | 962c43960644 |
comparison
equal
deleted
inserted
replaced
73:05310cdbd906 | 74:77969b24f355 |
---|---|
742 ngx_open_file_n " \"%s\" failed", file.name.data); | 742 ngx_open_file_n " \"%s\" failed", file.name.data); |
743 return NGX_ERROR; | 743 return NGX_ERROR; |
744 } | 744 } |
745 | 745 |
746 if (!ngx_test_config) { | 746 if (!ngx_test_config) { |
747 len = ngx_sprintf(pid, "%P", ngx_pid) - pid; | 747 len = ngx_sprintf(pid, "%P%N", ngx_pid) - pid; |
748 | 748 |
749 if (ngx_write_file(&file, pid, len, 0) == NGX_ERROR) { | 749 if (ngx_write_file(&file, pid, len, 0) == NGX_ERROR) { |
750 return NGX_ERROR; | 750 return NGX_ERROR; |
751 } | 751 } |
752 } | 752 } |