* Only send 100-continue if the status code so far indicates success.
PR: 43711
Submitted by: rpluem
Reviewed by: rpluem, niq, trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@660569
13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.2.9
+ *) http_filters: Don't return 100-continue on redirects. PR 43711
+ [Ruediger Pluem]
+
*) mod_ssl: Fix a memory leak with connections that have zlib compression
turned on. PR 44975 [Joe Orton, Amund Elstad <Amund.Elstad ist.com>,
Dr Stephen Henson <steve openssl.org>]
http://people.apache.org/~fielding/p/ab-sync.txt
+1: fielding, jim, wrowe
- * http_filters: Don't return 100-continue on redirects. PR 43711
- Trunk version of patch:
- http://svn.apache.org/viewvc?rev=657933&view=rev
- Backport version for 2.2.x of patch:
- Trunk version of patch works
- +1: rpluem, niq, trawick
-
* mod_dav: Return "method not allowed" if the destination URI of a WebDAV
copy / move operation is no DAV resource. PR 44734
Trunk version of patch:
(ctx->state == BODY_LENGTH && ctx->remaining > 0)) &&
f->r->expecting_100 && f->r->proto_num >= HTTP_VERSION(1,1) &&
!(f->r->eos_sent || f->r->bytes_sent)) {
- if (ap_is_HTTP_CLIENT_ERROR(f->r->status)) {
+ if (!ap_is_HTTP_SUCCESS(f->r->status)) {
ctx->state = BODY_NONE;
ctx->eos_sent = 1;
} else {