Re: [openssl-users] SSL_read, SSL_write error handling

2016-09-14 Thread Alex Hultman
d before SSL_write, when a previous call to SSL_write failed with WANT_READ? 2016-09-15 7:01 GMT+02:00 Viktor Dukhovni : > On Thu, Sep 15, 2016 at 05:07:22AM +0200, Alex Hultman wrote: > > > If SSL_write returns the error SSL_ERROR_WANT_READ, am I then allowed to > > call SS

[openssl-users] SSL_read, SSL_write error handling

2016-09-14 Thread Alex Hultman
If SSL_write returns the error SSL_ERROR_WANT_READ, am I then allowed to call SSL_read before I have called SSL_write? What I'm trying to figure out is, can I handle SSL_ERROR_WANT_READ with one or many calls to SSL_read, and can I handle SSL_ERROR_WANT_WRITE with one or many calls to SSL_write -

Re: [openssl-users] [Bug] OpenSSL does not send short messages

2016-04-25 Thread Alex Hultman
Yes you are correct. I'm doing things wrong - it seems to be Chrome and Curl that report "no received data" because it actually does work in Firefox. Well, thanks for taking the time. 2016-04-26 7:05 GMT+02:00 Alex Hultman : > Yes you are correct. I'm doing things wrong