[
https://issues.apache.org/jira/browse/PROTON-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15999013#comment-15999013
]
ASF subversion and git services commented on PROTON-1460:
---------------------------------------------------------
Commit e1d1f2f4041dcf2b56be0aab0529f21e0dbf8c19 in qpid-proton's branch
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=e1d1f2f ]
PROTON-1460: epoll multi-address listen and connect.
epoll proactor:
pn_listener_t listens to every working address in the getaddrinfo list.
It holds one psocket_t per listening socket but has a single pcontext_t.
Returns one accept event at a time.
pn_proactor_connect tries each address in the getaddrinfo list until one works.
No further attempts are made after the first successful connection.
Modified ipv4/v6 flags and address parsing to follow the behavior documented for
pn_proactor_listen and pn_proactor_connect.
Modified proactor to deal directly with contexts not sockets, moved "closing"
flag from socket to context. Previously there was a 1-1 relationship, but now a
listener context has >1 socket.
> C "proactor" epoll implementation
> ---------------------------------
>
> Key: PROTON-1460
> URL: https://issues.apache.org/jira/browse/PROTON-1460
> Project: Qpid Proton
> Issue Type: New Feature
> Components: proton-c
> Affects Versions: 0.18.0
> Environment: Linux systems with epoll
> Reporter: Cliff Jansen
> Assignee: Cliff Jansen
> Fix For: 0.18.0
>
>
> Provide a proactor implementation based on epoll and other performant
> capabilities (like eventfd) on Linux systems.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]