mirror of
https://github.com/mailgun/groupcache.git
synced 2024-11-16 14:10:04 +00:00
Merge branch 'neill/develop' of github.com:mailgun/groupcache into neill/develop
This commit is contained in:
commit
8dfc9d6c7c
2
http.go
2
http.go
@ -207,7 +207,7 @@ func (p *HTTPPool) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
var out pb.SetRequest
|
||||
err = proto.Unmarshal(b.Bytes(), &out)
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
http.Error(w, err.Error(), http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user