Re: [osv-dev] [PATCH] httpserver: properly handle chunked POST requests with body

2020-02-18 Thread Waldek Kozaczuk
On Tuesday, February 18, 2020 at 10:12:56 AM UTC-5, Nadav Har'El wrote: > > > On Mon, Feb 17, 2020 at 11:58 PM Waldemar Kozaczuk > wrote: > >> This bug was discovered when running httpserver unit tests with python >> scripts upgraded to version 3. The new version of the requests module >>

Re: [osv-dev] [PATCH] httpserver: properly handle chunked POST requests with body

2020-02-18 Thread Nadav Har'El
On Mon, Feb 17, 2020 at 11:58 PM Waldemar Kozaczuk wrote: > This bug was discovered when running httpserver unit tests with python > scripts upgraded to version 3. The new version of the requests module > chunks > POST requests with body so that they are sent over socket in two parts - > the

[osv-dev] [PATCH] httpserver: properly handle chunked POST requests with body

2020-02-17 Thread Waldemar Kozaczuk
This bug was discovered when running httpserver unit tests with python scripts upgraded to version 3. The new version of the requests module chunks POST requests with body so that they are sent over socket in two parts - the request and the body. Our httpserver had a bug in how it consumed such