SSL_read() buffer size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/CABJk5k%3DZWKPyg4%3DxNXU8J15zwUpLse%2BR4Ncikj_WhgqCcXjpcg%40mail.gmail.com.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux