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

req.connection.keepalive should be writable

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.x
    • Component/s: core
    • Labels:
      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

            • Assignee:
              grahamd Graham Dumpleton
              Reporter:
              grahamd Graham Dumpleton
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: