Searched refs:content_length (Results 1 - 4 of 4) sorted by relevance

/forgerock/web-agents-v4/source/
H A Dhttp_parser.c719 parser->content_length = ULLONG_MAX;
754 parser->content_length = ULLONG_MAX;
952 parser->content_length = ULLONG_MAX;
1503 parser->content_length = ch - '0';
1597 t = parser->content_length;
1602 if (UNLIKELY((ULLONG_MAX - 10) / 10 < parser->content_length)) {
1608 parser->content_length = t;
1850 (parser->content_length > 0 && parser->content_length != ULLONG_MAX);
1866 if (parser->content_length
[all...]
H A Dhttp_parser.h220 uint64_t content_length; /* # bytes in body (0 if no Content-Length header) */ member in struct:http_parser
251 * in parser->content_length.
/forgerock/web-agents-v4/source/varnish/
H A Dagent.c468 size_t content_length; local
479 content_length = content_length_s ? strtoul(content_length_s, NULL, 10) : 0;
480 if (content_length == 0 || errno == ERANGE) {
485 body = malloc(content_length + 1);
491 while (content_length) {
493 content_length > sizeof (buf) ? sizeof (buf) : content_length);
500 content_length -= bytes_read;
/forgerock/web-agents-v4/source/varnish3/
H A Dagent.c518 size_t content_length; local
529 content_length = content_length_s ? strtoul(content_length_s, NULL, 10) : 0;
530 if (content_length == 0 || errno == ERANGE) {
535 body = malloc(content_length + 1);
541 while (content_length) {
543 content_length > sizeof (buf) ? sizeof (buf) : content_length);
550 content_length -= bytes_read;

Completed in 49 milliseconds