[
https://issues.apache.org/jira/browse/SHINDIG-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Baxter resolved SHINDIG-1338.
----------------------------------
Resolution: Won't Fix
Moved PHP to attic so we are closing this issue for now
> using shindig in a standalone PHP server : a minimal patch
> ----------------------------------------------------------
>
> Key: SHINDIG-1338
> URL: https://issues.apache.org/jira/browse/SHINDIG-1338
> Project: Shindig
> Issue Type: Improvement
> Components: PHP
> Affects Versions: 1.0
> Environment: GNU/Linux
> Reporter: Loic Dachary
> Labels: long, polling, server, standalone
> Fix For: 1.0.2
>
> Attachments: s.patch
>
>
> Hi,
> While implementing a standalone PHP server to handle a large number of
> simultaneous makeRequest with a small memory footprint ( necessary for web
> applications using long polling ), I had to apply the attached patch to PHP
> shindig to make it work. In a nutshell the patch addresses the following
> issues:
> * wrap echo / print / die functions so that they can be overriden by the
> standalone PHP server
> * cache some objects used during the call of the doPost function of
> ProxyHandler so that they are not rebuilt when doPost is called a second time
> * fix a few PHP deprecation required by E_STRICT
> * add the public_cer configuration string to use instead of the computed
> string based on HTTP_HOST
> I believe this fix is simple enough to be applied to later versions of PHP
> shindig. However, because a number of servers are probably still running on
> PHP shindig 1.0, publishing a patch against this specific version might be
> useful.
> A practical use of this patch can be found at
> http://opensocial.pokersource.info/server
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)