Re: [jetty-users] Jetty 12.0.1 build vs 12.0.0 build

2023-09-11 Thread Silvio Bierman via jetty-users
Revisiting this issue I can confirm that both building our Scala application with JDK20 against Jetty 12.0.1 jars built from source with JDK20 and building with JDK21 against the standard 12.0.1 jars (built with JDK21) works. Apparently it is an issue with the Scala compiler not being able to

[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

Re: [jetty-users] Jetty 12.0.1 build vs 12.0.0 build

2023-09-11 Thread Simone Bordet via jetty-users
Hi, On Mon, Sep 11, 2023 at 12:42 PM Silvio Bierman via jetty-users wrote: > > Revisiting this issue I can confirm that both building our Scala > application with JDK20 against Jetty 12.0.1 jars built from source with > JDK20 and building with JDK21 against the standard 12.0.1 jars (built > with

[jetty-users] Is OnWebSocketClose called after OnWebSocketError?

2023-09-11 Thread James Reeves via jetty-users
Hi, I'm using the Jetty WebSocket API (for Jetty 11, if that makes a difference). I'm looking at the documentation for the OnWebSocketError event, and it says that this will close the session. However, I'm unable to find out whether this will in turn trigger the OnWebSocketClose event.

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

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 <