Lines Matching refs:htp
256 int htp_msg_begincb(llhttp_t *htp);
257 int htp_hdr_keycb(llhttp_t *htp, const char *data, size_t len);
258 int htp_hdr_valcb(llhttp_t *htp, const char *data, size_t len);
259 int htp_hdrs_completecb(llhttp_t *htp);
260 int htp_bodycb(llhttp_t *htp, const char *data, size_t len);
261 int htp_msg_completecb(llhttp_t *htp);
908 int htp_msg_begincb(llhttp_t *htp) {
909 auto downstream = static_cast<Downstream *>(htp->data);
920 int htp_hdrs_completecb(llhttp_t *htp) {
921 auto downstream = static_cast<Downstream *>(htp->data);
942 resp.http_status = htp->status_code;
943 resp.http_major = htp->http_major;
944 resp.http_minor = htp->http_minor;
1009 resp.connection_close = !llhttp_should_keep_alive(htp);
1013 if (htp->flags & F_CHUNKED) {
1105 int htp_hdr_keycb(llhttp_t *htp, const char *data, size_t len) {
1106 auto downstream = static_cast<Downstream *>(htp->data);
1142 int htp_hdr_valcb(llhttp_t *htp, const char *data, size_t len) {
1143 auto downstream = static_cast<Downstream *>(htp->data);
1161 int htp_bodycb(llhttp_t *htp, const char *data, size_t len) {
1162 auto downstream = static_cast<Downstream *>(htp->data);
1173 int htp_msg_completecb(llhttp_t *htp) {
1174 auto downstream = static_cast<Downstream *>(htp->data);