Re: svn commit: r1894423 - /apr/apr/trunk/buckets/apr_brigade.c

2021-10-21 Thread Graham Leggett
On 21 Oct 2021, at 12:57, Ruediger Pluem wrote: >> * >> * Bump one byte off, and loop round to search again. >> */ >> -apr_bucket_split(e, 1); >> -APR_BUCKET_REMOVE(e); >> -APR_BRIGADE_INSERT_TAIL(bbOut, e); >> - >> -outbytes++; >> +

Re: svn commit: r1894423 - /apr/apr/trunk/buckets/apr_brigade.c

2021-10-21 Thread Ruediger Pluem
On 10/21/21 12:23 AM, minf...@apache.org wrote: > Author: minfrin > Date: Wed Oct 20 22:23:10 2021 > New Revision: 1894423 > > URL: http://svn.apache.org/viewvc?rev=1894423=rev > Log: > apr_brigade_split_boundary: Rather than shaving one byte from > a bucket, ignore the byte instead on the

Re: svn commit: r1894380 - in /apr/apr/trunk: buckets/apr_brigade.c include/apr_buckets.h test/testbuckets.c

2021-10-21 Thread Ruediger Pluem
On 10/20/21 11:01 PM, Graham Leggett wrote: > On 20 Oct 2021, at 10:43, Yann Ylavic wrote: > >> apr_strnstr() maybe, strnstr() is non-standard AFAICT and possibly not >> available on all platforms (Windows)? > > This needs to be memmem really, as the boundary isn’t always a string. But I