Lines Matching refs:H2_CHUNK_SIZE
70 #define H2_CHUNK_SIZE (16 * 1024)
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);
2133 curl_off_t n = (((data->set.max_recv_speed - 1) / H2_CHUNK_SIZE) + 1);
2135 if(n < (H2_STREAM_WINDOW_SIZE / H2_CHUNK_SIZE) &&
2136 n < (UINT_MAX / H2_CHUNK_SIZE)) {
2137 stream->local_window_size = (uint32_t)n * H2_CHUNK_SIZE;