mirror of https://github.com/sonertari/SSLproxy
Fix file descriptor leak in passthrough mode (-P)
When using passthrough mode, if a connection to a server fails with an SSL error, sslsplit falls back to plain TCP passthrough. When reconnecting with plain TCP, the SSL context was freed, but the file descriptor was never closed. The fix remedies that by calling the proper cleanup function for the dst bev before reconnecting. Reported by: Peter Haagpull/13/head
parent
e129041c1c
commit
56842b2f63
Loading…
Reference in New Issue