HomePhorge
Diffusion kolab 2f0c3d5f5129

Do not set the Content-Length on the download response
2f0c3d5f5129Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Do not set the Content-Length on the download response

Summary:
Seems related to:

Apparently swoole uses the chunked transfer encoding,
and according to the rfc we're not supposed to set Content-Length in
that case.

In any case with the Content-Length header swoole crashes, without
everything seems to work.

Differential Revision: https://git.kolab.org/D4187

Details

Provenance
mollekopfAuthored on Feb 20 2023, 3:57 PM
mollekopfPushed on Mar 23 2023, 9:30 AM
Differential Revision
D4187: Do not set the Content-Length on the download response

Event Timeline

Christian Mollekopf <mollekopf@apheleia-it.ch> committed rK2f0c3d5f5129: Do not set the Content-Length on the download response (authored by Christian Mollekopf <mollekopf@apheleia-it.ch>).Mar 23 2023, 9:00 AM

Commit No Longer Exists

This commit no longer exists in the repository.