}
}
- if (uwcf->uwsgi_string.data && uwcf->uwsgi_string.len) {
- len += uwcf->uwsgi_string.len;
- }
+ len += uwcf->uwsgi_string.len;
#if 0
/* allow custom uwsgi packet */
}
}
- if (uwcf->uwsgi_string.data && uwcf->uwsgi_string.len) {
- b->last = ngx_copy(b->last, uwcf->uwsgi_string.data,
- uwcf->uwsgi_string.len);
- }
+ b->last = ngx_copy(b->last, uwcf->uwsgi_string.data,
+ uwcf->uwsgi_string.len);
if (uwcf->upstream.pass_request_body) {
body = r->upstream->request_bufs;