ankitpokhrel / ankitpokhrel/tus-php

Upload resume is impossible with Apache and FastCGI (php-fpm)

Open
#445 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1.5k
Forks
220
PR merge metrics
No merged PRs in 30d

Description

> **Note:** Please report any security issues directly to hello [at] ankit.pl

**Describe the bug**
It is impossible to resume an upload when the server is Apache with fast CGI activated. Reproduced with fastcgi v2.3.10

**To Reproduce**
Steps to reproduce the behavior:
1. upload a file and ensure that the Time to upload IS Big enough to pause it
2. pause the upload
3. Resume it : the upload starts from 0...

**Expected behavior**
After resuming, the upload starts where it was stopped

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Someone encountered the PB : https://www.jeffgeerling.com/blog/2017/apache-fastcgi-proxyfcgi-and-empty-post-bodies-chunked-transfer

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.