Just letting you know that this I am experiencing with non-blocking IO. On Wed, Feb 5, 2025 at 1:37 PM radiatejava <radiatejava@xxxxxxxxx> wrote: > > I am experiencing an issue while doing read using the API > SSL_read(ssl, buffer, num). If the server response size is say 20 > bytes and I am trying to read 10 bytes into a buffer of size 10, the > call always returns SSL_ERROR_WANT_READ, even the ones that I call > after SSL_ERROR_WANT_READ, it does not seem to end. If I try to use a > buffer of size >= 20, it works fine. > > Is there any limitation on buffer size to be used in the SSL_read > call? Shall I always use a sufficiently large buffer size like 1024 or > more? -- You received this message because you are subscribed to the Google Groups "openssl-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe@xxxxxxxxxxx. To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/CABJk5kmtvN-uQF0xEe4FkDkki%2Brd%3DyumnWgROPMuQ2s8NPiG-Q%40mail.gmail.com.