MCPcopy Create free account
hub / github.com/apache/trafficserver / reenable

Method reenable

src/proxy/http2/Http2Stream.cc:1007–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1005}
1006
1007void
1008Http2Stream::reenable(VIO *vio)
1009{
1010 if (this->_proxy_ssn) {
1011 if (vio->op == VIO::WRITE) {
1012 SCOPED_MUTEX_LOCK(lock, this->mutex, this_ethread());
1013 update_write_request(true);
1014 } else if (vio->op == VIO::READ) {
1015 SCOPED_MUTEX_LOCK(ssn_lock, _proxy_ssn->mutex, this_ethread());
1016 Http2ConnectionState &connection_state = this->get_connection_state();
1017 connection_state.restart_receiving(this);
1018 }
1019 }
1020}
1021
1022IOBufferReader *
1023Http2Stream::get_data_reader_for_send() const

Calls 2

this_ethreadFunction · 0.85
restart_receivingMethod · 0.80

Tested by

no test coverage detected