Re: Server-side mid-air connection close on upload

2020-05-27 Thread Michael Osipov
Am 2020-05-27 um 22:51 schrieb Oleg Kalnichevski: On Wed, 2020-05-27 at 22:14 +0200, Oleg Kalnichevski wrote: On Wed, 2020-05-27 at 21:10 +0200, Michael Osipov wrote: Am 2020-05-27 um 19:13 schrieb Oleg Kalnichevski: On Wed, 2020-05-27 at 18:26 +0200, Michael Osipov wrote: ...

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Oleg Kalnichevski
On Wed, 2020-05-27 at 22:14 +0200, Oleg Kalnichevski wrote: > On Wed, 2020-05-27 at 21:10 +0200, Michael Osipov wrote: > > Am 2020-05-27 um 19:13 schrieb Oleg Kalnichevski: > > > On Wed, 2020-05-27 at 18:26 +0200, Michael Osipov wrote: > > > > > > > > > > ... > > > > > > > > > > > > > >

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Oleg Kalnichevski
On Wed, 2020-05-27 at 21:10 +0200, Michael Osipov wrote: > Am 2020-05-27 um 19:13 schrieb Oleg Kalnichevski: > > On Wed, 2020-05-27 at 18:26 +0200, Michael Osipov wrote: > > > > > > > ... > > > > > > > >

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Michael Osipov
Am 2020-05-27 um 19:13 schrieb Oleg Kalnichevski: On Wed, 2020-05-27 at 18:26 +0200, Michael Osipov wrote: ... https://github.com/ok2c/httpcomponents-core/commit/732a99563e73529e0359625fda54351b843b2e34 This patch does not work (reliably): * I have never seen EarlyResponseException *

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Oleg Kalnichevski
On Wed, 2020-05-27 at 18:26 +0200, Michael Osipov wrote: > ... https://github.com/ok2c/httpcomponents-core/commit/732a99563e73529e0359625fda54351b843b2e34 > > This patch does not work (reliably): > > * I have never seen EarlyResponseException > * When run over HTTPS I see early responses

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Michael Osipov
Am 2020-05-27 um 14:47 schrieb Oleg Kalnichevski: On Wed, 2020-05-27 at 14:32 +0200, Oleg Kalnichevski wrote: ... https://github.com/apache/httpcomponents-client/commit/a554aadabafe26ae5412b26a311ffa105e623cc2 Tried with various timeouts, 5 ms, 15 ms, 25 ms, 50 ms, 500 ms. Connections

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Oleg Kalnichevski
On Wed, 2020-05-27 at 14:32 +0200, Oleg Kalnichevski wrote: > ... > https://github.com/apache/httpcomponents-client/commit/a554aadabafe26ae5412b26a311ffa105e623cc2 > > > > Tried with various timeouts, 5 ms, 15 ms, 25 ms, 50 ms, 500 ms. > > Connections are correctly closed when: > > * early

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Oleg Kalnichevski
On Wed, 2020-05-27 at 14:23 +0200, Michael Osipov wrote: > Am 2020-05-27 um 12:14 schrieb Oleg Kalnichevski: > > On Wed, 2020-05-27 at 00:01 +0200, Michael Osipov wrote: > > > Am 2020-05-26 um 23:09 schrieb Oleg Kalnichevski: > > > > On Tue, 2020-05-26 at 22:28 +0200, Michael Osipov wrote: > > > >

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Michael Osipov
Am 2020-05-27 um 12:14 schrieb Oleg Kalnichevski: On Wed, 2020-05-27 at 00:01 +0200, Michael Osipov wrote: Am 2020-05-26 um 23:09 schrieb Oleg Kalnichevski: On Tue, 2020-05-26 at 22:28 +0200, Michael Osipov wrote: Am 2020-05-26 um 20:20 schrieb Oleg Kalnichevski: On Tue, 2020-05-26 at 17:58

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Oleg Kalnichevski
On Wed, 2020-05-27 at 00:01 +0200, Michael Osipov wrote: > Am 2020-05-26 um 23:09 schrieb Oleg Kalnichevski: > > On Tue, 2020-05-26 at 22:28 +0200, Michael Osipov wrote: > > > Am 2020-05-26 um 20:20 schrieb Oleg Kalnichevski: > > > > On Tue, 2020-05-26 at 17:58 +, Bernd Eckenfels wrote: > > >

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Oleg Kalnichevski
On Wed, 2020-05-27 at 11:48 +0200, Michael Osipov wrote: > Am 2020-05-27 um 11:39 schrieb Oleg Kalnichevski: > > On Wed, 2020-05-27 at 00:01 +0200, Michael Osipov wrote: > > > > > > > > > ... > > > > > So far, the patch works and I can access the first 401 response. > > > > > > > I found a

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Michael Osipov
Am 2020-05-27 um 11:39 schrieb Oleg Kalnichevski: On Wed, 2020-05-27 at 00:01 +0200, Michael Osipov wrote: ... So far, the patch works and I can access the first 401 response. I found a pretty nasty bug in HttpClient that leads to re-use of connections after request termination. I am

Re: Server-side mid-air connection close on upload

2020-05-27 Thread Oleg Kalnichevski
On Wed, 2020-05-27 at 00:01 +0200, Michael Osipov wrote: > ... > So far, the patch works and I can access the first 401 response. > I found a pretty nasty bug in HttpClient that leads to re-use of connections after request termination. I am working on a fix. Oleg