[Webkit-unassigned] [Bug 245774] New: [GTK][WPE] Wrong close status code returned when the client closes a WebSocket

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 28 03:00:57 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245774

            Bug ID: 245774
           Summary: [GTK][WPE] Wrong close status code returned when the
                    client closes a WebSocket
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: magomez at igalia.com
                CC: bugs-noreply at webkitgtk.org

This can reproduced with https://certification.bbctvapps.co.uk/act/test/networking/v1.3.1/websocket-client-initiated-closure/

When the WebSocket connection is closed, we return the close code provided by soup_websocket_connection_get_close_code(). But this value can be 0, which is an invalid return code, if the client abruptly closes the connection. We should return SOUP_WEBSOCKET_CLOSE_ABNORMAL in this case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220928/67cdb455/attachment.htm>


More information about the webkit-unassigned mailing list