diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-05-30 14:51:13 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-05-30 14:51:13 +0000 |
| commit | 225caa38269323af1bfc2daadff5ec8bd930747f (patch) | |
| tree | e0a5fefde9ee100ba6f32fb36de6707490e4164e /mailinglist/output_launchpad/1816819 | |
| parent | 904141bfb8d5385b75eb3b7afec1dcda89af65a7 (diff) | |
| download | emulator-bug-study-225caa38269323af1bfc2daadff5ec8bd930747f.tar.gz emulator-bug-study-225caa38269323af1bfc2daadff5ec8bd930747f.zip | |
add mailinglist scraper results
Diffstat (limited to 'mailinglist/output_launchpad/1816819')
| -rw-r--r-- | mailinglist/output_launchpad/1816819 | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/mailinglist/output_launchpad/1816819 b/mailinglist/output_launchpad/1816819 new file mode 100644 index 00000000..1a2908fe --- /dev/null +++ b/mailinglist/output_launchpad/1816819 @@ -0,0 +1,60 @@ +Chardev websocket stops listening after first connection disconnects + +Using qemu option: + -chardev socket,id=websock0,websocket,port=13042,host=127.0.0.1,server,nowait -serial chardev:websock0 + +To have a websocket listening chardev. After the first connection disconnects (that does a full websocket handshake), subsequent connections aren't accepted. See below for a reproducing session kindly provided by Daniel: + +$ telnet localhost 13042 +Trying ::1... +telnet: connect to address ::1: Connection refused +Trying 127.0.0.1... +Connected to localhost. +Escape character is '^]'. +GET / HTTP/1.1 +Upgrade: websocket +Connection: Upgrade +Host: localhost:%s +Origin: http://localhost +Sec-WebSocket-Key: o9JHNiS3/0/0zYE1wa3yIw== +Sec-WebSocket-Version: 13 +Sec-WebSocket-Protocol: binary + +HTTP/1.1 101 Switching Protocols +Server: QEMU VNC +Date: Wed, 20 Feb 2019 16:52:04 GMT +Upgrade: websocket +Connection: Upgrade +Sec-WebSocket-Accept: b3DnPh7O8hyYE5sIjQxl/c1J+S8= +Sec-WebSocket-Protocol: binary + +sfsd +�&�only binary frames may be fragmentedConnection closed by foreign host. + +$ telnet localhost 13042 +Trying ::1... +telnet: connect to address ::1: Connection refused +Trying 127.0.0.1... +Connected to localhost. +Escape character is '^]'. +GET / HTTP/1.1 +Upgrade: websocket +Connection: Upgrade +Host: localhost:%s +Origin: http://localhost +Sec-WebSocket-Key: o9JHNiS3/0/0zYE1wa3yIw== +Sec-WebSocket-Version: 13 +Sec-WebSocket-Protocol: binary + + + +...no response..... + +Patch proposed + +https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg05556.html + +I can confirm that this patch fixes the issue. I can now reconnect after a client has disconnected. + +https://git.qemu.org/?p=qemu.git;a=commitdiff;h=dd154c4d9f48a44ad24e1 + |
