1) http2-xhr should cache GET request and reuse for response larger than MAX_PAYLOAD_SIZE:
Uncaught Error: Should only get 1 request
at socketOnRequest (test/http2-xhr-test.js:843:23)
at test/http2-xhr-test.js:55:13
at Server.<anonymous> (test/test-utils.js:66:13)
at IncomingRequest._onHeaders (node_modules/http2.js/lib/http.js:751:8)
at Stream._onHeaders (node_modules/http2.js/lib/protocol/stream.js:119:8)
at Stream._writeUpstream (node_modules/http2.js/lib/protocol/stream.js:255:10)
at Connection._receive (node_modules/http2.js/lib/protocol/connection.js:428:19)
at Connection._write (node_modules/http2.js/lib/protocol/flow.js:103:10)
at doWrite (_stream_writable.js:301:12)
at writeOrBuffer (_stream_writable.js:287:5)
at Connection.Writable.write (_stream_writable.js:215:11)
at Decompressor.ondata (_stream_readable.js:542:20)
at readableAddChunk (_stream_readable.js:153:18)
at Decompressor.Readable.push (_stream_readable.js:111:10)
at Decompressor.Transform.push (_stream_transform.js:128:32)
at Decompressor._transform (node_modules/http2.js/lib/protocol/compressor.js:1327:10)
at Decompressor.Transform._read (_stream_transform.js:167:10)
at Decompressor.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:301:12)
at writeOrBuffer (_stream_writable.js:287:5)
at Decompressor.Writable.write (_stream_writable.js:215:11)
at Deserializer.ondata (_stream_readable.js:542:20)
at readableAddChunk (_stream_readable.js:153:18)
at Deserializer.Readable.push (_stream_readable.js:111:10)
at Deserializer.Transform.push (_stream_transform.js:128:32)
at Deserializer._transform (node_modules/http2.js/lib/protocol/framer.js:136:16)
at Deserializer.Transform._read (_stream_transform.js:167:10)
at Deserializer.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:301:12)
at writeOrBuffer (_stream_writable.js:287:5)
at Deserializer.Writable.write (_stream_writable.js:215:11)
at Endpoint._write (node_modules/http2.js/lib/protocol/endpoint.js:215:22)
at doWrite (_stream_writable.js:301:12)
at writeOrBuffer (_stream_writable.js:287:5)
at Endpoint.Writable.write (_stream_writable.js:215:11)
at DestroyableTransform.ondata (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:612:20)
at addChunk (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:284:12)
at readableAddChunk (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:271:11)
at DestroyableTransform.Readable.push (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:238:10)
at DestroyableTransform.Transform.push (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:146:32)
at WebSocket.onmessage (node_modules/websocket-stream/stream.js:119:11)
at WebSocket.onMessage (node_modules/websocket-stream/node_modules/ws/lib/WebSocket.js:442:14)
at Receiver.onbinary (node_modules/websocket-stream/node_modules/ws/lib/WebSocket.js:848:10)
at node_modules/websocket-stream/node_modules/ws/lib/Receiver.js:628:18
at node_modules/websocket-stream/node_modules/ws/lib/Receiver.js:368:7
at node_modules/websocket-stream/node_modules/ws/lib/PerMessageDeflate.js:249:5
at afterWrite (_stream_writable.js:355:3)
at onwrite (_stream_writable.js:346:7)
at WritableState.onwrite (_stream_writable.js:90:5)
at afterTransform (_stream_transform.js:79:3)
at TransformState.afterTransform (_stream_transform.js:54:12)
at Zlib.callback (zlib.js:636:5)