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

Method Reset

src/brpc/controller.cpp:324–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void Controller::Call::Reset() {
325 nretry = 0;
326 need_feedback = false;
327 enable_circuit_breaker = false;
328 peer_id = INVALID_SOCKET_ID;
329 begin_time_us = 0;
330 sending_sock.reset(NULL);
331 stream_user_data = NULL;
332}
333
334void Controller::set_timeout_ms(int64_t timeout_ms) {
335 if (timeout_ms <= 0x7fffffff) {

Callers 2

ResetNonPodsMethod · 0.45
ResetPodsMethod · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected