Home
last modified time | relevance | path

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

/third_party/curl/lib/
H A Dhttp2.c70 #define H2_CHUNK_SIZE (16 * 1024) macro
74 #define H2_NW_RECV_CHUNKS (H2_STREAM_WINDOW_SIZE / H2_CHUNK_SIZE)
78 #define H2_STREAM_RECV_CHUNKS (H2_STREAM_WINDOW_SIZE / H2_CHUNK_SIZE)
81 #define H2_STREAM_SEND_CHUNKS ((64 * 1024) / H2_CHUNK_SIZE)
83 #define H2_STREAM_POOL_SPARES (H2_STREAM_WINDOW_SIZE / H2_CHUNK_SIZE)
421 Curl_bufcp_init(&ctx->stream_bufcp, H2_CHUNK_SIZE, H2_STREAM_POOL_SPARES); in cf_h2_ctx_init()
2133 curl_off_t n = (((data->set.max_recv_speed - 1) / H2_CHUNK_SIZE) + 1); in h2_submit()
2135 if(n < (H2_STREAM_WINDOW_SIZE / H2_CHUNK_SIZE) && in h2_submit()
2136 n < (UINT_MAX / H2_CHUNK_SIZE)) { in h2_submit()
2137 stream->local_window_size = (uint32_t)n * H2_CHUNK_SIZE; in h2_submit()
[all...]

Completed in 5 milliseconds