Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.5

Request #16018 XML_RPC keep-alive option
Submitted: 2009-03-11 13:44 UTC
From: sklyar Assigned:
Status: Wont fix Package: XML_RPC (version 1.5.1)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2009-03-11 13:44 UTC] sklyar (Victor Y. Sklyar)
Description: ------------ to implicit close connection after response we need set options keepalive. I propose to add method (in PRC.php) setKeepAlive(bool) to impilicit set this option, by default make (Connection: close) to return answer immmidiately and to createHeaders() add check for if ($this->keepalive) $this->headers .= 'Connection: keep-alive'; else $this->headers .= 'Connection: close'; Expected result: ---------------- i need this option to use ulxmlrpcpp server which by default thinks that I use 'keep-alive' instead of 'close' please, inform me if you can do this

Comments

 [2010-01-08 09:22 UTC] danielc (Daniel Convissor)
-Status: Open +Status: Wont fix
The "Connection" header is part of HTTP 1.1. XML_RPC uses 1.0. This package has been superseded by XML_RPC2, so I am reluctant to add 1.1 support.