On Sun, 23 Sep 2001, Ryan Bloom wrote: > I don't see this at all. It is not possible to specify how much is > read from the socket itself. I just read through the bucket_socket > code, and we always try to read APR_BUCKET_BUFF_SIZE. This seems to > mean that we are going to read more from the socket than we should, > and the second request will be lost. Yeah... it was decided way back when that apr_bucket_read() should never return partial content. You get all of the data in the bucket when you read from it, or as much as will fit in the bucket if the original data is too big. If you want less than that, split the bucket before reading it. --Cliff
- [PATCH] Take 2 of the http filter rewrite Justin Erenkrantz
- Re: [PATCH] Take 2 of the http filter rewrite Cliff Woolley
- Re: [PATCH] Take 2 of the http filter rewrite Greg Stein
- Re: [PATCH] Take 2 of the http filter rewrite Ryan Bloom
- Re: [PATCH] Take 2 of the http filter rewrite Greg Stein
- Re: [PATCH] Take 2 of the http filter rewrite Justin Erenkrantz
- Re: [PATCH] Take 2 of the http filter rewrite Ryan Bloom
- Re: [PATCH] Take 2 of the http filter rewrite Ryan Bloom
- Re: [PATCH] Take 2 of the http filter rewrite Cliff Woolley
- Re: [PATCH] Take 2 of the http filter rewrite Justin Erenkrantz
- Re: [PATCH] Take 2 of the http filter rewrite TOKILEY
- Re: [PATCH] Take 2 of the http filter rewrite Greg Stein
- Re: [PATCH] Take 2 of the http filter rewrite Justin Erenkrantz
- Re: [PATCH] Take 2 of the http filter rewrite Cliff Woolley
- Re: [PATCH] Take 2 of the http filter rewrite Justin Erenkrantz
- Re: [PATCH] Take 2 of the http filter rewrite Cliff Woolley
- Re: [PATCH] Take 2 of the http filter rewrite Greg Stein
- Re: [PATCH] Take 2 of the http filter rewrite Ryan Bloom
- Re: [PATCH] Take 2 of the http filter rewrite Justin Erenkrantz
