BIO_read hangs, how can I know if the server wants to send data?

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

 




On 26/04/16 17:12, Hanno B?ck wrote:
> Why is this so much more split up? And to what correspond these
> BIO_read chunks on the protocol level? Are these TLS records? TCP
> packets? Is there something horribly wrong with my server config
> because it splits them up in so many small parts?


Odd. OpenSSL should read and process whole records in one go. As long as
the size that you pass to BIO_read is bigger than the record size you
should get passed back to your code a whole record in one go.

You might want to do a wireshark capture and see what app data record
sizes are being passed back.

Matt





[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