Home
last modified time | relevance | path

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

/civetweb-2.7.6/unittest/
Dprivate.c115 ck_assert_int_eq(0, get_http_header_len(empty, 0)); in START_TEST()
120 ck_assert_int_eq(0, get_http_header_len(space, 1)); in START_TEST()
125 ck_assert_int_eq(-1, get_http_header_len(space, 2)); in START_TEST()
131 ck_assert_int_eq(0, get_http_header_len(req1, lenreq1 - 1)); in START_TEST()
135 ck_assert_int_eq(lenreq1 - 1, get_http_header_len(req1 + 1, lenreq1 - 1)); in START_TEST()
140 ck_assert_int_eq(lenreq1, get_http_header_len(req1, lenreq1)); in START_TEST()
148 ck_assert_int_eq(lenreq2, get_http_header_len(req2, lenreq2)); in START_TEST()
153 ck_assert_int_eq(lenreq3, get_http_header_len(req3, lenreq3)); in START_TEST()
165 ck_assert_int_eq(lenreq5, get_http_header_len(req5, lenreq5)); in START_TEST()
173 ck_assert_int_eq(0, get_http_header_len(req6, lenreq6)); in START_TEST()
[all …]
/civetweb-2.7.6/src/
Dcivetweb.c7709 get_http_header_len(const char *buf, int buflen) function
10411 request_length = get_http_header_len(buf, len);
10498 response_length = get_http_header_len(buf, len);
10603 request_len = get_http_header_len(buf, *nread);
10629 request_len = get_http_header_len(buf, *nread);