diff options
author | Brandon Carpenter | 2017-09-12 17:21:49 +0200 |
---|---|---|
committer | Daniel P. Berrange | 2017-10-04 14:21:53 +0200 |
commit | ff1300e626949fa9850b0f91dc5e8c2cb45b6a88 (patch) | |
tree | 197f76576bfb71b5bf918a35f610b11fd6ca0618 /include/io | |
parent | io: Small updates in preparation for websocket changes (diff) | |
download | qemu-ff1300e626949fa9850b0f91dc5e8c2cb45b6a88.tar.gz qemu-ff1300e626949fa9850b0f91dc5e8c2cb45b6a88.tar.xz qemu-ff1300e626949fa9850b0f91dc5e8c2cb45b6a88.zip |
io: Add support for fragmented websocket binary frames
Allows fragmented binary frames by saving the previous opcode. Handles
the case where an intermediary (i.e., web proxy) fragments frames
originally sent unfragmented by the client.
Signed-off-by: Brandon Carpenter <brandon.carpenter@cypherpath.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'include/io')
-rw-r--r-- | include/io/channel-websock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/io/channel-websock.h b/include/io/channel-websock.h index 3c9ff84727..7c896557c5 100644 --- a/include/io/channel-websock.h +++ b/include/io/channel-websock.h @@ -65,6 +65,7 @@ struct QIOChannelWebsock { guint io_tag; Error *io_err; gboolean io_eof; + uint8_t opcode; }; /** |