On Sunday 21 of March 2010 00:31:11 Daniel Stenberg wrote: > On Fri, 19 Mar 2010, Kamil Dudka wrote: > > I am fine with either variant. You choose. If it the negative value based > > one is the way to go, we need to decide what to return in case of > > EWOULDBLOCK. > > How about something along the lines I made in the attached patch? I > modified the internal API for the SSL receive function to allow the SSL > library to properly return the exact error code or -1 for EWOULDBLOCK.
Overall I like the idea, though I haven't tested the patch yet. Should we do something like that for the Curl_ssl_send() equivalent, to keep the API uniform? Kamil ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
