[ 
https://issues.apache.org/jira/browse/THRIFT-3402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982815#comment-14982815
 ] 

ASF GitHub Bot commented on THRIFT-3402:
----------------------------------------

GitHub user jeking3 opened a pull request:

    https://github.com/apache/thrift/pull/670

    THRIFT-3402: add unix socket support to perl

    Usage:
    
    my $serversock = new Thrift::UnixServerSocket($path);
    or
    my $serversock = new Thrift::UnixServerSocket(path => $path, queue => 
$queue);
    
    my $sock = new Thrift::UnixSocket($path);
    
    Leverages the refactored socket code in perl that was added in 0.9.3 using 
virtual overrides.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jeking3/thrift 
feature/THRIFT-3402-perl-unix-socket

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/670.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #670
    
----
commit daa881bed47f9d7841fd0e0f42b406aa42f51ca5
Author: James E. King, III <jim.k...@simplivity.com>
Date:   2015-10-29T19:52:23Z

    THRIFT-3402: add unix socket support to perl

----


> Provide a perl Unix Socket implementation
> -----------------------------------------
>
>                 Key: THRIFT-3402
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3402
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Perl - Library
>    Affects Versions: 0.9.3
>            Reporter: James E. King, III
>            Assignee: James E. King, III
>            Priority: Minor
>
> Now that perl socket code was refactored with virtual overrides, it will be 
> easier to provide a unix socket implementation.
> Desired usage:
> server:
> my $serversock = new Thrift::UnixServerSocket($path);
>   or
> my $serversock = new Thrift::UnixServerSocket(path => $path, queue => $queue);
> client:
> my $sock = new Thrift::UnixSocket($path);
> Leverage the refactored socket code in perl that was added in 0.9.3 using 
> virtual overrides.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to