diff options
| author | Daniel P. Berrange | 2017-10-09 18:52:28 +0200 |
|---|---|---|
| committer | Daniel P. Berrange | 2017-10-16 17:57:08 +0200 |
| commit | 6d5d23b00709510d55711661c7ca41408fd9934e (patch) | |
| tree | c417b0517d975a8635fbc4f7ffa6b15d32492d6e /scripts/switch-timer-api | |
| parent | io: get rid of bounce buffering in websock write path (diff) | |
| download | qemu-6d5d23b00709510d55711661c7ca41408fd9934e.tar.gz qemu-6d5d23b00709510d55711661c7ca41408fd9934e.tar.xz qemu-6d5d23b00709510d55711661c7ca41408fd9934e.zip | |
io: cope with websock 'Connection' header having multiple values
The noVNC server sends a header "Connection: keep-alive, Upgrade" which
fails our simple equality test. Split the header on ',', trim whitespace
and then check for 'upgrade' token.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
