Skip to content
  1. Oct 11, 2001
    • Justin Erenkrantz's avatar
      This is the mod_ssl input filtering rewrite. Lots of stuff here. I also · 3fdafd25
      Justin Erenkrantz authored
      changed some of the style issues within the filtering code to conform to
      the rest of the server.
      
      Various incarnations of this patch have been posted to dev@httpd without
      feedback.  Now that it passes all of the httpd-test cases (with the
      exception of module/negotiation test which fails without mod_ssl anyway),
      it is time to check it in.
      
      Please review and test.  We are under C-T-R rules, so I'm going to take
      advantage of that and commit it now.  I have tested this about as much
      as I can and it seems to work from everything I can give to it.
      Considering that mod_ssl was broken before this commit, this is an
      improvement.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91414 13f79535-47bb-0310-9956-ffa450edef68
      3fdafd25
    • Justin Erenkrantz's avatar
      We can't pass in &r->remaining because we change that value on output to · d6990f80
      Justin Erenkrantz authored
      be how many bytes we read.  This trounces on the r->remaining value, so
      we must use a local variable and subtract that from r->remaining after we
      read.
      Reviewed by:	Aaron Bannert
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91413 13f79535-47bb-0310-9956-ffa450edef68
      d6990f80
    • Justin Erenkrantz's avatar
      The problem here is that we are getting some zero-length buckets at the head · 0f74698b
      Justin Erenkrantz authored
      of our brigade - which are in isolation okay.  In this situation, they
      must be removed by the call to APR_BRIGADE_NORMALIZE.
      
      The way we partition the buckets means that we will never remove the
      zero-length bucket from the head - causing an infinite loop.  We read only
      a single bucket now - previously partition with the blocking reads would
      read multiple buckets - but it forced having a defined length which we
      agreed was bogus.
      
      Therefore, if we have a zero-length bucket at the head, we would then try
      to partition and split at the zero-point of the brigade.  That combination
      doesn't actually remove the zero-length bucket - it is still there - causing
      an infinite loop because we'll never go past the zero-length bucket.
      
      This call was originally present in core_input_filter.  I think it might
      be better to fix partition/split/etc to eliminate a zero-length bucket
      and skip it.  But, I'm not 100% sure that needs to happen.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91412 13f79535-47bb-0310-9956-ffa450edef68
      0f74698b
  2. Oct 10, 2001
  3. Oct 09, 2001
  4. Oct 08, 2001