You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Atsutomo Kotani (JIRA)" <ji...@apache.org> on 2014/09/05 04:44:25 UTC

[jira] [Updated] (TS-2907) Unix Sockets

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

Atsutomo Kotani updated TS-2907:
--------------------------------
    Attachment: unixsocket-backpost.diff

We wrote experimental patch.It's supports unix domain socket for back-post only.
approach
- add sockaddr_un at IpEndpoint structure
- When in do_dns() first character of hostname string is '/' , It registers HostDB setting AF_UNIX to sockaddr->sa_family.
- changed some handling sockaddr functions in ink_inet 

usage example
- origin unix-domain socket path is '/var/tmp/origin.sock'
- add to remap.conf
{quote}
map    /        http://!var!tmp!origin.sock/
{quote}

> Unix Sockets
> ------------
>
>                 Key: TS-2907
>                 URL: https://issues.apache.org/jira/browse/TS-2907
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Luca Rea
>            Assignee: Brian Geffon
>             Fix For: sometime
>
>         Attachments: unixsocket-backpost.diff
>
>
> Feature request for support listeners and parents on unix sockets.



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