SSL_write & SSL_ERROR_SYSCALL problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

SSL_write & SSL_ERROR_SYSCALL problem

Hi developers,

The problem is as follows:
I want to send ie. 24297 bytes using SSL_write() function.
But this function returns -1, SSL_get_error tells() this is
Immediately I call SSL_write() second time (with same params) as stated in
After that second call SSL_write() returns again -1 which is
I hoped to receive SSL_ERROR_WANT_WRITE again and again untill all data
in the buffer will be sent out.

When I enable partial wirte, then second call to this functions also gives

How to solve this problem ? Can anybody give me a clue to understand this
problem ?
Best regards,
Mariusz Ciepły.

OpenSSL Project                       
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]