Searched refs:body_size (Results 1 – 9 of 9) sorted by relevance
83 const size_t body_size = 1024 * 1024; in DEFINE_TEST() 93 assert((body = malloc(body_size)) != NULL); in DEFINE_TEST() 94 assert((body_read = malloc(body_size)) != NULL); in DEFINE_TEST() 103 for(n = 1024; n < (int)body_size; n += 1024) { in DEFINE_TEST() 111 memset(body, 255, body_size); in DEFINE_TEST() 85 const size_t body_size = 1024 * 1024; DEFINE_TEST() local
149 size_t body_size; member160 req->body_size = 0; in http_req_zero()262 req->body = erealloc(req->body, req->body_size + ret + 1); in http_query()264 memcpy((char *)req->body + req->body_size, in_buf, ret); in http_query()265 req->body_size += ret; in http_query()266 ((char *)req->body)[req->body_size] = '\0'; in http_query()279 printf("body: %.*s\n", (int)req->body_size, (char *)req->body); in http_query()501 printf("%.*s\n", (int)req.body_size, (char *)req.body); in main()
95 size_t body_size; member
949 if ((ev_uint64_t)ntoread > EV_SIZE_MAX - req->body_size) { in evhttp_handle_chunked_read()953 if (req->body_size + (size_t)ntoread > req->evcon->max_body_size) { in evhttp_handle_chunked_read()959 req->body_size += (size_t)ntoread; in evhttp_handle_chunked_read()1027 req->body_size += n; in evhttp_lingering_close()1074 if ((size_t)(req->body_size + evbuffer_get_length(buf)) < req->body_size) { in evhttp_read_body()1079 req->body_size += evbuffer_get_length(buf); in evhttp_read_body()1090 req->body_size += n; in evhttp_read_body()1094 if (req->body_size > req->evcon->max_body_size || in evhttp_read_body()3994 req->body_size = 0; in evhttp_request_new()
441 o Correctly count req->body_size on http usage without Content-Length (8e342e5)
783 $self->{body_size} = $result[7];