Differences From Artifact [17372f3d7f]:
- File src/cgi.c — part of check-in [c5c7dd5ffb] at 2022-01-26 14:00:56 on branch trunk — Check-in [acffc8f7858254eb] was causing "CGI content-length mismatch" errors on the main Fossil website (xinet.d->althttpd->Fossil). This check-in attempts to resolve the problem. (Edit:) *Not!* The error is still occurring, though at least now we have a better error message. The problem might have been in althttpd and fixed at [https://sqlite.org/althttpd/info/fded041a3e9ce9b0]. (user: drh size: 77860)
To Artifact [c658a9f7e4]:
- File src/cgi.c — part of check-in [4d8a71be8c] at 2022-01-28 05:51:00 on branch ssl-read-loops2 — Another attempt to fix the SSL_read() loops on Windows. Not necessarily more elegant, but at least working around a well-defined problem, making the code easier to maintain. (user: florian size: 77863)
| ︙ | |||
370 371 372 373 374 375 376 | 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 | - + |
** further input or if an I/O error occurs.
*/
size_t cgi_fread(void *ptr, size_t nmemb){
if( !g.httpUseSSL ){
return fread(ptr, 1, nmemb, g.httpIn);
}
#ifdef FOSSIL_ENABLE_SSL
|
| ︙ |