Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Extra security in althttpd.c. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
45c1cd9faeef17a4855bd00c892a267d |
User & Date: | drh 2019-02-15 20:56:42.450 |
Context
2019-02-15
| ||
21:21 | Send the SCGI environment variable with a value of "1" on SCGI requests. (check-in: 216ba4ebe1 user: drh tags: trunk) | |
20:56 | Extra security in althttpd.c. (check-in: 45c1cd9fae user: drh tags: trunk) | |
20:31 | Add SCGI support to the althttpd.c web server. (check-in: 201d18b836 user: drh tags: trunk) | |
Changes
Changes to misc/althttpd.c.
︙ | ︙ | |||
1285 1286 1287 1288 1289 1290 1291 | fclose(in); if( strncmp(zLine,"SCGI ",5)!=0 ){ Malfunction(702, "misformatted SCGI spec \"%s\"\n", zFile); } z = zLine+5; zHost = GetFirstElement(z,&z); zPort = GetFirstElement(z,0); | | | 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 | fclose(in); if( strncmp(zLine,"SCGI ",5)!=0 ){ Malfunction(702, "misformatted SCGI spec \"%s\"\n", zFile); } z = zLine+5; zHost = GetFirstElement(z,&z); zPort = GetFirstElement(z,0); if( zHost==0 || zHost[0]==0 || zPort==0 || zPort[0]==0 ){ Malfunction(703, "misformatted SCGI spec \"%s\"\n", zFile); } memset(&hints, 0, sizeof(struct addrinfo)); hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; hints.ai_protocol = IPPROTO_TCP; rc = getaddrinfo(zHost,zPort,&hints,&ai); |
︙ | ︙ |