Revision 2223 branches/lighttpd-1.4.x/src/mod_scgi.c
| mod_scgi.c (revision 2223) | ||
|---|---|---|
| 1686 | 1686 |
|
| 1687 | 1687 |
status = strtol(s+9, NULL, 10); |
| 1688 | 1688 |
|
| 1689 |
if (con->http_status >= 100 && |
|
| 1690 |
con->http_status < 1000) {
|
|
| 1691 |
/* we expected 3 digits and didn't got them */ |
|
| 1689 |
if (status >= 100 && status < 1000) {
|
|
| 1690 |
/* we expected 3 digits got them */ |
|
| 1692 | 1691 |
con->parsed_response |= HTTP_STATUS; |
| 1693 | 1692 |
con->http_status = status; |
| 1694 | 1693 |
} |
Also available in: Unified diff