Mercurial > hg > nginx
comparison src/http/modules/ngx_http_uwsgi_module.c @ 7347:b9b3518fa93b
Uwsgi: style.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 03 Sep 2018 19:17:01 +0300 |
parents | 45e513c3540d |
children | f6e7831a17d4 |
comparison
equal
deleted
inserted
replaced
7346:039d3eff14a1 | 7347:b9b3518fa93b |
---|---|
952 len += uwcf->uwsgi_string.len; | 952 len += uwcf->uwsgi_string.len; |
953 | 953 |
954 #if 0 | 954 #if 0 |
955 /* allow custom uwsgi packet */ | 955 /* allow custom uwsgi packet */ |
956 if (len > 0 && len < 2) { | 956 if (len > 0 && len < 2) { |
957 ngx_log_error (NGX_LOG_ALERT, r->connection->log, 0, | 957 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, |
958 "uwsgi request is too little: %uz", len); | 958 "uwsgi request is too little: %uz", len); |
959 return NGX_ERROR; | 959 return NGX_ERROR; |
960 } | 960 } |
961 #endif | 961 #endif |
962 | 962 |
963 b = ngx_create_temp_buf(r->pool, len + 4); | 963 b = ngx_create_temp_buf(r->pool, len + 4); |