Skip to content

Node.js changed HTTP2 API #6

@Addono

Description

@Addono

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions