Re: [jetty-users] Fail-fast request handling best practices

2021-04-05 Thread Daniel Gredler
for (the server is allowed to close the > connection at any point). > nginx should see this header and not send more data to Jetty (this is > actually spelled out in the spec) > > Joakim Erdfelt / joa...@webtide.com > > > On Tue, Mar 30, 2021 at 11:45 PM Daniel Gredler > w

[jetty-users] Fail-fast request handling best practices

2021-03-30 Thread Daniel Gredler
Hi, I'm playing around with a Jetty-based API service deployed to AWS Elastic Beanstalk in a Docker container. The setup is basically: EC2 load balancer -> nginx reverse proxy -> Docker container running the Jetty service. One of the API endpoints accepts large POST requests. As a safeguard, I

Re: [jetty-users] Sending HTTP 408 (Request Timeout) response

2017-12-28 Thread Daniel Gredler
e: >>> >>>> Daniel, >>>> >>>> well that looks wrong! I can confirm your test fails for me! >>>> >>>> I find it hard to believe we don't have a test for this... but we have >>>> changed some close handling recently so o

[jetty-users] Sending HTTP 408 (Request Timeout) response

2017-12-27 Thread Daniel Gredler
Hi, I'm upgrading dependencies in a JAX-RS project, and have reached the point where I need to upgrade Jersey, which (via transitive dependencies) involves upgrading Jetty from 9.2.x to 9.4.x. One of our regression tests verifies that in the case of a request timeout we are sending an HTTP 408