Description
Description of problem
In the client , the trace is:
TRACE write message: GenMessage { header: MessageHeader { length: 99, stream_id: 1, type_: 1, flags: 0 }, payload: [10, 18, 109, 111, 100, 101, 108, 46, 77, 111, 100, 101, 108, 83, 101, 114, 118, 105, 99, 101, 18, 8, 84, 101, 120, 116, 67, 104, 97, 116, 26, 3, 10, 1, 49, 32, 128, 168, 214, 185, 7, 42, 18, 10, 5, 107, 101, 121, 45, 49, 18, 9, 118, 97, 108, 117, 101, 45, 49, 45, 49, 42, 18, 10, 5, 107, 101, 121, 45, 49, 18, 9, 118, 97, 108, 117, 101, 45, 49, 45, 50, 42, 16, 10, 5, 107, 101, 121, 45, 50, 18, 7, 118, 97, 108, 117, 101, 45, 50] }
[00:06:50.302] (1534fd905700) TRACE Read msg err: Socket("early eof")
[00:06:50.303] (1534fdf08700) ERROR write_message got error: Socket("Broken pipe (os error 32)")
[00:06:50.303] (1534fdf08700) TRACE Reader task exit.
In the server, the trace is:
[00:06:49.978] (1531bb179700) TRACE Receive shutdown.
[00:06:49.978] (1531bb179700) TRACE Reader task exit.
[00:06:49.978] (1531bb179700) TRACE Writer task exit
Looks like the client send the conn is closed . Occasionally, successful data transmission occurs after extensive attempts.
Expected result
I don't know what will cause this problem . Need help.
Actual result
I write it in a deamon test demon