[jira] [Created] (PROTON-1504) epoll proactor: no PN_LISTENER_ACCEPT events if no FDs available

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Created] (PROTON-1504) epoll proactor: no PN_LISTENER_ACCEPT events if no FDs available

JIRA jira@apache.org
Alan Conway created PROTON-1504:
-----------------------------------

             Summary: epoll proactor: no PN_LISTENER_ACCEPT events if no FDs available
                 Key: PROTON-1504
                 URL: https://issues.apache.org/jira/browse/PROTON-1504
             Project: Qpid Proton
          Issue Type: Bug
    Affects Versions: 0.17.0
            Reporter: Alan Conway
            Assignee: Alan Conway
             Fix For: 0.18.0


The libuv proactor does not generate PN_LISTENER_ACCEPT events if there are no FDs available to accept the connection, i.e. if accept() returns ENFILE or EMFILE. (Actually this is handled by libuv itself, the proactor code never sees these errors)

Make the epoll proactor do the same. Currently it generates PN_LISTENER_ACCEPT and raises  a TRANSPORT_ERROR after the user calls pn_listener_accept()





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...