pub fn spawn_accept_http(
listener: TcpListener,
acceptor: Arc<HttpAcceptor>,
handler: Arc<dyn Handler>,
auth: Arc<dyn HttpAuth>,
subs: SubRegistry,
conn_counter: Arc<AtomicU64>,
write_timeout: Duration,
) -> Result<()>Expand description
Spawn the background accept thread: one blocking thread per connection, each
serving HTTP/1.1 (+ SSE) against handler, with trust classified by auth.
Peers that authenticate arrive in whatever PeerOrigin auth mints.