Andrew Sherman has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18002


Change subject: IMPALA-11007: Replies to HTTP HEAD requests should contain no 
content.
......................................................................

IMPALA-11007: Replies to HTTP HEAD requests should contain no content.

If a HEAD request to Impala's webserver, for example
  curl -I http://localhost:25000/metrics
does send content in the response then this results in ugly messages
being logged on the server side when the client side closes the
connection after it has read the headers in the http response. Fix this
by not sending (or generating) the content in reply to the HEAD
request.

TESTING:
  Ran all end-to-end tests.
  Added HEAD calls to various existing tests.

Change-Id: I5cc3bf72067dfa5bc24e29fe974e5762be507952
---
M be/src/util/webserver.cc
M tests/webserver/test_web_pages.py
2 files changed, 20 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/02/18002/1
--
To view, visit http://gerrit.cloudera.org:8080/18002
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5cc3bf72067dfa5bc24e29fe974e5762be507952
Gerrit-Change-Number: 18002
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Sherman <asher...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ara...@cloudera.com>

Reply via email to