mirror of https://github.com/sonertari/SSLproxy
Fix site precedence handling, and use all_sites and all_ports
Actually, no need to check all_sites or all_ports, because strstr(3) on OpenBSD reads that "If little is an empty string, big is returned", and if all_sites or all_ports is set, site or port (little/needle) is empty. But using all_sites and all_ports should improve performance by avoiding the strstr() call.pull/48/head
parent
e654ca4e2c
commit
765c0dac05
Loading…
Reference in New Issue