httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: [patch] major ssl problem
Date Fri, 23 Nov 2001 23:15:08 GMT
actually, i take some of that back, didn't do enough homework.  SSL_write
will break the calls to mem_write() into reasonable chunks (~16k).  

so we don't need this part of the patch:
+    while (len > 0) {
+        int wlen = len > AP_IOBUFSIZE ? AP_IOBUFSIZE : len;
+        if ((nrd = SSL_write(ssl, buf, wlen)) < 0) {
...

i'll keep digging in and post another patch, but the BIO_bucket concept
still applies.



Mime
View raw message