Project

General

Profile

Bug #1638 ยป scgi.patch

Http Status Response Patch -- met - Anonymous, 2008-04-13 20:57

View differences:

src/mod_scgi.c (working copy)
1673 1673

  
1674 1674
				status = strtol(s+9, NULL, 10);
1675 1675

  
1676
				if (con->http_status >= 100 &&
1677
				    con->http_status < 1000) {
1678
					/* we expected 3 digits and didn't got them */
1676
				if (status >= 100 && status < 1000) {
1679 1677
					con->parsed_response |= HTTP_STATUS;
1680 1678
					con->http_status = status;
1681 1679
				}
    (1-1/1)