httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@ooo.lanl.gov>
Subject Re: Apache = CPU hog?
Date Tue, 23 Apr 1996 13:11:54 GMT

Hi Mike,

The official patch......

=-=-=--=-

*** mod_digest.old.c    Fri Apr 19 16:32:56 1996
--- mod_digest.c        Fri Apr 19 16:34:28 1996
***************
*** 121,127 ****
  
  int get_digest_rec(request_rec *r, digest_header_rec *response) {
    char *auth_line = table_get(r->headers_in, "Authorization");
!   int l = strlen(auth_line);
    int s = 0, vk = 0, vv = 0;
    char *t, *key, *value;
  
--- 121,127 ----
  
  int get_digest_rec(request_rec *r, digest_header_rec *response) {
    char *auth_line = table_get(r->headers_in, "Authorization");
!   int l;
    int s = 0, vk = 0, vv = 0;
    char *t, *key, *value;
  
***************
*** 138,143 ****
--- 138,145 ----
      return AUTH_REQUIRED;
    }
  
+   l = strlen(auth_line);
+ 
    if (strcmp(getword (r->pool, &auth_line, ' '), "Digest")) {
      /* Client tried to authenticate using wrong auth scheme */
      log_reason ("client used wrong authentication scheme", r->uri, r);



Mime
View raw message