Daniel Stenberg wrote: > The little problem I have with exposing the SSL handshake is that it isn't currently very obvious in the multi state machine of today, which is the state I basically just expose (only slightly converted) in this patch.
Yes, I agree and understand the problem. Maybe go deeper in structures and/or improve the orthogonality of the SSL handshake state in various protocols/SSL backends... > Also, in most cases the SSL handshake state will be very brief anyway so I'm not sure it is worth the extra detail. The same goes for FTP and SFTP details really... I've seen SSL handshakes "blocking" the connection for more than 2 seconds, although this is not the regular case (fortunately!). Please note that, by "SSL handshake", I mean everything between the unencrypted and encrypted socket states: this includes the "SSL connect" too. Patrick ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
