Merge pull request #9403 from jpbetz/automated-cherry-pick-of-#9336-origin-release-3.2

Automated cherry pick of #9336
This commit is contained in:
Gyuho Lee 2018-03-08 00:58:52 -08:00 committed by GitHub
commit 3710c249eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,6 +119,7 @@ func (p *reverseProxy) ServeHTTP(rw http.ResponseWriter, clientreq *http.Request
case <-closeCh:
atomic.StoreInt32(&requestClosed, 1)
plog.Printf("client %v closed request prematurely", clientreq.RemoteAddr)
cancel()
case <-completeCh:
}
}()