tus-php
tus-php copied to clipboard
Upload resume is impossible with Apache and FastCGI (php-fpm)
trafficstars
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:
- upload a file and ensure that the Time to upload IS Big enough to pause it
- pause the upload
- 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