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 was archived by the owner on Jun 6, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
-13Lines changed: 0 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,19 +184,6 @@ if e, ok := err.(*push.Error); ok {
184
184
}
185
185
```
186
186
187
-
##### GOAWAY errors
188
-
189
-
You will never receive some of Apple's documented error responses, such as `BadCertificateEnvironment`. This is because Apple sometimes returns error messages in a GOAWAY frame while disconnecting rather than in the usual DATA frame. Go [doesn't currently](https://github.com/golang/go/issues/14627) extract these GOAWAY errors. Instead you may see an error like this:
190
-
191
-
> http2: server sent GOAWAY and closed the connection
192
-
193
-
You can run your application with HTTP/2 logging enabled to see the GOAWAY frames that were sent, including the reason.
194
-
195
-
```console
196
-
$ GODEBUG=http2debug=1 ./myapp
197
-
http2: Transport received GOAWAY len=46 LastStreamID=0 ErrCode=NO_ERROR Debug="{\"reason\":\"BadCertificateEnvironment\"}"
198
-
```
199
-
200
187
### Website Push
201
188
202
189
Before you can send push notifications through Safari and the Notification Center, you must provide a push package, which is a signed zip file containing some JSON and icons.
0 commit comments