File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,13 @@ ProxyTransaction::new_transaction(bool from_early_data)
4343 HttpTxnDebug (" [%" PRId64 " ] Starting transaction %d using sm [%" PRId64 " ]" , _proxy_ssn->connection_id (),
4444 _proxy_ssn->get_transact_count (), _sm->sm_id );
4545
46- PluginIdentity *pi = dynamic_cast <PluginIdentity *>(this ->get_netvc ());
47- if (pi) {
48- _sm->plugin_tag = pi->getPluginTag ();
49- _sm->plugin_id = pi->getPluginId ();
46+ // PI tag valid only for internal requests
47+ if (this ->get_netvc ()->get_is_internal_request ()) {
48+ PluginIdentity *pi = dynamic_cast <PluginIdentity *>(this ->get_netvc ());
49+ if (pi) {
50+ _sm->plugin_tag = pi->getPluginTag ();
51+ _sm->plugin_id = pi->getPluginId ();
52+ }
5053 }
5154
5255 this ->increment_client_transactions_stat ();
You can’t perform that action at this time.
0 commit comments