Discussion:
[Bug 53332] Requests with chunked encoding have no body available to FCGI backend
b***@apache.org
2015-03-06 19:06:59 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

***@kace.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@kace.com
--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2016-03-09 02:36:37 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

Wim Lewis <***@omnigroup.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@omnigroup.com
--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2016-03-09 02:37:14 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

Wim Lewis <***@omnigroup.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|***@omnigroup.com |
--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2016-10-03 02:43:19 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

--- Comment #1 from kenjiuno <***@digitaldolphins.jp> ---
I'm sure that the Dominic Benson's patch is useful and worth considering.

Currently sending raw-body with "Transfer-Encoding: chunked" over mod_fcgid has
problems:
- file_get_contents('php://input') always return 0 bytes.
- blocks http response, although php script finished.
- apache logs "mod_fcgid: write timeout to pipe"

raw-body is a non-form data such as "application/octet-stream".

problem on: Apache/2.4.20 (Win32) mod_fcgid/2.3.9 + PHP 7.0.6

The patch can fix these problems.

Someone already reported this to php. But not considered as a bug of php.
https://bugs.php.net/bug.php?id=60826

I hope the patch will be merged!
--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2018-03-14 07:07:22 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

--- Comment #2 from Marcel Klaumünzer <***@iav.de> ---
I have the same problem on Apache 2.4.6 with php-fpm. Is there a reason why the
patch is still not being merged?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2018-03-14 09:52:36 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

--- Comment #3 from Luca Toscano <***@gmail.com> ---
Hi Marcel,

I saw your comment and I thought to add some personal comments but not really
sure what is the official status. From what I gathered the development cycles
available are nowadays more concentrated on mod_proxy_fcgi rather than its
older cousins (like https://httpd.apache.org/mod_fcgid/), so there might be
more responsiveness if you spot any issues there.

Out of curiosity, is there any blocking reason that blocks people from
migrating to mod_proxy_fcgi? I am genuinely asking that since it would be
really great to gather some feedback and possibly implements the missing bits
directly on mod_proxy_fcgi.

Also please note that any new update will only be present in more recent
version of httpd (2.4.6 is a bit old).
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2018-04-16 08:57:38 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

Zacharias Luiten <***@zachariasluiten.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@zachariasluiten.com
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2018-09-01 00:32:13 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

Steffen Moser <***@steffen-moser.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@steffen-moser.de

--- Comment #4 from Steffen Moser <***@steffen-moser.de> ---
We currently experience the same problem even with the more recent
"mod_proxy_fcgi" module in Apache 2.4.33 and PHP-FPM 7.1.17 on a Oracle Solaris
11.3 SRU 34 based Nextcloud instance. Uploads with macOS Finder's builtin
WebDAV client cause empty files in Nextcloud 13.0.5. When changing from
"mod_proxy_fcgi" and PHP-FPM back to the "libphp" module, the problem is gone.

After doing some diagnosis, I am very sure that it is caused by the chunked
encoding WebDAV PUT which is used by Apple's Finder. Other WebDAV clients don't
show the problem with the same server setup.

@Luca: Do you know of any bug number related to this issue in "mod_proxy_fcgi"?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2018-09-01 07:48:58 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

--- Comment #5 from Luca Toscano <***@gmail.com> ---
I do! https://bz.apache.org/bugzilla/show_bug.cgi?id=57087
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2018-09-01 11:29:55 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

Yann Ylavic <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@apache.org

--- Comment #6 from Yann Ylavic <***@gmail.com> ---
*** Bug 50274 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2018-11-07 21:08:56 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

William A. Rowe Jr. <***@apache.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |MassUpdate
Resolution|--- |LATER
Status|NEW |RESOLVED

--- Comment #7 from William A. Rowe Jr. <***@apache.org> ---
Please help us to refine our list of open and current defects; this is a mass
update of old and inactive Bugzilla reports which reflect user error, already
resolved defects, and still-existing defects in httpd.

As repeatedly announced, the Apache HTTP Server Project has discontinued all
development and patch review of the 2.2.x series of releases. The final release
2.2.34 was published in July 2017, and no further evaluation of bug reports or
security risks will be considered or published for 2.2.x releases. All reports
older than 2.4.x have been updated to status RESOLVED/LATER; no further action
is expected unless the report still applies to a current version of httpd.

If your report represented a question or confusion about how to use an httpd
feature, an unexpected server behavior, problems building or installing httpd,
or working with an external component (a third party module, browser etc.) we
ask you to start by bringing your question to the User Support and Discussion
mailing list, see [https://httpd.apache.org/lists.html#http-users] for details.
Include a link to this Bugzilla report for completeness with your question.

If your report was clearly a defect in httpd or a feature request, we ask that
you retest using a modern httpd release (2.4.33 or later) released in the past
year. If it can be reproduced, please reopen this bug and change the Version
field above to the httpd version you have reconfirmed with.

Your help in identifying defects or enhancements still applicable to the
current httpd server software release is greatly appreciated.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2018-12-06 12:27:09 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

--- Comment #9 from Joe Orton <***@redhat.com> ---
Committed with some minor changes, I should have said - I added a check to
ensure that Content-Length is only set if it was not sent by the client (so
less change in behaviour for non-chunked requests); plus I switched to use
apr_off_t_toa and added a debug log message for this case.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
b***@apache.org
2018-12-06 12:24:22 UTC
Permalink
https://bz.apache.org/bugzilla/show_bug.cgi?id=53332

Joe Orton <***@redhat.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED

--- Comment #8 from Joe Orton <***@redhat.com> ---
Thanks for the patch Dominic. Committed in r1848298.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
Loading...