Commit 72007291 authored by Ruediger Pluem's avatar Ruediger Pluem
Browse files

* Bit operators should be more efficient then the modulo operator (provided...

* Bit operators should be more efficient then the modulo operator (provided the compiler does not optimize on its own)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1162669 13f79535-47bb-0310-9956-ffa450edef68
parent b5ec7c1e
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/http/byterange_filter.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -391,7 +391,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_byterange_filter(ap_filter_t *f,
        }

        APR_BRIGADE_CONCAT(bsend, tmpbb);
        if (i && i % 32 == 0) {
        if (i && !(i & 0x1F)) {
            /*
             * Every now and then, pass what we have down the filter chain.
             * In this case, the content-length filter cannot calculate and