mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
io: Reply to ping frames
Add an immediate ping reply (pong) to the outgoing stream when a ping is received. Unsolicited pongs are ignored. Signed-off-by: Brandon Carpenter <brandon.carpenter@cypherpath.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
01af17fc00
commit
268a53f50d
2 changed files with 45 additions and 22 deletions
|
@ -60,6 +60,7 @@ struct QIOChannelWebsock {
|
|||
Buffer encoutput;
|
||||
Buffer rawinput;
|
||||
Buffer rawoutput;
|
||||
Buffer ping_reply;
|
||||
size_t payload_remain;
|
||||
QIOChannelWebsockMask mask;
|
||||
guint io_tag;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue