cowboy icon indicating copy to clipboard operation
cowboy copied to clipboard

Connection close issue after upgrading from 2.10 to 2.12

Open dergraf opened this issue 5 months ago • 6 comments

After upgrading Cowboy 2.10 to 2.12 we've noticed a different behaviour when downloading a large file using http1.1 over a rather bad internet connection. It's a Java client producing a Exception in thread "main" org.apache.hc.core5.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 119354644; received: 23919978) error. So my guess is the changes related to the timeouts in 2.12 trigger this issue. idle_timeout is unchanged at 5 minutes , so I tried to set the new reset_idle_timeout_on_send which didn't help. Maybe anyone has an idea what could cause the changed behaviour here. Thanks!

dergraf avatar Sep 24 '24 08:09 dergraf