httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/support ab.c
Date Thu, 22 Feb 2001 23:52:52 GMT
rbb         01/02/22 15:52:52

  Modified:    .        CHANGES
               support  ab.c
  Log:
  Use "Basic" authentication instead of "basic" in ab, as the spec says we
  should.
  PR:	7294
  Submitted by:	Andre Breiler <andre.breiler@rd.bbc.co.uk>
  
  Revision  Changes    Path
  1.107     +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.106
  retrieving revision 1.107
  diff -u -d -b -w -u -r1.106 -r1.107
  --- CHANGES	2001/02/22 20:49:56	1.106
  +++ CHANGES	2001/02/22 23:52:50	1.107
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.12-dev
   
  +  *) Use "Basic" authentication instead of "basic" in ab, as the spec
  +     says we should.  [Andre Breiler <andre.breiler@rd.bbc.co.uk>]
  +
     *) Fix a seg fault in mod_userdir.c.  We used to use the pw structure
        without ever filling it out.  This fixes PR 7271.
        [Taketo Kabe <kabe@sra-tohoku.co.jp> and 
  
  
  
  1.57      +4 -4      httpd-2.0/support/ab.c
  
  Index: ab.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/ab.c,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -d -b -w -u -r1.56 -r1.57
  --- ab.c	2001/02/16 04:26:53	1.56
  +++ ab.c	2001/02/22 23:52:51	1.57
  @@ -903,14 +903,14 @@
   static void copyright(void)
   {
       if (!use_html) {
  -        printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.56 $>
apache-2.0");
  +        printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.57 $>
apache-2.0");
           printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
           printf("Copyright (c) 1998-2001 The Apache Software Foundation, http://www.apache.org/\n");
           printf("\n");
       }
       else {
           printf("<p>\n");
  -        printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i>
apache-2.0<br>\n", AB_VERSION, "$Revision: 1.56 $");
  +        printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i>
apache-2.0<br>\n", AB_VERSION, "$Revision: 1.57 $");
           printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
           printf(" Copyright (c) 1998-2001 The Apache Software Foundation, http://www.apache.org/<br>\n");
           printf("</p>\n<p>\n");
  @@ -1128,7 +1128,7 @@
               l=apr_base64_encode(tmp, optarg, strlen(optarg));
               tmp[l]='\0';
    
  -            strncat(auth, "Authorization: basic ", sizeof(auth));
  +            strncat(auth, "Authorization: Basic ", sizeof(auth));
               strncat(auth, tmp, sizeof(auth));
               strncat(auth, "\r\n", sizeof(auth));
               break;
  @@ -1141,7 +1141,7 @@
               l=apr_base64_encode(tmp, optarg, strlen(optarg));
               tmp[l]='\0';
    
  -            strncat(auth, "Proxy-Authorization: basic ", sizeof(auth));
  +            strncat(auth, "Proxy-Authorization: Basic ", sizeof(auth));
               strncat(auth, tmp, sizeof(auth));
               strncat(auth, "\r\n", sizeof(auth));
               break;
  
  
  

Mime
View raw message