Re: SSL_accept doesn't retry BIO_write

2024-05-06 Thread Detlef Vollmann
On 5/6/24 11:48, Michael Richardson wrote: > Now I treat the flush as 'OpenSSL isn't interested in the result > of the last write anymore'. I'm not sure this assumption is correct, > but it seems to work... (Well, it could cause duplicate messages It does not sound correct. I

Re: SSL_accept doesn't retry BIO_write

2024-05-06 Thread Michael Richardson
> Now I treat the flush as 'OpenSSL isn't interested in the result > of the last write anymore'. I'm not sure this assumption is correct, > but it seems to work... (Well, it could cause duplicate messages It does not sound correct. Might be true for a read. But, for a write, I'd thin

SSL_accept doesn't retry BIO_write

2024-05-04 Thread Detlef Vollmann
Hello, I'm trying to write a non-blocking UDP based BIO to use for a DTLS connection. When the write() is called then the data is placed for transmission and '0' is returned. The respective OpenSSL function returns -1 with SSL_ERROR_WANT_WRITE. When the data is actually put on the wire a functio