httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject What is a "clogging" input filter?
Date Fri, 19 Apr 2013 15:14:40 GMT
Hi all,

Currently mod_ssl doesn't work with the event MPM, as per the following code:

    if (c->clogging_input_filters && !c->aborted) {
        /* Since we have an input filter which 'cloggs' the input stream,
         * like mod_ssl, lets just do the normal read from input filters,
         * like the Worker MPM does.
        if (cs->pub.state != CONN_STATE_SUSPENDED) {
            cs->pub.state = CONN_STATE_LINGER;

Can anyone explain what it means exactly to clog the input stream?

Am I right in understanding that openssl reads ahead, and therefore there may not be data
for reading when we get to apr_pollset_poll()?

Or is this instead to do with openssl returning SSL_ERROR_WANT_READ during SSL_write? (and
vice versa)?


View raw message