Commit 81026094 authored by Cliff Woolley's avatar Cliff Woolley
Browse files

Just a little extra commentary...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90649 13f79535-47bb-0310-9956-ffa450edef68
parent e75abb77
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -2468,9 +2468,11 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_byterange_filter(
            apr_size_t len;

            if (apr_bucket_copy(ec, &foo) != APR_SUCCESS) {
                /* we assume here that if copy failed we can morph
                 * the bucket into a copyable one by reading it... normally
                 * copy won't return anything but APR_SUCCESS or APR_ENOTIMPL
                /* this shouldn't ever happen due to the call to
                 * apr_brigade_length() above which normalizes
                 * indeterminate-length buckets.  just to be sure,
                 * though, this takes care of uncopyable buckets that
                 * do somehow manage to slip through.
                 */
                /* XXX: check for failure? */
                apr_bucket_read(ec, &str, &len, APR_BLOCK_READ);