Chore: revert "Feature: add tls SNI sniffing (#68)"

This reverts commit 24ce6622a2.
This commit is contained in:
yaling888
2022-03-31 21:20:46 +08:00
parent 24ce6622a2
commit e877b68179
5 changed files with 0 additions and 337 deletions

View File

@ -74,12 +74,6 @@ func (h *ResolverEnhancer) FindHostByIP(ip net.IP) (string, bool) {
return "", false
}
func (h *ResolverEnhancer) InsertHostByIP(ip net.IP, host string) {
if mapping := h.mapping; mapping != nil {
h.mapping.Set(ip.String(), host)
}
}
func (h *ResolverEnhancer) PatchFrom(o *ResolverEnhancer) {
if h.mapping != nil && o.mapping != nil {
o.mapping.CloneTo(h.mapping)