Differences From Artifact [15be2cd9e7]:
- File src/http_ssl.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: 37302)
To Artifact [2eb4619099]:
- File src/http_ssl.c — part of check-in [d4ef61538c] at 2022-01-28 06:37:00 on branch ssl-read-loops2 — Minor code style fixes. (user: florian size: 37300)
| ︙ | |||
825 826 827 828 829 830 831 | 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 | - + |
else if( BIO_eof(pServer->bio) ) return 0;
while( nBuf!=rc ){
n = SSL_read(pServer->ssl, zBuf + rc, (int)(nBuf - rc));
if( n<=0 ){
break;
}else if(n>0){
rc += n;
|
| ︙ |