Home
last modified time | relevance | path

Searched refs:conn_hnr_ (Results 1 – 2 of 2) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_accept_handler.cc50 : conn_hnr_(h), faddr_(faddr) { in AcceptHandler()
53 ev_io_start(conn_hnr_->get_loop(), &wev_); in AcceptHandler()
57 ev_io_stop(conn_hnr_->get_loop(), &wev_); in ~AcceptHandler()
90 conn_hnr_->sleep_acceptor(get_config()->conn.listener.timeout.sleep); in accept_connection()
102 conn_hnr_->handle_connection(cfd, &sockaddr.sa, addrlen, faddr_); in accept_connection()
105 void AcceptHandler::enable() { ev_io_start(conn_hnr_->get_loop(), &wev_); } in enable()
107 void AcceptHandler::disable() { ev_io_stop(conn_hnr_->get_loop(), &wev_); } in disable()
Dshrpx_accept_handler.h48 ConnectionHandler *conn_hnr_; variable