Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f47ea0d22deb3d982ce241df7adf2d68ca9d771b
      
https://github.com/WebKit/WebKit/commit/f47ea0d22deb3d982ce241df7adf2d68ca9d771b
  Author: Brady Eidson <[email protected]>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.h
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.h

  Log Message:
  -----------
  WKWebView Proxy API sometimes needs to recreate the NSURLSession
https://bugs.webkit.org/show_bug.cgi?id=259300
rdar://112164614

Reviewed by Chris Dumez.

Certain types of nw_proxy_config_t objects need to be set at NSURLSession 
creation time.
When one of them is in the proxy config array, recreate the NSURLSession if it 
exists.

* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.h:
* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::SessionWrapper::recreateSessionWithUpdatedProxyConfigurations):
(WebKit::SessionWrapper::initialize):
(WebKit::NetworkSessionCocoa::setProxyConfigData):
(WebKit::NetworkSessionCocoa::applyProxyConfigurationToSessionConfiguration):
* Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.h:

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to