httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <...@sunstarsys.com>
Subject Re: libapreq (preliminary comments on the multipart.c code)
Date Thu, 14 Dec 2000 04:21:02 GMT
Joe Schaefer <joe@sunstarsys.com> writes:

> There's still something that I haven't groked yet about how the 
> multipart_buffer_read code works on boundary reads. As I can't come
> up with a real test page that breaks it, perhaps you could set me
> straight on how it handles partial boundary reads.

[ snip slightly misleading picture ]

> As I said, I can't produce this behavior with a real example, so
> I'm probably missing something.  I guess I'm just skeptical
> that partial boundary matches actually work right in exceptional
> cases like this.

I got it now- my picture was wrong.  You don't modify self->buffer
at all- just the copied version in buf. Very slick and efficient-
I'm no longer a skeptic :)

-- 
Joe Schaefer


Mime
View raw message