Re: [jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-14 Thread Silvio Bierman via jetty-users
Hi Simone, I stripped my code down to what I consider the bare minimum. The issue still persists. I posted an issue containing my test code. https://github.com/eclipse/jetty.project/issues/10513 Cheers, Silvio On 12-09-2023 20:25, Simone Bordet wrote: Silvio, On Mon, Sep 11, 2023 at

Re: [jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-13 Thread Silvio Bierman via jetty-users
Hello Simone, I was thinking of that. I will create a small application that contains only this handler and reudce that to only absorbing the ZIP. If the issue still shows up I will file an issue and supply my code. If not, I will have to find out myself where we are messing things up.

Re: [jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-13 Thread Simone Bordet via jetty-users
Silvio, On Wed, Sep 13, 2023 at 10:08 AM Silvio Bierman wrote: > I am convinced there is something in my setup that is causing this. > Maybe my embedding code is wrong. Maybe I do not have the right JAR > files on the classpath. Any pointers that could help me locate the > problem would be

Re: [jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-13 Thread Silvio Bierman via jetty-users
Hello Simone, Thanks for this. I looked at your code but have trouble to really relate it to my use case which is basically a servlet doPost that tries to read the POST body synchronously. I do understand your point about exhausting the request body and will try to use your code to improve on

Re: [jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-12 Thread Simone Bordet via jetty-users
Silvio, >> On Mon, Sep 11, 2023 at 2:16 PM Silvio Bierman via jetty-users >> wrote: >> > >> > It appears that all handling of POST requests with ZIP-content as >> > payload in our application is broken with Jetty 12 (I tried both 12.0.0 >> > and 12.0.1). We use an embedded Jetty-12 with ee10 and

Re: [jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-12 Thread Silvio Bierman via jetty-users
I have just tested the same POST requests with our application using http 1.1 and then everything works like before. So the issue only occurs when using http/2. Silvio On 12-09-2023 09:35, Silvio Bierman via jetty-users wrote: Hi Greg, Thanks. The particular parts of the application are

Re: [jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-12 Thread Silvio Bierman via jetty-users
Hi Greg, Thanks. The particular parts of the application are maintenance oriented and not particularly performance critical but I would love to learn more about this. For now, my priority lies with getting our application running on Jetty 12. I was expecting to have to do quite some

Re: [jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-12 Thread Silvio Bierman via jetty-users
Hi Simone, I would have if an exception would be thrown. Unfortunately, that is not the case. The application simply blocks while reading the input from the post body. Kind regards, Silvio On 11-09-2023 19:46, Simone Bordet wrote: Hi, On Mon, Sep 11, 2023 at 2:16 PM Silvio Bierman via

Re: [jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-11 Thread Greg Wilkins via jetty-users
Silvio, Let's get your existing code working but then I'd really like to show you how you can use jetty-12 handlers to do that expansion for you prior to any buffering and/or blocking input streams. cheers On Tue, 12 Sept 2023 at 03:47, Simone Bordet via jetty-users <

Re: [jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-11 Thread Simone Bordet via jetty-users
Hi, On Mon, Sep 11, 2023 at 2:16 PM Silvio Bierman via jetty-users wrote: > > It appears that all handling of POST requests with ZIP-content as > payload in our application is broken with Jetty 12 (I tried both 12.0.0 > and 12.0.1). We use an embedded Jetty-12 with ee10 and http/2. > > Using

[jetty-users] Problem reading POST body with embedded Jetty 12.0.x

2023-09-11 Thread Silvio Bierman via jetty-users
It appears that all handling of POST requests with ZIP-content as payload in our application is broken with Jetty 12 (I tried both 12.0.0 and 12.0.1). We use an embedded Jetty-12 with ee10 and http/2. Using Jetty 11 the code works as expected. We post a ZIP-file from the command line using