Copilot commented on code in PR #13005:
URL: https://github.com/apache/trafficserver/pull/13005#discussion_r3075798039
##########
include/proxy/http/HttpSM.h:
##########
@@ -483,10 +483,9 @@ class HttpSM : public Continuation, public
PluginUserArgs<TS_USER_ARGS_TXN>
*/
void setup_client_request_plugin_agents(HttpTunnelProducer *p, int
num_header_bytes = 0);
- HttpTransact::StateMachineAction_t last_action =
HttpTransact::StateMachineAction_t::UNDEFINED;
- int (HttpSM::*m_last_state)(int event, void *data) = nullptr;
- virtual void set_next_state();
- void call_transact_and_set_next_state(TransactEntryFunc_t f);
+ HttpTransact::StateMachineAction_t last_action =
HttpTransact::StateMachineAction_t::UNDEFINED;
+ virtual void set_next_state();
+ void
call_transact_and_set_next_state(TransactEntryFunc_t f);
Review Comment:
PR description says HttpSM removes unused `_postbuf`, but `_postbuf` is
still a member of `HttpSM` and appears to be actively used (e.g., post-buffer
APIs and redirect POST buffering). Please update the PR description/change list
to match the actual HttpSM changes, or adjust the code if `_postbuf` was
intended to be removed.
--
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]