Differences From Artifact [631c49fe03]:
- File src/http_ssl.c — part of check-in [5fd1ca6fba] at 2022-01-15 13:54:37 on branch markdown-tagrefs — In standalone TLS mode, SSL_read() must be performed in a loop to avoid truncated POST data. Discussed in [https://sqlite.org/althttpd/forumpost/11c263b822fde80d | althttpd forum post 11c263b822fde80d]. (user: stephan size: 39422) [more...]
To Artifact [fe3bf76f37]:
- File src/http_ssl.c — part of check-in [ba95498d36] at 2022-01-16 02:03:04 on branch trunk — When reading POST via TLS, fail fatally on a read error. Add SERVER_SOFTWARE to the environment when running in server mode. (user: stephan size: 39472)
| ︙ | |||
805 806 807 808 809 810 811 812 813 814 815 816 817 818 | 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.
|
| ︙ |