Skip to content

Commit

Permalink
Disable --input-http flag until I decide how to do it properly
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed Jul 31, 2016
1 parent d34c27c commit f0acd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func init() {

flag.StringVar(&Settings.middleware, "middleware", "", "Used for modifying traffic using external command")

flag.Var(&Settings.inputHTTP, "input-http", "Read requests from HTTP, should be explicitly sent from your application:\n\t# Listen for http on 9000\n\tgor --input-http :9000 --output-http staging.com")
// flag.Var(&Settings.inputHTTP, "input-http", "Read requests from HTTP, should be explicitly sent from your application:\n\t# Listen for http on 9000\n\tgor --input-http :9000 --output-http staging.com")

flag.Var(&Settings.outputHTTP, "output-http", "Forwards incoming requests to given http address.\n\t# Redirect all incoming requests to staging.com address \n\tgor --input-raw :80 --output-http http://staging.com")
flag.IntVar(&Settings.outputHTTPConfig.BufferSize, "output-http-response-buffer", 0, "HTTP response buffer size, all data after this size will be discarded.")
Expand Down

0 comments on commit f0acd31

Please sign in to comment.