Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-238

req.connection.keepalive should be writable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • 3.3.1
    • 3.3.x
    • core
    • None

    Description

      The attribute req.connection.keepalive should be writable. This would allow handlers to use:

      req.connection.keepalive = apache.AP_CONN_CLOSE

      Doing this before any data is written has the effect of disabling keepalive and also turning off chunked encoding for response content when no content length has been supplied.

      Attachments

        Activity

          People

            grahamd Graham Phillip Dumpleton
            grahamd Graham Phillip Dumpleton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: