Homec4science

WebStyle: ping handler returning 200 status code

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Jan 23 2015, 16:08.

Description

WebStyle: ping handler returning 200 status code

  • When queried by a load-balancer (such as haproxy), this commits makes the /ping web handler to return HTTP status code 200, even if e.g. ACCESS_CONTROL_LEVEL_SITE is set to 1 (which implies returning HTTP error status code 503 for any other web handler so that crawlers don't register these requests). (PR #2700)

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jan 26 2015, 15:51
Parents
R3600:565931f9a411: Merge branch 'maint-1.1'
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:28cf7d105cda: WebStyle: ping handler returning 200 status code (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Jan 26 2015, 15:51