commit | bc5f6fe0c116857a46a44e74fb9002678816fb81 | [log] [tgz] |
---|---|---|
author | Shiho Noda <[email protected]> | Mon Sep 13 10:01:35 2021 |
committer | Chromium LUCI CQ <[email protected]> | Mon Sep 13 10:01:35 2021 |
tree | 868d201ea11b7127881746f5403fc8a9a38af1ee | |
parent | 240733276fc077f99fb7e96b94c92f8a7b85ead6 [diff] |
Improve Chrome's WebSocket server to support fragmented messages Current design don't support fragmented messages, so improve it. If the message is fragmented, the decode procedure (WebSocketEncoder::DecodeFrame function) is repeated until the end of message comes in WebSocket::Read function. In WebSocketEncoder::DecodeFrame function, parse result status “FRAME_OK_MIDDLE” returned as a return value when the frame is not the final. Finally, integrated messages can be got from WebSocket::Read function. The android_web_socket.cc change is only renaming enum: virtually nothing changed. Bug: 1069431 Change-Id: Ica1a7d8929213bf1c12c53a41a522e455a1b4f09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3109589 Reviewed-by: Yang Guo <[email protected]> Reviewed-by: Yoichi Osato <[email protected]> Reviewed-by: Adam Rice <[email protected]> Commit-Queue: Shiho Noda <[email protected]> Cr-Commit-Position: refs/heads/main@{#920705}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.