Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Bug fix in althttpd.c: Include the port number on the HTTP_HOST cgi environment variable. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c22354d66ac291d98c2c74e8f6211fcf |
User & Date: | drh 2012-06-02 18:50:29.552 |
Context
2012-06-07
| ||
16:30 | Updates in preparation for 3.7.13. (check-in: 45f3811cfd user: drh tags: trunk) | |
2012-06-02
| ||
18:50 | Bug fix in althttpd.c: Include the port number on the HTTP_HOST cgi environment variable. (check-in: c22354d66a user: drh tags: trunk) | |
2012-05-31
| ||
08:10 | Add the COMBINED_LOG_FORMAT compile-time option to althttpd.c. Also catch errors opening a /tmp file and report them. (check-in: f5c16dc36c user: drh tags: trunk) | |
Changes
Changes to misc/althttpd.c.
︙ | ︙ | |||
960 961 962 963 964 965 966 | }else if( strcasecmp(zFieldName,"Connection:")==0 ){ if( strcasecmp(zVal,"close")==0 ){ closeConnection = 1; }else if( !forceClose && strcasecmp(zVal, "keep-alive")==0 ){ closeConnection = 0; } }else if( strcasecmp(zFieldName,"Host:")==0 ){ | > | | 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 | }else if( strcasecmp(zFieldName,"Connection:")==0 ){ if( strcasecmp(zVal,"close")==0 ){ closeConnection = 1; }else if( !forceClose && strcasecmp(zVal, "keep-alive")==0 ){ closeConnection = 0; } }else if( strcasecmp(zFieldName,"Host:")==0 ){ zHttpHost = StrDup(zVal); zServerPort = zServerName = StrDup(zHttpHost); while( zServerPort && *zServerPort && *zServerPort!=':' ){ zServerPort++; } if( zServerPort && *zServerPort ){ *zServerPort = 0; zServerPort++; } |
︙ | ︙ |