Lines Matching refs:htp
43 int htp_msg_begincb(llhttp_t *htp) { in htp_msg_begincb() argument
44 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_begincb()
56 int htp_statuscb(llhttp_t *htp, const char *at, size_t length) { in htp_statuscb() argument
57 auto session = static_cast<Http1Session *>(htp->data); in htp_statuscb()
60 if (htp->status_code / 100 == 1) { in htp_statuscb()
64 client->on_status_code(session->stream_resp_counter_, htp->status_code); in htp_statuscb()
72 int htp_msg_completecb(llhttp_t *htp) { in htp_msg_completecb() argument
73 auto session = static_cast<Http1Session *>(htp->data); in htp_msg_completecb()
76 if (htp->status_code / 100 == 1) { in htp_msg_completecb()
80 client->final = llhttp_should_keep_alive(htp) == 0; in htp_msg_completecb()
109 int htp_hdr_keycb(llhttp_t *htp, const char *data, size_t len) { in htp_hdr_keycb() argument
110 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_keycb()
120 int htp_hdr_valcb(llhttp_t *htp, const char *data, size_t len) { in htp_hdr_valcb() argument
121 auto session = static_cast<Http1Session *>(htp->data); in htp_hdr_valcb()
131 int htp_hdrs_completecb(llhttp_t *htp) { in htp_hdrs_completecb() argument
132 return !http2::expect_response_body(htp->status_code); in htp_hdrs_completecb()
137 int htp_body_cb(llhttp_t *htp, const char *data, size_t len) { in htp_body_cb() argument
138 auto session = static_cast<Http1Session *>(htp->data); in htp_body_cb()