Finish last bits of api testsuite on server

This commit is contained in:
Harshavardhana
2015-05-21 02:52:37 -07:00
parent 0fbd36e18e
commit cd817d34df
2 changed files with 139 additions and 17 deletions

View File

@@ -48,11 +48,8 @@ func start(ctrlChannel <-chan string, errorChannel chan<- error,
// Minio server config
httpServer := &http.Server{
Addr: config.Address,
Handler: router,
// TODO add this later with a proper timer thread
// ReadTimeout: 20 * time.Second,
// WriteTimeout: 20 * time.Second,
Addr: config.Address,
Handler: router,
MaxHeaderBytes: 1 << 20,
}
log.Println("Starting HTTP Server on:", config.Address)