]> Sergey Matveev's repositories - tofuproxy.git/blobdiff - trip.go
Another refactor
[tofuproxy.git] / trip.go
diff --git a/trip.go b/trip.go
index 27d4e9e30beacd8239b3827d74fe45a97526d8af..3ad6eb178f1dca2c24d738c883ae7481d5b3a65e 100644 (file)
--- a/trip.go
+++ b/trip.go
@@ -58,10 +58,10 @@ type Round func(
 ) (bool, error)
 
 func roundTrip(w http.ResponseWriter, req *http.Request) {
+       fifos.SinkReq <- fmt.Sprintf("%s %s", req.Method, req.URL.String())
        host := strings.TrimSuffix(req.URL.Host, ":443")
        for _, round := range []Round{
                rounds.RoundNoHead,
-               rounds.RoundLog,
                rounds.RoundDenySpy,
                rounds.RoundRedditOld,
                rounds.RoundHabrImage,