• Bence Béky's avatar
    Disable WebSockets over HTTP/2 support to avoid crash. · 1a9f003e
    Bence Béky authored
    This crash was introduced in https://crrev.com/c/940463.  It seems to be
    triggered by buggy servers that negotiate HTTP/2 and send 200 OK to an
    HTTP/1.1 WebSocket request.  This CL reverts the functional part of that
    change and in effect disables WebSocket over HTTP/2 support.  Behavior
    is not spec-compliant if Chrome is invoked with the experimental
    --enable-websocket-over-http2 command line flag.  In particular, crash
    might still happen when using this flag.
    
    Bug: 842575
    Change-Id: I8ebb60cda3e056ad37557bd1cfc92088224b80a1
    Reviewed-on: https://chromium-review.googlesource.com/1067986Reviewed-by: default avatarAdam Rice <ricea@chromium.org>
    Commit-Queue: Bence Béky <bnc@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#560454}
    1a9f003e
websocket_stream_test.cc 62.2 KB