There are 2 different versions of the program, using keep-alive
First program, between the call to the connect operation and the write operation, there is a short amount of time
Second program, write operation is called immediately after the connect operation.
At the same time, the first program shows a rps of 2 times less than the second program.
After tracing tcpdump, I can see that the server seems to "remember" the time interval between the connection and the first write, and then follows it when sending all subsequent responses.
With what it can be connected?
Repeats on linux kernel 4.4.0-31-generic