]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
* Move handling of backends that broke after the headers have been sent
authorRuediger Pluem <rpluem@apache.org>
Sun, 11 Dec 2005 00:15:27 +0000 (00:15 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sun, 11 Dec 2005 00:15:27 +0000 (00:15 +0000)
commit614df45f1e658368c3bb112433e9f306b70ab94f
treeb9a2db4a7a19d53ff05385f8072c89804e273876
parent49e1abbb25895516c1059c749f507acc1cbca38b
* Move handling of backends that broke after the headers have been sent
  into the proxy handler of mod_proxy.

  This patch still sets r->connection->aborted to 1 which is currently
  vetoed by Roy. Moving it from the scheme handler to the proxy handler
  should ease the reimplementation of this, as the scheme handlers only
  needs to return PROXY_BACKEND_BROKEN to signal the above situation to
  the proxy handler.

  mod_proxy.h: Add define for PROXY_BACKEND_BROKEN
  mod_proxy.c: Handle PROXY_BACKEND_BROKEN in proxy handler
  mod_proxy_http.c: Sent back PROXY_BACKEND_BROKEN if backend broke
  after we sent the headers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355823 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/mod_proxy.c
modules/proxy/mod_proxy.h
modules/proxy/mod_proxy_http.c