I wrote:
> So this does look like it'd fix the issue for SSL_write, without needing
> to introduce a concept of a "write frozen" buffer state. I am wondering
> though how far back support for this flag exists in OpenSSL,
A bit of archaeology reveals that the flag was introduced in OpenSSL
0.9.4, released in 1999. So it's probably Old Enough. (BTW, the 0.9.4
changelog credits this change to one Bodo Moeller ... so the comments
from him in the other thread I linked to can be considered authoritative
...)
Still wondering about the SSL_read end of it, though.
regards, tom lane