You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Robert S. Thau" <rs...@ai.mit.edu> on 1995/08/27 18:27:21 UTC

patch11.no-auth-no-error

This patch stops the server from logging an error if the request came
in with no authentication line at all --- this case arises normally
(as when the client doesn't know that authentication is required here
yet), and is not an error; hence it shouldn't be logged as such.

*** http_protocol.c	Sun Aug 27 09:16:45 1995
--- ../http_protocol.c	Sun Aug 27 12:08:03 1995
***************
*** 371,377 ****
      }
      
      if(!auth_line) {
-         log_reason ("no authentication line", r->uri, r);
          note_basic_auth_failure (r);
  	return AUTH_REQUIRED;
      }
--- 371,376 ----