This missing flag can cause traffic rejection on some systems if the
flag memory is left at 1 when initialized.
Detected by Coverity Scan. Issue CID
1239292.
class TrafficMode
{
public:
- TrafficMode() : accelSurrogate(false), natIntercept(false), tproxyIntercept(false), tunnelSslBumping(false) {}
+ TrafficMode() : accelSurrogate(false), proxySurrogate(false), natIntercept(false), tproxyIntercept(false), tunnelSslBumping(false) {}
TrafficMode(const TrafficMode &rhs) { operator =(rhs); }
TrafficMode &operator =(const TrafficMode &rhs) { memcpy(this, &rhs, sizeof(TrafficMode)); return *this; }