Project

General

Profile

Actions

Bug #343

closed

Bad 100-Continue handling

Added by Yehuda Sadeh over 13 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When uploading a file onboth fcgid and fastcgi, the PUT request with the 'Expect: 100-Continue' triggers an automatic 100-Continue response from the server without giving the gateway a chance to respond differently (e.g., when there's no permissions). This leads to the client uploading the entire file and only then does it get the permission denied response.

It might be a problem with the fastcgi/fcgid implementation, and could be that due to buffering it reads more than the header before going to the gateway, which triggers the apache automatic response. Should investigate more into this and if that is the case we might be able to modify fastcgi so that it doesn't do that.


Files

fastcgi-cont3.patch (5.81 KB) fastcgi-cont3.patch Yehuda Sadeh, 09/03/2010 04:49 PM
Actions

Also available in: Atom PDF