TechnikEmpire / HttpFilteringEngine

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

TlsCapableHttpBridge::Kill() generates annoying messages. #26

Closed TechnikEmpire closed 8 years ago

TechnikEmpire commented 8 years ago

Generates annoying error messages when shutting down, because when kill is called, the upstream socket might not even be in use yet. Wrap the call to check if the m_upstreamHost member has been populated and skip calling shutdown on the socket if not. Fixed in next commit.