Hi,

I've a SSL in DTLS mode. Previously in its SSL_CTX I set the
SSL_MODE_ENABLE_PARTIAL_WRITE option to enable SSL_write() to return
less than the given data length.

It does not work. I call SSL_write() by passing a very long data
(65536) and it still returns -1. So, in case I want to write a big
data over a DTLS UDP connection, how can I do that? I expected that
SSL_MODE_ENABLE_PARTIAL_WRITE would work in a way that SSL_write()
returns a value suitable for a UDP datagram so I send it and then call
SS_write() again by passing the following chuck in my data buffer.

Is it a bug? or am I missing something?

Thanks a lot.

-- 
Iñaki Baz Castillo
<i...@aliax.net>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to