CometD 4.0.0 Released

The CometD Project is happy to announce the availability of CometD 4.0.0. CometD 4.0.0 builds on top of the CometD 3.1.x series, bringing improvements and new features. You can find a migration guide at the official CometD documentation site. What’s new in CometD 4.0.0 The main theme behind CometD 4.0.x Read more

By Simone Bordet, ago

Fast MultiPart FormData

Jetty’s venerable MultiPartInputStreamParser for parsing MultiPart form-data has been deprecated and replaced by the much more efficient MultiPartFormInputStream, based on a new MultiPartParser. This is much faster, but less forgiving of non-compliant format. So we have implemented a legacy mode to access the old parser, but with enhancements to make Read more

Conscrypting native SSL for Jetty

By default, Jetty uses the JSSE provider from the JVM for SSL, which has three significant problems: It’s slow! It doesn’t support ALPN in Java 8, which is needed for HTTP/2 It’s REALLY slow! There are workarounds for both problems: using SSL offloading and/or using our boot path patched JSSE for Read more

By gregw, ago

HTTP Trailers in Jetty

HTTP/1.1 and HTTP/2 have the concept of trailers, that is HTTP headers that can be sent after the message body, in both requests and responses. In HTTP/1.1 trailers can be sent using the chunked transfer coding, for example in requests (but the same is valid in responses): POST / HTTP/1.1\r\n Read more

By Simone Bordet, ago

Jetty, Cookies and RFC6265 Compliance

Starting with patch 9.4.3, Jetty will be fully compliant with RFC6265, which presents changes to cookies which may have significant impact for some users. Up until now Jetty has supported Version=1 cookies defined in RFC2109 (and continued in RFC2965) which allows for special/reserved characters (control, separator, et al) to be enclosed within double Read more

By Chris Walker, ago

Patch for a Patch!

Are you an Eclipse Jetty user who enjoys contributing to the open source project and wants to let the rest of the world know? Of course you are! As a thank you to our great community,  we’ve had some fancy patches made up and have launched a Patch for a Patch Read more

By Chris Walker, ago

CometD 3.1.0 Released

The CometD Project is happy to announce the availability of CometD 3.1.0. CometD 3.1.0 builds on top of the CometD 3.0.x series, bringing improvements and new features. You can find a migration guide at the official CometD documentation site. What’s new in CometD 3.1.0 CometD 3.1.0 now supports HTTP/2. HTTP/2 Read more

By Simone Bordet, ago

Thread Starvation with Eat What You Kill

This is going to be a blog of mixed metaphors as I try to explain how we avoid thread starvation when we use Jetty’s eat-what-you-kill[n]The EatWhatYouKill strategy is named after a hunting proverb in the sense that one should only kill to eat. The use of this phrase is not Read more

By gregw, ago

HTTP/2 at JAX

I was invited to speak at the JAX conference in Mainz about HTTP/2. Jetty has always been a front-runner when it’s about web protocols: first with WebSocket, then with SPDY and finally with HTTP/2. We believe that HTTP/2 is going to make the web much better, and we try to Read more

Unix Sockets for Jetty 9.4?

In the 20th year of Jetty development we are finally considering a bit of native code integration to provide Unix Domain Sockets in Jetty 9.4! Typically the IO performance of pure java has been close enough to native code for all the use cases of a HTTP Server, with the Read more

By gregw, ago