On 31 Aug 2014, at 14:34, Iñaki Baz Castillo <i...@aliax.net> wrote:
> It is sad to know that this question will never be replied by the > OpenSSL developers. May I know what I should do? I am not sure whether > this is a bug or not, should I report it as a bug? If so, how? The > OpenSSL homepage provides NO WAY to report a bug. > > This project really annoys me. > > 2014-08-21 19:34 GMT+02:00 Iñaki Baz Castillo <i...@aliax.net>: >> 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 I don't think you can do that. A user message is mapped into a DTLS message. This is limited by the protocol (I think there is a limit in the 16 KB range) and by the MTU of the path, which is normally about 1500 bytes. Sending larger frames would require IP level fragmentation, which normally has to be avoided. >> 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? Not sure... I think allowing this in the API doesn't make much sense. Best regards Michael >> >> Thanks a lot. >> >> -- >> Iñaki Baz Castillo >> <i...@aliax.net> > > > > -- > 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 > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org