/dports/net/haproxy20/haproxy-2.0.26/src/ |
H A D | payload.c | 85 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_st_ext() 215 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_ec_ext() 336 data = (const unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_type() 406 data = (const unsigned char *)ci_head(req); in smp_fetch_req_ssl_ver() 542 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_sni() 708 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_alpn() 850 data = (const unsigned char *)ci_head(&s->req) + 11; in fetch_rdp_cookie_name() 1129 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_param() 1133 int c = hex2i(ci_head(chn)[ofs + i]); in smp_fetch_distcc_param() 1205 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_body() [all …]
|
H A D | proto_http.c | 639 sol = ci_head(req); in http_wait_for_request() 995 ci_head(req)[msg->sl.rq.u] != '/' && ci_head(req)[msg->sl.rq.u] != '*') in http_wait_for_request() 1456 char *cur_ptr = ci_head(chn); in http_send_early_hints() 2896 char *cur_ptr = ci_head(req); in http_process_request() 4296 sol = ci_head(rep); in http_wait_for_response() 4532 if (ci_head(rep)[4] != '/' || in http_wait_for_response() 4534 ci_head(rep)[6] != '.' || in http_wait_for_response() 4544 ((ci_head(rep)[5] == '1') && (ci_head(rep)[7] >= '1')))) in http_wait_for_response() 5754 cur_ptr = ci_head(req); in apply_filter_to_req_line() 6470 cur_ptr = ci_head(rtr); in apply_filter_to_sts_line() [all …]
|
H A D | channel.c | 335 if (unlikely(ci_head(chn) + ci_data(chn) > c_wrap(chn))) { in ci_getblk_nc() 336 *blk1 = ci_head(chn); in ci_getblk_nc() 337 *len1 = c_wrap(chn) - ci_head(chn); in ci_getblk_nc() 343 *blk1 = ci_head(chn); in ci_getblk_nc()
|
H A D | http_fetch.c | 395 if (ci_head(chn) > b_orig(&chn->buf) && in smp_prefetch_http() 428 if (unlikely(ci_head(chn) + ci_data(chn) > in smp_prefetch_http() 507 smp->data.u.meth.str.area = ci_head(txn->req.chn); in smp_fetch_meth() 539 ptr = ci_head(chn) + txn->req.sl.rq.v; in smp_fetch_rqver() 579 ptr = ci_head(chn); in smp_fetch_stver() 620 ptr = ci_head(chn) + txn->rsp.sl.st.c; in smp_fetch_stcode() 704 (ci_head(chn)[msg->eoh] == '\r'); in smp_fetch_hdrs() 812 cur_next = ci_head(chn) + hdr_idx_first_pos(idx); in smp_fetch_hdrs_bin() 1926 ptr = ci_head(chn) + txn->req.sl.rq.u; in smp_fetch_query() 2350 sol = ci_head(chn); in smp_fetch_cookie() [all …]
|
H A D | http_msg.c | 314 char *buf = ci_head(msg->chn); in http_legacy_replace_header() 347 char *buf = ci_head(msg->chn); in http_legacy_replace_full_header() 402 while (http_find_header2(hname, hlen, ci_head(msg->chn), idx, ctx)) { in http_get_hdr() 418 while (http_find_header2(hname, hlen, ci_head(msg->chn), idx, ctx)) { in http_get_hdr() 468 while (http_find_full_header2(hname, hlen, ci_head(msg->chn), idx, ctx)) { in http_get_fhdr() 484 while (http_find_full_header2(hname, hlen, ci_head(msg->chn), idx, ctx)) { in http_get_fhdr() 559 const char *msg_start = ci_head(msg->chn); in http_parse_stsline() 672 const char *msg_start = ci_head(msg->chn); in http_parse_reqline() 835 char *input = ci_head(msg->chn); in http_msg_analyzer() 1194 const char *parse = ci_head(msg->chn); in http_forward_trailers()
|
H A D | flt_http_comp.c | 343 memcpy(b_tail(&tmpbuf), ci_head(chn), block); in comp_http_data() 503 while (http_find_header2("Content-Length", 14, ci_head(&s->res), &txn->hdr_idx, &ctx)) in http_set_comp_reshdr() 514 if (http_find_full_header2("ETag", 4, ci_head(&s->res), &txn->hdr_idx, &ctx)) { in http_set_comp_reshdr() 624 if (http_find_header2("User-Agent", 10, ci_head(req), &txn->hdr_idx, &ctx) && in http_select_comp_reqhdr() 642 while (http_find_header2("Accept-Encoding", 15, ci_head(req), &txn->hdr_idx, &ctx)) { in http_select_comp_reqhdr() 882 if (http_find_header2("Content-Encoding", 16, ci_head(c), &txn->hdr_idx, &ctx)) in http_select_comp_reshdr() 887 while (http_find_header2("Cache-Control", 13, ci_head(c), &txn->hdr_idx, &ctx)) { in http_select_comp_reshdr() 894 if (http_find_full_header2("ETag", 4, ci_head(c), &txn->hdr_idx, &ctx)) { in http_select_comp_reshdr() 904 if (http_find_full_header2("ETag", 4, ci_head(c), &txn->hdr_idx, &ctx)) in http_select_comp_reshdr() 915 if (http_find_header2("Content-Type", 12, ci_head(c), &txn->hdr_idx, &ctx)) { in http_select_comp_reshdr() [all …]
|
H A D | cache.c | 472 (unsigned char *)ci_head(msg->chn), to_append); in cache_store_http_forward_data() 622 while (http_find_header2("Cache-Control", 13, ci_head(&s->res), &txn->hdr_idx, &ctx)) { in http_calc_maxage() 783 if (http_find_header2("Vary", 4, ci_head(txn->rsp.chn), &txn->hdr_idx, &ctx)) in http_action_store_cache() 793 if (http_find_header2("Age", 3, ci_head(txn->rsp.chn), &txn->hdr_idx, &ctx)) { in http_action_store_cache() 844 if (shctx_row_data_append(shctx, first, NULL, (unsigned char *)ci_head(&s->res), msg->sov) < 0) in http_action_store_cache() 1411 if (!http_find_header2("Host", 4, ci_head(txn->req.chn), &txn->hdr_idx, &ctx)) in sha1_hosturi() 1416 end = ci_head(txn->req.chn) + txn->req.sl.rq.u + txn->req.sl.rq.u_l; in sha1_hosturi() 1417 path = ci_head(txn->req.chn) + txn->req.sl.rq.u; in sha1_hosturi()
|
/dports/net/haproxy21/haproxy-2.1.12/src/ |
H A D | payload.c | 85 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_st_ext() 215 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_ec_ext() 336 data = (const unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_type() 406 data = (const unsigned char *)ci_head(req); in smp_fetch_req_ssl_ver() 542 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_sni() 708 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_alpn() 850 data = (const unsigned char *)ci_head(&s->req) + 11; in fetch_rdp_cookie_name() 1133 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_param() 1137 int c = hex2i(ci_head(chn)[ofs + i]); in smp_fetch_distcc_param() 1209 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_body() [all …]
|
H A D | channel.c | 335 if (unlikely(ci_head(chn) + ci_data(chn) > c_wrap(chn))) { in ci_getblk_nc() 336 *blk1 = ci_head(chn); in ci_getblk_nc() 337 *len1 = c_wrap(chn) - ci_head(chn); in ci_getblk_nc() 343 *blk1 = ci_head(chn); in ci_getblk_nc()
|
/dports/net/haproxy19/haproxy-1.9.16/src/ |
H A D | payload.c | 85 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_st_ext() 215 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_ec_ext() 336 data = (const unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_type() 406 data = (const unsigned char *)ci_head(req); in smp_fetch_req_ssl_ver() 542 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_sni() 708 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_alpn() 850 data = (const unsigned char *)ci_head(&s->req) + 11; in fetch_rdp_cookie_name() 1129 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_param() 1133 int c = hex2i(ci_head(chn)[ofs + i]); in smp_fetch_distcc_param() 1205 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_body() [all …]
|
H A D | proto_http.c | 625 sol = ci_head(req); in http_wait_for_request() 985 ci_head(req)[msg->sl.rq.u] != '/' && ci_head(req)[msg->sl.rq.u] != '*') in http_wait_for_request() 1428 char *cur_ptr = ci_head(chn); in http_send_early_hints() 2858 char *cur_ptr = ci_head(req); in http_process_request() 4278 sol = ci_head(rep); in http_wait_for_response() 4529 if (ci_head(rep)[4] != '/' || in http_wait_for_response() 4531 ci_head(rep)[6] != '.' || in http_wait_for_response() 4541 ((ci_head(rep)[5] == '1') && (ci_head(rep)[7] >= '1')))) in http_wait_for_response() 5759 cur_ptr = ci_head(req); in apply_filter_to_req_line() 6475 cur_ptr = ci_head(rtr); in apply_filter_to_sts_line() [all …]
|
H A D | channel.c | 334 if (unlikely(ci_head(chn) + ci_data(chn) > c_wrap(chn))) { in ci_getblk_nc() 335 *blk1 = ci_head(chn); in ci_getblk_nc() 336 *len1 = c_wrap(chn) - ci_head(chn); in ci_getblk_nc() 342 *blk1 = ci_head(chn); in ci_getblk_nc()
|
H A D | http_fetch.c | 380 if (ci_head(chn) > b_orig(&chn->buf) && in smp_prefetch_http() 413 if (unlikely(ci_head(chn) + ci_data(chn) > in smp_prefetch_http() 489 smp->data.u.meth.str.area = ci_head(txn->req.chn); in smp_fetch_meth() 521 ptr = ci_head(chn) + txn->req.sl.rq.v; in smp_fetch_rqver() 561 ptr = ci_head(chn); in smp_fetch_stver() 602 ptr = ci_head(chn) + txn->rsp.sl.st.c; in smp_fetch_stcode() 686 (ci_head(chn)[msg->eoh] == '\r'); in smp_fetch_hdrs() 794 cur_next = ci_head(chn) + hdr_idx_first_pos(idx); in smp_fetch_hdrs_bin() 1889 ptr = ci_head(chn) + txn->req.sl.rq.u; in smp_fetch_query() 2314 sol = ci_head(chn); in smp_fetch_cookie() [all …]
|
H A D | http_msg.c | 314 char *buf = ci_head(msg->chn); in http_legacy_replace_header() 347 char *buf = ci_head(msg->chn); in http_legacy_replace_full_header() 402 while (http_find_header2(hname, hlen, ci_head(msg->chn), idx, ctx)) { in http_get_hdr() 418 while (http_find_header2(hname, hlen, ci_head(msg->chn), idx, ctx)) { in http_get_hdr() 468 while (http_find_full_header2(hname, hlen, ci_head(msg->chn), idx, ctx)) { in http_get_fhdr() 484 while (http_find_full_header2(hname, hlen, ci_head(msg->chn), idx, ctx)) { in http_get_fhdr() 559 const char *msg_start = ci_head(msg->chn); in http_parse_stsline() 672 const char *msg_start = ci_head(msg->chn); in http_parse_reqline() 835 char *input = ci_head(msg->chn); in http_msg_analyzer() 1194 const char *parse = ci_head(msg->chn); in http_forward_trailers()
|
H A D | flt_http_comp.c | 340 memcpy(b_tail(&tmpbuf), ci_head(chn), block); in comp_http_data() 500 while (http_find_header2("Content-Length", 14, ci_head(&s->res), &txn->hdr_idx, &ctx)) in http_set_comp_reshdr() 511 if (http_find_full_header2("ETag", 4, ci_head(&s->res), &txn->hdr_idx, &ctx)) { in http_set_comp_reshdr() 621 if (http_find_header2("User-Agent", 10, ci_head(req), &txn->hdr_idx, &ctx) && in http_select_comp_reqhdr() 639 while (http_find_header2("Accept-Encoding", 15, ci_head(req), &txn->hdr_idx, &ctx)) { in http_select_comp_reqhdr() 879 if (http_find_header2("Content-Encoding", 16, ci_head(c), &txn->hdr_idx, &ctx)) in http_select_comp_reshdr() 884 while (http_find_header2("Cache-Control", 13, ci_head(c), &txn->hdr_idx, &ctx)) { in http_select_comp_reshdr() 891 if (http_find_full_header2("ETag", 4, ci_head(c), &txn->hdr_idx, &ctx)) { in http_select_comp_reshdr() 901 if (http_find_full_header2("ETag", 4, ci_head(c), &txn->hdr_idx, &ctx)) in http_select_comp_reshdr() 912 if (http_find_header2("Content-Type", 12, ci_head(c), &txn->hdr_idx, &ctx)) { in http_select_comp_reshdr() [all …]
|
H A D | cache.c | 467 (unsigned char *)ci_head(msg->chn), to_append); in cache_store_http_forward_data() 617 while (http_find_header2("Cache-Control", 13, ci_head(&s->res), &txn->hdr_idx, &ctx)) { in http_calc_maxage() 778 if (http_find_header2("Vary", 4, ci_head(txn->rsp.chn), &txn->hdr_idx, &ctx)) in http_action_store_cache() 788 if (http_find_header2("Age", 3, ci_head(txn->rsp.chn), &txn->hdr_idx, &ctx)) { in http_action_store_cache() 843 if (shctx_row_data_append(shctx, first, NULL, (unsigned char *)ci_head(&s->res), msg->sov) < 0) in http_action_store_cache() 1410 if (!http_find_header2("Host", 4, ci_head(txn->req.chn), &txn->hdr_idx, &ctx)) in sha1_hosturi() 1415 end = ci_head(txn->req.chn) + txn->req.sl.rq.u + txn->req.sl.rq.u_l; in sha1_hosturi() 1416 path = ci_head(txn->req.chn) + txn->req.sl.rq.u; in sha1_hosturi()
|
/dports/net/nuster/nuster-5.0.4.21/src/ |
H A D | payload.c | 85 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_st_ext() 215 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_ec_ext() 336 data = (const unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_type() 406 data = (const unsigned char *)ci_head(req); in smp_fetch_req_ssl_ver() 542 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_sni() 708 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_alpn() 850 data = (const unsigned char *)ci_head(&s->req) + 11; in fetch_rdp_cookie_name() 1129 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_param() 1133 int c = hex2i(ci_head(chn)[ofs + i]); in smp_fetch_distcc_param() 1205 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_body() [all …]
|
H A D | channel.c | 334 if (unlikely(ci_head(chn) + ci_data(chn) > c_wrap(chn))) { in ci_getblk_nc() 335 *blk1 = ci_head(chn); in ci_getblk_nc() 336 *len1 = c_wrap(chn) - ci_head(chn); in ci_getblk_nc() 342 *blk1 = ci_head(chn); in ci_getblk_nc()
|
/dports/net/haproxy23/haproxy-2.3.16/src/ |
H A D | payload.c | 89 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_st_ext() 219 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_ec_ext() 340 data = (const unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_type() 546 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_sni() 712 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_alpn() 977 head = ci_head(chn); in smp_fetch_payload_lv() 1039 head = ci_head(chn); in smp_fetch_payload() 1161 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_param() 1165 int c = hex2i(ci_head(chn)[ofs + i]); in smp_fetch_distcc_param() 1237 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_body() [all …]
|
H A D | channel.c | 408 if (unlikely(ci_head(chn) + ci_data(chn) > c_wrap(chn))) { in ci_getblk_nc() 409 *blk1 = ci_head(chn); in ci_getblk_nc() 410 *len1 = c_wrap(chn) - ci_head(chn); in ci_getblk_nc() 416 *blk1 = ci_head(chn); in ci_getblk_nc()
|
/dports/net/haproxy22/haproxy-2.2.19/src/ |
H A D | payload.c | 89 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_st_ext() 219 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_ec_ext() 340 data = (const unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_type() 546 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_sni() 712 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_alpn() 977 head = ci_head(chn); in smp_fetch_payload_lv() 1039 head = ci_head(chn); in smp_fetch_payload() 1161 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_param() 1165 int c = hex2i(ci_head(chn)[ofs + i]); in smp_fetch_distcc_param() 1237 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_body() [all …]
|
H A D | channel.c | 334 if (unlikely(ci_head(chn) + ci_data(chn) > c_wrap(chn))) { in ci_getblk_nc() 335 *blk1 = ci_head(chn); in ci_getblk_nc() 336 *len1 = c_wrap(chn) - ci_head(chn); in ci_getblk_nc() 342 *blk1 = ci_head(chn); in ci_getblk_nc()
|
/dports/net/haproxy/haproxy-2.4.10/src/ |
H A D | payload.c | 100 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_st_ext() 234 data = (unsigned char *)ci_head(chn); in smp_fetch_req_ssl_ec_ext() 359 data = (const unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_type() 573 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_sni() 743 data = (unsigned char *)ci_head(chn); in smp_fetch_ssl_hello_alpn() 1015 head = ci_head(chn); in smp_fetch_payload_lv() 1084 head = ci_head(chn); in smp_fetch_payload() 1214 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_param() 1218 int c = hex2i(ci_head(chn)[ofs + i]); in smp_fetch_distcc_param() 1294 token = read_n32(ci_head(chn) + ofs); in smp_fetch_distcc_body() [all …]
|
H A D | channel.c | 408 if (unlikely(ci_head(chn) + ci_data(chn) > c_wrap(chn))) { in ci_getblk_nc() 409 *blk1 = ci_head(chn); in ci_getblk_nc() 410 *len1 = c_wrap(chn) - ci_head(chn); in ci_getblk_nc() 416 *blk1 = ci_head(chn); in ci_getblk_nc()
|
/dports/net/haproxy20/haproxy-2.0.26/include/proto/ |
H A D | channel.h | 262 static inline char *ci_head(const struct channel *c) in ci_head() function 835 if (end <= ci_head(chn)) in ci_space_for_replace()
|