Skip to content

request body 'end' after destroy() asserts #66

@ronag

Description

@ronag

There is currently a race in body request handling when body.'end' is emitted after body.destroy(err) (this is a compat behavior of Readable and of legacy streams) which causes a failure on assert(this.socket) in the finished(body, ...) handler.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions