httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_core.c
Date Thu, 17 Aug 2000 01:39:13 GMT
gstein      00/08/16 18:39:13

  Modified:    src/main http_core.c
  Log:
  temp fix for filter ordering: +1 on the core filter's type.
  bug fix in chunk_filter(): it was creating the wrong-size bucket.
  
  chunking now appears to be working (without using BUFF).
  
  Revision  Changes    Path
  1.103     +2 -2      apache-2.0/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_core.c,v
  retrieving revision 1.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- http_core.c	2000/08/17 00:54:03	1.102
  +++ http_core.c	2000/08/17 01:39:12	1.103
  @@ -2938,7 +2938,7 @@
       }
   
       apr_snprintf(lenstr, 6, "%x\r\n", len);
  -    dptr = ap_bucket_transient_create(lenstr, 4, &tempint);
  +    dptr = ap_bucket_transient_create(lenstr, strlen(lenstr), &tempint);
       b->head->prev = dptr;
       dptr->next = b->head;
       b->head = dptr;
  @@ -3068,7 +3068,7 @@
        * request-processing time.
        */
       ap_hook_insert_filter(core_register_filter, NULL, NULL, AP_HOOK_MIDDLE);
  -    ap_register_filter("CORE", core_filter, AP_FTYPE_CONNECTION);
  +    ap_register_filter("CORE", core_filter, AP_FTYPE_CONNECTION + 1);
       ap_register_filter("CHUNK", chunk_filter, AP_FTYPE_CONNECTION);
   }
   
  
  
  

Mime
View raw message