Commit fc5f7246 authored by Ralf S. Engelschall's avatar Ralf S. Engelschall
Browse files

mod_auth_anon logs multiple times

PR:	421, 868
Submitted by:	Dean Gaudet
Reviewed by:	Ralf S. Engelschall, Dirk v.Gulik, Ken Coar, Jim Jagielski


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3@78827 13f79535-47bb-0310-9956-ffa450edef68
parent aa9d7c93
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
Changes with Apache 1.2.2

  *) Anonymous_LogEmail was logging on each subrequest.
     [Dean Gaudet] PR#421, PR#868

  *) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
     begin with.  "nokeepalive" now works for HTTP/1.1 clients.  Added
     "downgrade-1.0" which causes Apache to pretend it received a 1.0.
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ int anon_authenticate_basic_user (request_rec *r)
	      (strpbrk(".",send_pw) != NULL))
	  ) 
	) {
      if (sec->auth_anon_logemail) {
      if (sec->auth_anon_logemail && r->prev == NULL && r->main == NULL) {
	ap_snprintf(errstr, sizeof(errstr), "Anonymous: Passwd <%s> Accepted", 
			send_pw ? send_pw : "\'none\'");
	log_error (errstr, r->server );