cvs commit: apache-1.3/src/support ab.c

1998-07-29 Thread martin
martin  98/07/29 03:14:41

  Modified:src/support ab.c
  Log:
  Added EBCDIC support to ApacheBench
  
  Revision  ChangesPath
  1.11  +8 -0  apache-1.3/src/support/ab.c
  
  Index: ab.c
  ===
  RCS file: /home/cvs/apache-1.3/src/support/ab.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- ab.c  1998/07/15 18:33:12 1.10
  +++ ab.c  1998/07/29 10:14:40 1.11
  @@ -382,7 +382,11 @@
   int l = 4;
   int space = CBUFFSIZE - c->cbx - 1; /* -1 to allow for 0 
terminator */
   int tocopy = (space < r) ? space : r;
  +#ifndef CHARSET_EBCDIC
   memcpy(c->cbuff + c->cbx, buffer, space);
  +#else /*CHARSET_EBCDIC*/
  +ascii2ebcdic(c->cbuff + c->cbx, buffer, space);
  +#endif /*CHARSET_EBCDIC*/
   c->cbx += tocopy;
   space -= tocopy;
   c->cbuff[c->cbx] = 0;   /* terminate for benefit of strstr */
  @@ -526,6 +530,10 @@
hostname);
   
   reqlen = strlen(request);
  +
  +#ifdef CHARSET_EBCDIC
  +ebcdic2ascii(request, request, reqlen);
  +#endif /*CHARSET_EBCDIC*/
   
   /* ok - lets start */
   gettimeofday(&start, 0);
  
  
  


cvs commit: apache-1.3 STATUS

1998-07-29 Thread fielding
fielding98/07/28 23:53:09

  Modified:.STATUS
  Log:
  The ptrans ugliness is not worth fixing til 2.0, and Dean has already
  fixed it in the apache-nspr code.
  
  Revision  ChangesPath
  1.451 +0 -5  apache-1.3/STATUS
  
  Index: STATUS
  ===
  RCS file: /home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.450
  retrieving revision 1.451
  diff -u -r1.450 -r1.451
  --- STATUS1998/07/25 13:33:51 1.450
  +++ STATUS1998/07/29 06:53:07 1.451
  @@ -159,11 +159,6 @@
   * proxy_*_canon routines use r->proxyreq incorrectly.  See
<[EMAIL PROTECTED]>
   
  -* Use of ptrans in http_main is inconsistent: it is a static global
  -  that is sometimes used as a temporary pool, sometimes as a
  -  per-connection pool, and overshadowed in child_sub_main() for a
  -  per-thread pool.  That sucks.
  -
   Open issues:
   
   * Underscores on symbols in DSO situation is broken for NetBSD: