Differences From Artifact [9ebbfd973d]:
- File src/winhttp.c — part of check-in [a04a650870] at 2010-11-12 21:51:35 on branch trunk — Add the fossil_nameofexe() function to use in place of g.argv[0]. (user: drh size: 6103)
To Artifact [02a4e24d87]:
- File src/winhttp.c — part of check-in [0b6c414c6f] at 2010-12-09 13:56:19 on branch trunk — Use the built-in SQLite caseless string comparison functions instead of the C-library strcasecmp(). Accept mime-type application/x-fossil-uncompressed and avoid decompression when seen. (user: drh size: 6107)
| ︙ | |||
46 47 48 49 50 51 52 | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | - + |
** length and return it. Return 0 if there is no Content-Length:
** header line.
*/
static int find_content_length(const char *zHdr){
while( *zHdr ){
if( zHdr[0]=='\n' ){
if( zHdr[1]=='\r' ) return 0;
|
| ︙ |