javaee / grizzly

Writing scalable server applications in the Java™ programming language has always been difficult. Before the advent of the Java New I/O API (NIO), thread management issues made it impossible for a server to scale to thousands of users. The Grizzly NIO framework has been designed to help developers to take advantage of the Java™ NIO API.
https://javaee.github.io/grizzly/
Other
222 stars 60 forks source link

Should throw exception when using trailer in HTTP/1.0 #1957

Closed shingwaichan closed 7 years ago

shingwaichan commented 7 years ago

Trailer is defined in HTTP/1.1. In the proposed Servlet 4.0 API, when HttpServletResponse#setTrailerFields is invoked with HTTP/1.0, one should throw IllegalStateException.