Skip to content

Commit

Permalink
Disable use of gzip until martini-contrib/gzip#13 is resolved.
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskorn committed Jan 23, 2016
1 parent ab0027e commit 1139bfc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions http.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (

"github.com/go-martini/martini"
"github.com/martini-contrib/binding"
"github.com/martini-contrib/gzip"
"github.com/martini-contrib/method"
"github.com/martini-contrib/render"
"github.com/martini-contrib/strict"
Expand All @@ -19,11 +18,9 @@ const ShutdownTimeout = 2 * time.Second

var server *graceful.Server


func startServer(config Config) {
m := martini.New()
m.Use(Log())
m.Use(gzip.All())
m.Use(martini.Recovery())
m.Use(method.Override())
m.Use(render.Renderer())
Expand Down

0 comments on commit 1139bfc

Please sign in to comment.