View | Details | Raw Unified | Return to bug 46709
Collapse All | Expand All

(-)httpd-2.2.3.orig/server/protocol.c (-1 / +7 lines)
Lines 1024-1030 Link Here
1024
         * the server must understand or return 417 Expectation Failed.
1024
         * the server must understand or return 417 Expectation Failed.
1025
         */
1025
         */
1026
        if (strcasecmp(expect, "100-continue") == 0) {
1026
        if (strcasecmp(expect, "100-continue") == 0) {
1027
            r->expecting_100 = 1;
1027
            if (!apr_table_get(r->subprocess_env, "ignorecontinue")) {
1028
                r->expecting_100 = 1;
1029
            } else {
1030
		r->expecting_100 = 0;
1031
                ap_log_error(APLOG_MARK, APLOG_INFO, 0, r,
1032
                "ignoring 100-continue as requested per configuration" );
1033
            }
1028
        }
1034
        }
1029
        else {
1035
        else {
1030
            r->status = HTTP_EXPECTATION_FAILED;
1036
            r->status = HTTP_EXPECTATION_FAILED;

Return to bug 46709