Commit 145cd2f5 authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

I don't see how *len > wanted, but leave the check there.

Stick a comment in there as a 'Waldo was here' so that if I ever see this
again, I realize that I've actually thought about it and didn't think >
was necessary.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97372 13f79535-47bb-0310-9956-ffa450edef68
parent 6cb32cc0
Loading
Loading
Loading
Loading
+3 −0
Changes for ssl_engine_io.c: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -656,6 +656,9 @@ static apr_status_t ssl_io_input_read(bio_filter_in_ctx_t *inctx,
            inctx->cbuf.length += bytes;
            return APR_SUCCESS;
        }
        /* This could probably be *len == wanted, but be safe from stray
         * photons.
         */
        if (*len >= wanted) {
            return APR_SUCCESS;
        }