TechnikEmpire / HttpFilteringEngine

Transparent filtering TLS proxy.
Mozilla Public License 2.0
60 stars 33 forks source link

Don't recalc non-zero checksums on packets that are unmodified #120

Closed TechnikEmpire closed 7 years ago

TechnikEmpire commented 7 years ago

Add a bool flag that tells us if a packet has been modified at all. If not modified, then pass:

WINDIVERT_HELPER_NO_REPLACE to WinDivertHelperCalcChecksums to avoid recalculating checksums for no reason.

TechnikEmpire commented 7 years ago

Fixed in a8ebfe7.