[webkit-changes] [WebKit/WebKit] 0827d7: Use std::span more in WebSocketHandshake

Chris Dumez noreply at github.com
Tue Mar 26 10:20:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0827d780deda55ea3c0ea1079a09814fdcd14617
      https://github.com/WebKit/WebKit/commit/0827d780deda55ea3c0ea1079a09814fdcd14617
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M Source/WebCore/Modules/websockets/WebSocketHandshake.cpp
    M Source/WebCore/Modules/websockets/WebSocketHandshake.h
    M Source/WebKit/NetworkProcess/curl/WebSocketTaskCurl.cpp
    M Source/WebKitLegacy/WebCoreSupport/WebSocketChannel.cpp

  Log Message:
  -----------
  Use std::span more in WebSocketHandshake
https://bugs.webkit.org/show_bug.cgi?id=271650

Reviewed by Darin Adler.

* Source/WebCore/Modules/websockets/WebSocketHandshake.cpp:
(WebCore::trimInputSample):
(WebCore::WebSocketHandshake::readServerHandshake):
(WebCore::WebSocketHandshake::readStatusLine):
(WebCore::WebSocketHandshake::readHTTPHeaders):
* Source/WebCore/Modules/websockets/WebSocketHandshake.h:
* Source/WebKit/NetworkProcess/curl/WebSocketTaskCurl.cpp:
(WebKit::WebSocketTask::validateOpeningHandshake):
* Source/WebKitLegacy/WebCoreSupport/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::processBuffer):

Canonical link: https://commits.webkit.org/276696@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list