summaryrefslogtreecommitdiffhomepage
path: root/docs/xml/nginx
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-02-05 13:53:50 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-02-05 13:53:50 +0000
commitef76b584da7329ffee1e30286c0bf76b255ad3cc (patch)
tree08b83bc0ece3aa14c15b99eec844c75bd70f8781 /docs/xml/nginx
parent6f7a1824b5e38194146dd8516c48a4a7663a0d14 (diff)
downloadnginx-ef76b584da7329ffee1e30286c0bf76b255ad3cc.tar.gz
nginx-ef76b584da7329ffee1e30286c0bf76b255ad3cc.tar.bz2
Merge of r4372, r4373, r4374:
SCGI fixes: *) Fixed incorrect use of r->http_version in scgi module. The r->http_version is a version of client's request, and modules must not set it unless they are really willing to downgrade protocol version used for a response (i.e. to HTTP/0.9 if no response headers are available). In neither case r->http_version may be upgraded. The former code downgraded response from HTTP/1.1 to HTTP/1.0 for no reason, causing various problems (see ticket #66). It was also possible that HTTP/0.9 requests were upgraded to HTTP/1.0. *) Removed duplicate function declaration. *) Removed error if there is no Status header. The SCGI specification doesn't specify format of the response, and assuming CGI specs should be used there is no reason to complain. RFC 3875 explicitly states that "A Status header field is optional, and status 200 'OK' is assumed if it is omitted".
Diffstat (limited to 'docs/xml/nginx')
0 files changed, 0 insertions, 0 deletions