Impala Public Jenkins has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/18002 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/util/webserver.cc M tests/webserver/test_web_pages.py 2 files changed, 20 insertions(+), 1 deletion(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: I5cc3bf72067dfa5bc24e29fe974e5762be507952 Gerrit-Change-Number: 18002 Gerrit-PatchSet: 3 Gerrit-Owner: Andrew Sherman <[email protected]> Gerrit-Reviewer: Abhishek Rawat <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
