Add HTTP request tracing

This commit is contained in:
Jakob Borg
2015-04-07 21:45:22 +02:00
parent 0bfb40ae51
commit d7100fd9bc
3 changed files with 32 additions and 1 deletions

View File

@@ -12,5 +12,6 @@ import (
)
var (
debugNet = strings.Contains(os.Getenv("STTRACE"), "net") || os.Getenv("STTRACE") == "all"
debugNet = strings.Contains(os.Getenv("STTRACE"), "net") || os.Getenv("STTRACE") == "all"
debugHTTP = strings.Contains(os.Getenv("STTRACE"), "http") || os.Getenv("STTRACE") == "all"
)