Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

socket not close when parse error #61

Open
lz5 opened this issue May 21, 2015 · 1 comment
Open

socket not close when parse error #61

lz5 opened this issue May 21, 2015 · 1 comment

Comments

@lz5
Copy link

lz5 commented May 21, 2015

If polipo receive request like:

POST / HTTP/1.1

or

POST / HTTP/1.1
Host: www.example.com

after response with HTTP 405 error or "Couldn't parse URL ...", the connection->fd will never close (leak)

@jech
Copy link
Owner

jech commented Jun 25, 2015

Probably the same as #34.

The issue appears to be that when notifyObject is called in httpServerRequest, there is nobody listening on the object.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants