[webkit-changes] [WebKit/WebKit] b09245: Enforce maximum push topic limit in webpushd
bnham
noreply at github.com
Tue Sep 10 22:33:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b09245a3d4dc3f727c822740a8ed5cf143f68d12
https://github.com/WebKit/WebKit/commit/b09245a3d4dc3f727c822740a8ed5cf143f68d12
Author: Ben Nham <nham at apple.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M Source/WebKit/webpushd/PushService.h
M Source/WebKit/webpushd/PushService.mm
Log Message:
-----------
Enforce maximum push topic limit in webpushd
https://bugs.webkit.org/show_bug.cgi?id=279471
rdar://135752810
Reviewed by Brady Eidson.
There is a system-wide push topic limit, after which push delivery becomes unreliably (e.g. lower
priority push topics start getting silently ignored by the server). We should try to avoid
monopolizing all of the system-wide push topics and try to limit ourselves to using a reasonably
high number of topics.
* Source/WebKit/webpushd/PushService.h:
* Source/WebKit/webpushd/PushService.mm:
(WebPushD::PushService::subscribe):
(WebPushD::PushService::updateTopicLists):
Canonical link: https://commits.webkit.org/283459@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