Mercurial > hg > nginx
comparison src/http/modules/ngx_http_uwsgi_module.c @ 3625:8a6b36db2398
update the previous commit
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 15 Jun 2010 15:09:18 +0000 |
parents | 3b7e8fa31a00 |
children | 9061fdb2ed8c |
comparison
equal
deleted
inserted
replaced
3624:3b7e8fa31a00 | 3625:8a6b36db2398 |
---|---|
1093 } | 1093 } |
1094 | 1094 |
1095 u = r->upstream; | 1095 u = r->upstream; |
1096 | 1096 |
1097 if (rc == NGX_HTTP_UWSGI_PARSE_NO_HEADER) { | 1097 if (rc == NGX_HTTP_UWSGI_PARSE_NO_HEADER) { |
1098 | |
1099 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | |
1100 "upstream sent no valid HTTP/1.0 header"); | |
1101 | |
1102 r->http_version = NGX_HTTP_VERSION_9; | 1098 r->http_version = NGX_HTTP_VERSION_9; |
1103 | 1099 |
1104 u->process_header = ngx_http_uwsgi_process_header; | 1100 u->process_header = ngx_http_uwsgi_process_header; |
1105 | 1101 |
1106 return ngx_http_uwsgi_process_header(r); | 1102 return ngx_http_uwsgi_process_header(r); |