Mikko Hirvonen <[EMAIL PROTECTED]>:
> I have problems with pipes. I try to use s_client as fetchmail plugin, but
> something goes wrong. Transmission over ssl-tunnel will stop.
I think s_client.c is buggy in that in does a select() loop where in
fact it the first thing it should do in each iteration is check
SSL_pending(con). The result is that under certain circumstances when
no new data arrives over the network, s_client sleeps on select()
while SSL_read has quite a bit of internally buffered data that would
be ready for processing. Fixing s_client is left as an exercise :-)
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]