> We are using OPEN SSL library in our client server application. We are
using > SSL_WRITE and SSL_READ api used to read and

> write operations between them. Connection is broken When server sends very
> large message (more than 56K) using SSL_WRITE api.

That's probably due to a bug in your code. You should find it and fix it.

> We fixed problem with set partial mode api like,

> SSL_CTX_set_mode(ctx,SSL_MODE_AUTO_RETRY | SSL_MODE_ENABLE_PARTIAL_WRITE |
> SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);

These are all safe and sane options and they really should be the defaults.
I believe they aren't for historical reasons. However, this may have hidden
a bug in your code rather than fixed it, and you should still try to track
down why you were having problems before.

Did you check return values from SSL_* functions? Did you handle non-fatal
errors correctly? Did you hadnle partial writes correctly?

DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to