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

2020-05-22 Thread Michael Osipov
Am 2020-05-22 um 22:18 schrieb Oleg Kalnichevski: On Fri, 2020-05-22 at 19:25 +0200, Michael Osipov wrote: Hi folks, I believe that this is a wellknown limitation in blocking I/O, but would like to know how to solve/workaround this issue. The source discussion is here [1]. Bascially, I am

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

2020-05-22 Thread Tamás Cservenák
Expect-continue was among first things implemented in Proximity, and it worked well, as Maven Wagon uses it as well. No other "generic" solution with plain httpClient (and back there it was 3.x). T On Fri, May 22, 2020, 22:18 Oleg Kalnichevski wrote: > On Fri, 2020-05-22 at 19:25 +0200,

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

2020-05-22 Thread Bernd Eckenfels
Hello, the blocking code could use a different reader thread, but maybe that would be too much overhead? (Having a single polling thread might have a lower footprint but could create concurrency stress) The question is if the sync code could use available() after sending some buffers (not

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

2020-05-22 Thread Oleg Kalnichevski
On Fri, 2020-05-22 at 19:25 +0200, Michael Osipov wrote: > Hi folks, > > I believe that this is a wellknown limitation in blocking I/O, but > would > like to know how to solve/workaround this issue. The source > discussion > is here [1]. > > Bascially, I am posting a large file (~7 MB) to

Server-side mid-air connection close on upload

2020-05-22 Thread Michael Osipov
Hi folks, I believe that this is a wellknown limitation in blocking I/O, but would like to know how to solve/workaround this issue. The source discussion is here [1]. Bascially, I am posting a large file (~7 MB) to Tomcat 8.5.54 where the resource needs to be authenticated: 69 [main]