You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
In addition to streams, multiple connections can be used. From Apple docs:
You can establish multiple connections to APNs servers to improve performance. When you send a large number of remote notifications, distribute them across connections to several server endpoints. This improves performance, compared to using a single connection, by letting you send remote notifications faster and by letting APNs deliver them faster.
You can check the health of your connection using an HTTP/2 PING frame. Docs
The text was updated successfully, but these errors were encountered:
Apple allows between 400 to 4000 streams.
net/http2 is hard coded at 1000 streams (
maxConcurrentStreams
):https://github.com/golang/net/blob/313cf39d4ac368181bce6960ac9be9e7cee67e68/http2/transport.go#L409 (thanks to @sideshow for pointing this out)
In addition to streams, multiple connections can be used. From Apple docs:
The text was updated successfully, but these errors were encountered: