Skip to content

[Core] Queueing an empty response can hang the connection #1028

Closed
@abhinavsingh

Description

@abhinavsingh

Hangs

def handle_request(self, request: HttpParser) -> None:
        self.client.queue(okResponse())

Works

def handle_request(self, request: HttpParser) -> None:
        self.client.queue(okResponse(content=b'Hello World'))

This also happens for HttpProxyPlugin when trying to dispatch an empty response. See #1039 and #1040 for background.

Metadata

Metadata

Assignees

Labels

BugBug report in proxy server

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions