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/server protocol.c
Date Thu, 16 Aug 2001 14:05:00 GMT
rbb         01/08/16 07:05:00

  Modified:    server   protocol.c
  Log:
  We can't use a static buffer for this patch, because that wouldn't
  be thread safe.
  Submitted by:	Greg Marr <gregm@alum.wpi.edu>
  
  Revision  Changes    Path
  1.40      +1 -1      httpd-2.0/server/protocol.c
  
  Index: protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- protocol.c	2001/08/16 05:04:39	1.39
  +++ protocol.c	2001/08/16 14:05:00	1.40
  @@ -1167,7 +1167,7 @@
   {
       apr_size_t written;
       struct ap_vrprintf_data vd;
  -    static char vrprintf_buf[AP_IOBUFSIZE];
  +    char vrprintf_buf[AP_IOBUFSIZE];
   
       vd.vbuff.curpos = vrprintf_buf;
       vd.vbuff.endpos = vrprintf_buf + AP_IOBUFSIZE;
  
  
  

Mime
View raw message