Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dflow_control.cc281 uint32_t max_recv_bytes; in IncomingByteStreamUpdate() local
288 max_recv_bytes = UINT32_MAX - sent_init_window; in IncomingByteStreamUpdate()
290 max_recv_bytes = static_cast<uint32_t>(max_size_hint); in IncomingByteStreamUpdate()
294 if (max_recv_bytes >= have_already) { in IncomingByteStreamUpdate()
295 max_recv_bytes -= static_cast<uint32_t>(have_already); in IncomingByteStreamUpdate()
297 max_recv_bytes = 0; in IncomingByteStreamUpdate()
301 GPR_ASSERT(max_recv_bytes <= UINT32_MAX - sent_init_window); in IncomingByteStreamUpdate()
302 if (local_window_delta_ < max_recv_bytes) { in IncomingByteStreamUpdate()
304 static_cast<uint32_t>(max_recv_bytes - local_window_delta_); in IncomingByteStreamUpdate()