| 1284 | } |
| 1285 | |
| 1286 | void |
| 1287 | Http2Stream::set_tx_error_code(ProxyError e) |
| 1288 | { |
| 1289 | if (!this->is_outbound_connection() && this->_sm) { |
| 1290 | if (!(this->_sm->t_state.client_info.tx_error_code.cls == ProxyErrorClass::SSN && e.cls == ProxyErrorClass::TXN)) { |
| 1291 | // if there is not an error already set for the session set the transaction level error |
| 1292 | this->_sm->t_state.client_info.tx_error_code = e; |
| 1293 | } |
| 1294 | } |
| 1295 | } |
| 1296 | |
| 1297 | HTTPVersion |
| 1298 | Http2Stream::get_version(HTTPHdr & /* hdr ATS_UNUSED */) const |
no test coverage detected