Differences From Artifact [ab5720fa8e]:
- File src/cgi.c — part of check-in [932825bc6a] at 2010-07-08 17:53:14 on branch trunk — Take care to close the connection to the database file before existing. This gives the database a chance to clean up (and, for example, delete WAL and shared-memory files). (user: drh size: 39344) [more...]
To Artifact [e39a4ebbec]:
- File src/cgi.c — part of check-in [3dc62d54d0] at 2010-08-15 19:34:07 on branch trunk — Recognize the HTTPS line in the HTTP header. Ticket [d83227cdda3d786d3743b2] (user: drh size: 39425)
| ︙ | |||
1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 | 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 | + + |
cgi_setenv("CONTENT_TYPE", zVal);
}else if( strcmp(zFieldName,"cookie:")==0 ){
cgi_setenv("HTTP_COOKIE", zVal);
}else if( strcmp(zFieldName,"if-none-match:")==0 ){
cgi_setenv("HTTP_IF_NONE_MATCH", zVal);
}else if( strcmp(zFieldName,"if-modified-since:")==0 ){
cgi_setenv("HTTP_IF_MODIFIED_SINCE", zVal);
}else if( strcmp(zFieldName,"https:")==0 ){
cgi_setenv("HTTPS", zVal);
}
}
cgi_init();
}
/*
|
| ︙ |