Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | When reading POST via TLS, fail fatally on a read error. Add SERVER_SOFTWARE to the environment when running in server mode. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ba95498d36d0176955f05aab476d4f46 |
User & Date: | stephan 2022-01-16 02:03:04 |
Context
2022-01-16
| ||
11:29 | merge latest trunk ... (check-in: 8dde2777 user: rdb tags: tls-server-fix) | |
10:55 | /pikchrshow: in demo pikchrs which use an ampersand, write them as literals instead of HTML-escaped, to account for changes made to how pikchr handles those. ... (check-in: 4364ad05 user: stephan tags: trunk) | |
10:09 |
Implement -p|--prototype option for diff command.
This commit introduces support for displaying in the chunk header which C function each change is in. Tested on OpenBSD, Ubuntu, and macOS. [closed: feature rejected] ... (Closed-Leaf check-in: 79267437 user: jamsek tags: diff-show-func) | |
02:03 | When reading POST via TLS, fail fatally on a read error. Add SERVER_SOFTWARE to the environment when running in server mode. ... (check-in: ba95498d user: stephan tags: trunk) | |
01:34 | Show the value of SERVER_SOFTWARE on the /test_env page. ... (check-in: f1729c47 user: drh tags: trunk) | |
Changes
Changes to src/http_ssl.c.
︙ | ︙ | |||
805 806 807 808 809 810 811 812 813 814 815 816 817 818 | pServer->atEof = 1; break; } err = SSL_get_error(pServer->ssl, n); if(0==err){ rc += n; pServer->atEof = BIO_eof(pServer->bio); } } return rc; } /* ** Read a single line of text from the client. | > > | 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 | pServer->atEof = 1; break; } err = SSL_get_error(pServer->ssl, n); if(0==err){ rc += n; pServer->atEof = BIO_eof(pServer->bio); }else{ fossil_fatal("SSL read error."); } } return rc; } /* ** Read a single line of text from the client. |
︙ | ︙ |
Changes to src/main.c.
︙ | ︙ | |||
3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 | } if( g.repositoryOpen ) flags |= HTTP_SERVER_HAD_REPOSITORY; if( g.localOpen ) flags |= HTTP_SERVER_HAD_CHECKOUT; db_close(1); /* Start up an HTTP server */ #if !defined(_WIN32) /* Unix implementation */ if( cgi_http_server(iPort, mxPort, zBrowserCmd, zIpAddr, flags) ){ fossil_fatal("unable to listen on TCP socket %d", iPort); } /* For the parent process, the cgi_http_server() command above never ** returns (except in the case of an error). Instead, for each incoming | > > | 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 | } if( g.repositoryOpen ) flags |= HTTP_SERVER_HAD_REPOSITORY; if( g.localOpen ) flags |= HTTP_SERVER_HAD_CHECKOUT; db_close(1); /* Start up an HTTP server */ fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION " " MANIFEST_VERSION " " MANIFEST_DATE); #if !defined(_WIN32) /* Unix implementation */ if( cgi_http_server(iPort, mxPort, zBrowserCmd, zIpAddr, flags) ){ fossil_fatal("unable to listen on TCP socket %d", iPort); } /* For the parent process, the cgi_http_server() command above never ** returns (except in the case of an error). Instead, for each incoming |
︙ | ︙ |