maskit commented on code in PR #9869:
URL: https://github.com/apache/trafficserver/pull/9869#discussion_r1261451197


##########
proxy/http/HttpSM.h:
##########
@@ -679,10 +615,16 @@ HttpTransact::State::state_machine_id() const
   return state_machine->sm_id;
 }
 
+inline HttpUserAgent const &
+HttpSM::get_user_agent() const
+{
+  return _ua;
+}
+
 inline ProxyTransaction *
 HttpSM::get_ua_txn()

Review Comment:
   I wondered if we should keep this because now we can do 
`sm->get_user_agent()->get_txn()`. Maybe we should keep it, so we can get a 
user-agent transaction and a server transaction in a consistent way.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to