File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 741
741
OperatorSetHeader::initialize (Parser &p)
742
742
{
743
743
OperatorHeaders::initialize (p);
744
+
745
+ _value.set_value (p.get_value (), this );
744
746
}
745
747
746
748
bool
@@ -752,7 +754,7 @@ OperatorSetHeader::exec(const Resources &res) const
752
754
753
755
// Never set an empty header (I don't think that ever makes sense?)
754
756
if (value.empty ()) {
755
- Dbg (pi_dbg_ctl, " Empty value provided, clearning strategy " );
757
+ Dbg (pi_dbg_ctl, " Would set header %s to an empty value, skipping " , _header. c_str () );
756
758
return true ;
757
759
}
758
760
@@ -1591,13 +1593,12 @@ OperatorSetNextHopStrategy::initialize(Parser &p)
1591
1593
Operator::initialize (p);
1592
1594
1593
1595
_value.set_value (p.get_arg (), this );
1594
- Dbg (pi_dbg_ctl, " OperatorSetNextHopStrategy::initiazlize : %s" , _value.get_value ().c_str ());
1596
+ Dbg (pi_dbg_ctl, " OperatorSetNextHopStrategy::initialie : %s" , _value.get_value ().c_str ());
1595
1597
}
1596
1598
1597
1599
void
1598
1600
OperatorSetNextHopStrategy::initialize_hooks ()
1599
1601
{
1600
- // add_allowed_hook(TS_HTTP_PRE_REMAP_HOOK);
1601
1602
add_allowed_hook (TS_HTTP_READ_REQUEST_HDR_HOOK);
1602
1603
add_allowed_hook (TS_REMAP_PSEUDO_HOOK);
1603
1604
}
You can’t perform that action at this time.
0 commit comments