Skip to content

Doesn't work with http2 #188

Description

@SPAHI4

I'm using this server https://github.com/molnarg/node-http2

(node:1640) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot set deprecated header: connection

I tried to remove this string https://github.com/glenjamin/webpack-hot-middleware/blob/e0a0c469fb72651ca022328fa45b788c6901845d/middleware.js#L58
works fine, but I'm not sure that it's a nice solution.

upd. after deleting this I get other error

(node:2003) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Sending illegal frame (DATA) in CLOSED state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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