HomePhorge
Diffusion kolab 285bb116b366

Do not set the Content-Length on the download response
285bb116b366Unpublished

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 25 2023, 1:31 PM
Differential Revision
D4187: Do not set the Content-Length on the download response

Event Timeline

Christian Mollekopf <mollekopf@apheleia-it.ch> committed rK285bb116b366: Do not set the Content-Length on the download response (authored by Christian Mollekopf <mollekopf@apheleia-it.ch>).Mar 25 2023, 10:20 AM

Commit No Longer Exists

This commit no longer exists in the repository.