Lines Matching refs:Http2Handler
87 void delete_handler(Http2Handler *handler) { in delete_handler()
272 void add_handler(Http2Handler *handler) { handlers_.insert(handler); } in add_handler()
273 void remove_handler(Http2Handler *handler) { in remove_handler()
319 std::make_unique<Http2Handler>(this, fd, ssl, get_next_session_id()); in accept_connection()
424 std::set<Http2Handler *> handlers_;
454 Stream::Stream(Http2Handler *handler, int32_t stream_id) in Stream()
492 void on_session_closed(Http2Handler *hd, int64_t session_id) { in on_session_closed()
504 auto hd = static_cast<Http2Handler *>(w->data); in settings_timeout_cb()
516 auto handler = static_cast<Http2Handler *>(w->data); in readcb()
528 auto handler = static_cast<Http2Handler *>(w->data); in writecb()
537 Http2Handler::Http2Handler(Sessions *sessions, int fd, SSL *ssl, in Http2Handler() function in nghttp2::Http2Handler
559 read_ = &Http2Handler::tls_handshake; in Http2Handler()
560 write_ = &Http2Handler::tls_handshake; in Http2Handler()
562 read_ = &Http2Handler::read_clear; in Http2Handler()
563 write_ = &Http2Handler::write_clear; in Http2Handler()
567 Http2Handler::~Http2Handler() { in ~Http2Handler()
586 void Http2Handler::remove_self() { sessions_->remove_handler(this); } in remove_self()
588 struct ev_loop *Http2Handler::get_loop() const { in get_loop()
592 Http2Handler::WriteBuf *Http2Handler::get_wb() { return &wb_; } in get_wb()
594 void Http2Handler::start_settings_timer() { in start_settings_timer()
598 int Http2Handler::fill_wb() { in fill_wb()
634 int Http2Handler::read_clear() { in read_clear()
667 int Http2Handler::write_clear() { in write_clear()
708 int Http2Handler::tls_handshake() { in tls_handshake()
736 read_ = &Http2Handler::read_tls; in tls_handshake()
737 write_ = &Http2Handler::write_tls; in tls_handshake()
752 int Http2Handler::read_tls() { in read_tls()
790 int Http2Handler::write_tls() { in write_tls()
839 int Http2Handler::on_read() { return read_(*this); } in on_read()
841 int Http2Handler::on_write() { return write_(*this); } in on_write()
843 int Http2Handler::connection_made() { in connection_made()
899 int Http2Handler::verify_npn_result() { in verify_npn_result()
932 int Http2Handler::submit_file_response(const StringRef &status, Stream *stream, in submit_file_response()
964 int Http2Handler::submit_response(const StringRef &status, int32_t stream_id, in submit_response()
988 int Http2Handler::submit_response(const StringRef &status, int32_t stream_id, in submit_response()
1007 int Http2Handler::submit_non_final_response(const std::string &status, in submit_non_final_response()
1014 int Http2Handler::submit_push_promise(Stream *stream, in submit_push_promise()
1052 int Http2Handler::submit_rst_stream(Stream *stream, uint32_t error_code) { in submit_rst_stream()
1060 void Http2Handler::add_stream(int32_t stream_id, in add_stream()
1065 void Http2Handler::remove_stream(int32_t stream_id) { in remove_stream()
1069 Stream *Http2Handler::get_stream(int32_t stream_id) { in get_stream()
1078 int64_t Http2Handler::session_id() const { return session_id_; } in session_id()
1080 Sessions *Http2Handler::get_sessions() const { return sessions_; } in get_sessions()
1082 const Config *Http2Handler::get_config() const { in get_config()
1086 void Http2Handler::remove_settings_timer() { in remove_settings_timer()
1090 void Http2Handler::terminate_session(uint32_t error_code) { in terminate_session()
1098 auto hd = static_cast<Http2Handler *>(user_data); in file_read_callback()
1138 void prepare_status_response(Stream *stream, Http2Handler *hd, int status) { in prepare_status_response()
1162 void prepare_echo_response(Stream *stream, Http2Handler *hd) { in prepare_echo_response()
1191 bool prepare_upload_temp_store(Stream *stream, Http2Handler *hd) { in prepare_upload_temp_store()
1211 void prepare_redirect_response(Stream *stream, Http2Handler *hd, in prepare_redirect_response()
1234 void prepare_response(Stream *stream, Http2Handler *hd, in prepare_response()
1410 auto hd = static_cast<Http2Handler *>(user_data); in on_header_callback2()
1485 auto hd = static_cast<Http2Handler *>(user_data); in on_begin_headers_callback()
1505 auto hd = static_cast<Http2Handler *>(user_data); in hd_on_frame_recv_callback()
1582 auto hd = static_cast<Http2Handler *>(user_data); in hd_on_frame_send_callback()
1645 auto hd = static_cast<Http2Handler *>(user_data); in send_data_callback()
1697 auto hd = static_cast<Http2Handler *>(user_data); in select_padding_callback()
1706 auto hd = static_cast<Http2Handler *>(user_data); in on_data_chunk_recv_callback()
1739 auto hd = static_cast<Http2Handler *>(user_data); in on_stream_close_callback()