Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D066EF51 for ; Tue, 12 Feb 2013 11:05:32 +0000 (UTC) Received: (qmail 90592 invoked by uid 500); 12 Feb 2013 11:05:31 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 90522 invoked by uid 500); 12 Feb 2013 11:05:31 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 90505 invoked by uid 99); 12 Feb 2013 11:05:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 11:05:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 11:05:28 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id CA563238896F; Tue, 12 Feb 2013 11:05:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1445101 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS modules/http/byterange_filter.c Date: Tue, 12 Feb 2013 11:05:08 -0000 To: cvs@httpd.apache.org From: rjung@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130212110508.CA563238896F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rjung Date: Tue Feb 12 11:05:08 2013 New Revision: 1445101 URL: http://svn.apache.org/r1445101 Log: byterange filter: Remove apr 1.3 dependency by dropping apr_array_clear. The dependency was introduced by a backport in 2.2.22. Submitted by: covener Reviewed by: rjung, trawick Modified: httpd/httpd/branches/2.2.x/CHANGES httpd/httpd/branches/2.2.x/STATUS httpd/httpd/branches/2.2.x/modules/http/byterange_filter.c Modified: httpd/httpd/branches/2.2.x/CHANGES URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?rev=1445101&r1=1445100&r2=1445101&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/CHANGES [utf-8] (original) +++ httpd/httpd/branches/2.2.x/CHANGES [utf-8] Tue Feb 12 11:05:08 2013 @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.2.24 + *) core: Remove unintentional APR 1.3 dependency introduced with + Apache 2.2.22. [Eric Covener] + *) core: Use a TLS 1.0 close_notify alert for internal dummy connection if the chosen listener is configured for https. [Joe Orton] Modified: httpd/httpd/branches/2.2.x/STATUS URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/STATUS?rev=1445101&r1=1445100&r2=1445101&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/STATUS (original) +++ httpd/httpd/branches/2.2.x/STATUS Tue Feb 12 11:05:08 2013 @@ -94,12 +94,6 @@ RELEASE SHOWSTOPPERS: PATCHES ACCEPTED TO BACKPORT FROM TRUNK: [ start all new proposals below, under PATCHES PROPOSED. ] - * byterange filter: Remove apr 1.3 dependency by dropping apr_array_clear - trunk patch: n/a - 2.4.x patch: n/a - 2.2.x patch: http://people.apache.org/~covener/patches/2.2.x-byterange-table_clear.diff - +1: covener, rjung, trawick - * mod_cache: Allow providers to decide whether to cache responses with code 206. Trunk version of patch: Modified: httpd/httpd/branches/2.2.x/modules/http/byterange_filter.c URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/http/byterange_filter.c?rev=1445101&r1=1445100&r2=1445101&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/modules/http/byterange_filter.c (original) +++ httpd/httpd/branches/2.2.x/modules/http/byterange_filter.c Tue Feb 12 11:05:08 2013 @@ -506,7 +506,7 @@ static int ap_set_byterange(request_rec * return as a single range: 0- */ if (start == 0) { - apr_array_clear(*indexes); + (*indexes)->nelts = 0; idx = (indexes_t *)apr_array_push(*indexes); idx->start = start; idx->end = end;