You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by "oknet (GitHub)" <gi...@apache.org> on 2018/08/23 09:11:42 UTC
[GitHub] [trafficserver] oknet commented on pull request #4109: Add
slave queue to NetAccept in order to stop all NetAccept objects cloned from
it
No one calls `NetAccept::cancel()` directly. The `server.fd` is added into each of ET_NET Threads and should do the `ep.stop()` to remove `server.fd` from each of ET_NET Threads.
Any cloned `NetAccept` is a slave and will be attached to the master `NetAccept`. Only the master `NetAccept` is pushed into the `naVec` queue.
Slaves share `server.fd` with the master, or open a new `server.fd` if it is necessary (with SO_REUSEPORT).
[ Full content available at: https://github.com/apache/trafficserver/pull/4109 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org