Commented: (MODPYTHON-238) req.connection.keepalive should
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Commented: (MODPYTHON-238) req.connection.keepalive should




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Commented: (MODPYTHON-238) req.connection.keepalive should  
Mike Looijmans (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-09-07 06:13 AM


[ https://issues.apache.org/jira/brow...action_12511031 ]

Mike Looijmans commented on MODPYTHON-238:
------------------------------------------

If there is a separate req.chunked, I'd advise to keep them separated. It's 
perfectly valid to have
a chunked stream with a connection: close setting, and someone is bound to u
se that. For one thing,
it allows the client to reliably detect whether all the data has really been
 sent.

Having a side-effect like setting one disables the other is bound to surpris
e someone.

Mike Looijmans
Philips Natlab / Topic Automation






> req.connection.keepalive should be writable
> -------------------------------------------
>
>                 Key: MODPYTHON-238
>                 URL: https://issues.apache.org/jira/browse/MODPYTHON-238
>             Project: mod_python
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.3.1
>            Reporter: Graham Dumpleton
>            Priority: Minor
>
> The attribute req.connection.keepalive should be writable. This would allo
w handlers to use:
>   req.connection.keepalive = apache.AP_CONN_CLOSE
> Doing this before any data is written has the effect of disabling keepalive and al
so turning off chunked encoding for response content when no content length has been
 supplied.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:44 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register