Skip to content

Firefox and Safari error out when download files greater than 1MB #14082

@etheriau

Description

@etheriau

Jetty version(s)

12.1.4

Jetty Environment

ee10

HTTP version

1.1

Java version/vendor (use: java -version)
openjdk version "25" 2025-09-16 LTS
OpenJDK Runtime Environment Corretto-25.0.0.36.2 (build 25+36-LTS)
OpenJDK 64-Bit Server VM Corretto-25.0.0.36.2 (build 25+36-LTS, mixed mode, sharing)

OS type/version
Linux, Debian, 13

Description

In my ee10 environment, I'm using a ResourceHandler; this has been working great, however, in Firefox and Safari, if I attempt to download a .ZIP file that is above 1MB (1209991 exactly), it fails -- Firefox provides the NS_ERROR_NET_PARTIAL_TRANSFER. There is no error message logged on the Jetty side.

How to reproduce?

I have tried setting the minimum mapped file size and using the ByteBufferPool.NON_POOLING to no avail. Unclear what other information would be needed -- it is a manually configured ResourceHandler.

Please advise.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions