[ 
https://issues.apache.org/jira/browse/THRIFT-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Asad Saeed updated THRIFT-1482:
-------------------------------

          Component/s:     (was: C++ - Library)
                       PHP - Library
        Fix Version/s:     (was: 0.5)
          Description: I would like to use Unix domain sockets under PHP for 
TSocket and TServerSocket. Currently only tcp can be used.  (was: I would like 
to use Unix domain sockets.

client side:
{code}
shared_ptr<TSocket> socket(new TSocket("/tmp/ThriftTest.binary.thrift"));
// as alternative to
shared_ptr<TSocket> socket(new TSocket(host, port));
{code}

server side:
{code}
shared_ptr<TServerSocket> serverSocket(new 
TServerSocket("/tmp/ThriftTest.binary.thrift"));
// as alternative to
shared_ptr<TServerSocket> serverSocket(new TServerSocket(port));
{code}

further enhancement might be:
use a RFC 3986 compliant URI parser e.g. by using 
http://uriparser.sourceforge.net/ (BSD License)
and pass a real URI to the constructor, e.g. 
file:///tmp/ThriftTest.binary.thrift)
          Environment:     (was: Debian GNU/Linux Lenny)
           Patch Info:   (was: Patch Available)
    Affects Version/s: 0.8
    
> Unix domain socket support under PHP
> ------------------------------------
>
>                 Key: THRIFT-1482
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1482
>             Project: Thrift
>          Issue Type: New Feature
>          Components: PHP - Library
>    Affects Versions: 0.8
>            Reporter: Asad Saeed
>            Assignee: Roger Meier
>
> I would like to use Unix domain sockets under PHP for TSocket and 
> TServerSocket. Currently only tcp can be used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to