dgaudet 97/07/19 01:03:54
Modified: src http_request.c
Log:
add a comment about proxy auth
Revision Changes Path
1.64 +4 -0 apache/src/http_request.c
Index: http_request.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_request.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -C3 -r1.63 -r1.64
*** http_request.c 1997/07/19 08:02:04 1.63
--- http_request.c 1997/07/19 08:03:53 1.64
***************
*** 790,795 ****
--- 790,799 ----
char *custom_response = response_code_string(r, error_index);
int recursive_error = 0;
+ /* This test is done here so that none of the auth modules needs to
+ * know about proxy authentication. They treat it like normal auth,
+ * and then we tweak the status.
+ */
if (r->status == AUTH_REQUIRED && r->proxyreq) {
r->status = HTTP_PROXY_AUTHENTICATION_REQUIRED;
}