Commit 223edef
committed
feat(error): add 'Error::is_parse_version_h2' method
The method returns true if the underlying error is a parse error caused
by HTTP2 preface sent over an HTTP1 connection.1 parent 1c70fab commit 223edef
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
195 | 202 | | |
196 | 203 | | |
197 | 204 | | |
| |||
0 commit comments