Re: SSL_shutdown nonblocking behavior

2008-06-04 Thread Thor Lancelot Simon
On Tue, Jun 03, 2008 at 11:37:02AM -0400, Geoff Thorpe wrote: > > A quick skim of this patch seems to indicate that it makes sense, though the > litmus test will be to get some kind of regression coverage. Eg. do > connections get left dangling in any common scenarios? Darryl (who wrote the patc

Re: SSL_shutdown nonblocking behavior

2008-06-03 Thread Darryl Miles
Thor Lancelot Simon wrote: Darryl (who wrote the patch) has a set of regression tests for nonblocking operation with OpenSSL. He posted about it here way back in 2006 when he originally pointed out this problem. It's kind of hard to figure out which message in some of these old, old mailing lis

Re: SSL_shutdown nonblocking behavior

2008-06-03 Thread Geoff Thorpe
A quick skim of this patch seems to indicate that it makes sense, though the litmus test will be to get some kind of regression coverage. Eg. do connections get left dangling in any common scenarios? BTW, I note that the patch is against 0.9.8b, that's ... umm ... *old*. Could you please regen

SSL_shutdown nonblocking behavior

2008-06-03 Thread Thor Lancelot Simon
As has been discussed several times in (at least) the past two years, there's a serious problem with SSL_shutdown() for nonblocking connections: it discards the underlying BIO's WANT_READ/WANT_WRITE information so that the calling application cannot know in which direction it must wait for I/O; so