RE: My client can not receive data in blocking mode

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

 



From: openssl-users [mailto:openssl-users-bounces@xxxxxxxxxxx] On Behalf Of llf@xxxxxxxxxx
Sent: Friday, September 27, 2019 11:42

> The data seems be cached on the server and not be sent out.

Is it? Have you run a network trace? Have you tried waiting longer than 100ms?

If your server is sending a segment shorter than the MSS, you may be seeing Nagle / Delayed ACK interaction. If that's holding up the end of a TLS record, then select will indicate the socket is readable but a subsequent SSL_read will block until the remainder of the record has been received.

A network trace, even without decryption, will give you some idea of when data is being sent, and how much.

--
Michael Wojcik
Distinguished Engineer, Micro Focus




[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