(int streamId, ByteBuffer buffer)
| 306 | |
| 307 | |
| 308 | protected void readPriorityFrame(int streamId, ByteBuffer buffer) throws IOException { |
| 309 | // RFC 7450 priority frames are ignored. Still need to treat as overhead. |
| 310 | try { |
| 311 | swallowPayload(streamId, FrameType.PRIORITY.getId(), 5, false, buffer); |
| 312 | } catch (ConnectionException ignore) { |
| 313 | // Will never happen because swallowPayload() is called with isPadding set |
| 314 | // to false |
| 315 | } |
| 316 | output.increaseOverheadCount(FrameType.PRIORITY); |
| 317 | } |
| 318 | |
| 319 | |
| 320 | protected void readRstFrame(int streamId, ByteBuffer buffer) throws Http2Exception, IOException { |
no test coverage detected