Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: 263bdf6046f5ff49ef419b9f1413bf32c86f430a
https://github.com/WebKit/WebKit/commit/263bdf6046f5ff49ef419b9f1413bf32c86f430a
Author: Basuke Suzuki <[email protected]>
Date: 2026-03-04 (Wed, 04 Mar 2026)
Changed paths:
M Source/WebKit/NetworkProcess/PreconnectTask.cpp
Log Message:
-----------
Cherry-pick 308565@main (d3fa2f1daaba).
https://bugs.webkit.org/show_bug.cgi?id=309026
PreconnectTask should cancel its NetworkLoad on timeout.
https://bugs.webkit.org/show_bug.cgi?id=309026
rdar://171339073
Reviewed by Per Arne Vollan.
When PreconnectTask times out, it fires the completion handler and destroys
itself, but
does not cancel the underlying NetworkLoad. This leaves the
NSURLSessionTask running,
which can result in wasted TLS handshakes and misleading SSL error logs
(e.g., trust
evaluation failure / -1202) after the preconnect has already timed out.
The fix is to call m_networkLoad->cancel() in didTimeout() before invoking
the completion
handler, so the underlying network task is immediately cancelled on timeout.
Manually verified with logs that the underlying network task is cancelled
immediately
after PreconnectTask::didTimeout fires, with no confusing error logs.
* Source/WebKit/NetworkProcess/PreconnectTask.cpp:
(WebKit::PreconnectTask::didTimeout):
Canonical link: https://commits.webkit.org/308565@main
Canonical link: https://commits.webkit.org/298234.473@webkitglib/2.50
Commit: bf934442906b5916327ac88dccad648c90b3c451
https://github.com/WebKit/WebKit/commit/bf934442906b5916327ac88dccad648c90b3c451
Author: Nikolas Zimmermann <[email protected]>
Date: 2026-03-04 (Wed, 04 Mar 2026)
Changed paths:
M Source/WebCore/platform/graphics/gbm/GBMVersioning.h
Log Message:
-----------
Cherry-pick 308544@main (f714e6ba9553).
https://bugs.webkit.org/show_bug.cgi?id=309065
[GBM] gbm_bo_get_fd_for_plane() compat shim should pass DRM_RDWR to match
native behavior
https://bugs.webkit.org/show_bug.cgi?id=309065
Reviewed by Carlos Garcia Campos.
The native gbm_bo_get_fd_for_plane() in libgbm uses O_RDWR | O_CLOEXEC
when calling drmPrimeHandleToFD(), but the compatibility shim in
GBMVersioning.h only passed DRM_CLOEXEC. This adds DRM_RDWR to match.
Not testable on the bots.
* Source/WebCore/platform/graphics/gbm/GBMVersioning.h:
(gbm_bo_get_fd_for_plane):
Canonical link: https://commits.webkit.org/308544@main
Canonical link: https://commits.webkit.org/298234.474@webkitglib/2.50
Compare: https://github.com/WebKit/WebKit/compare/6c99c16e79ed...bf934442906b
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications