Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/ntp/sntp/libevent/
HDhttp.c875 if (req->ntoread < 0) { in evhttp_handle_chunked_read()
877 ev_int64_t ntoread; in evhttp_handle_chunked_read() local
888 ntoread = evutil_strtoll(p, &endp, 16); in evhttp_handle_chunked_read()
891 ntoread < 0); in evhttp_handle_chunked_read()
899 if ((ev_uint64_t)ntoread > EV_SIZE_MAX - req->body_size) { in evhttp_handle_chunked_read()
903 if (req->body_size + (size_t)ntoread > req->evcon->max_body_size) { in evhttp_handle_chunked_read()
909 req->body_size += (size_t)ntoread; in evhttp_handle_chunked_read()
910 req->ntoread = ntoread; in evhttp_handle_chunked_read()
911 if (req->ntoread == 0) { in evhttp_handle_chunked_read()
920 if (req->ntoread > EV_SSIZE_MAX) { in evhttp_handle_chunked_read()
[all …]
/freebsd-11-stable/contrib/ntp/sntp/libevent/include/event2/
HDhttp_struct.h107 ev_int64_t ntoread; member