Home
last modified time | relevance | path

Searched hist:ad6dd39b19376d19dce68ee71a684b9b61579df1 (Results 1 – 1 of 1) sorted by relevance

/openbmc/bmcweb/http/
H A Dwebsocket.hppdiff ad6dd39b19376d19dce68ee71a684b9b61579df1 Thu Sep 12 06:07:23 CDT 2024 Lei YU <yulei.sh@bytedance.com> websocket: Handle eof and truncated stream

When doRead() fails, the code was checking the `closed` error code and
print the error log if it's other error codes.
In field we noticed that the error code could be `eof` or
`stream_truncated` if the websocket gets closed.
Add the above error codes as well so that it does not print error log on
closed websocket.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Id25f9750521d67643a125d7641eb73c75c328a85