MCPcopy Create free account
hub / github.com/apache/brpc / WriteAck

Function WriteAck

src/brpc/policy/http2_rpc_protocol.cpp:142–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static int WriteAck(Socket* s, const void* data, size_t n) {
143 butil::IOBuf sendbuf;
144 sendbuf.append(data, n);
145 Socket::WriteOptions wopt;
146 wopt.ignore_eovercrowded = true;
147 return s->Write(&sendbuf, &wopt);
148}
149
150// [ https://tools.ietf.org/html/rfc7540#section-6.5.1 ]
151

Callers 5

ConsumeMethod · 0.85
OnDataMethod · 0.85
OnSettingsMethod · 0.85
OnPingMethod · 0.85
DeferWindowUpdateMethod · 0.85

Calls 2

appendMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected