http2-push-example icon indicating copy to clipboard operation
http2-push-example copied to clipboard

Node.js changed HTTP2 API

Open Addono opened this issue 6 years ago • 3 comments

I was getting the following error:

...\http2-push-example\src\server.js:28
    pushStream.respondWithFD(file.fileDescriptor, file.headers)
               ^

TypeError: Cannot read property 'respondWithFD' of null
    at stream.pushStream (...\http2-push-example\src\server.js:28:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Apparently the HTTP2 API of Node was changed in 9.4.

Addono avatar Feb 03 '19 15:02 Addono

I have the same issue

yddmgirl avatar Apr 14 '19 09:04 yddmgirl

see this #8

RamyAlshurafa avatar Feb 15 '20 13:02 RamyAlshurafa

Need merge: https://github.com/RisingStack/http2-push-example/pull/7

NabiKAZ avatar Mar 13 '22 09:03 NabiKAZ