httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject Re: more on read_client_block
Date Sun, 22 Sep 1996 19:10:57 GMT wrote:
>Ok, I managed to get read_client_block() to work for me, but I had
>to add this line before the call:
>        php_rqst->remaining = length + 1;
>It seems odd that I have to manually set the r->remaining value.
>Why isn't this set already directly from the content length?
>Perhaps I don't understand chunking properly.  Could someone explain
>it in 25 words or less?

When I looked at it, I came to the conclusion that someone had changed the
meaning of the last parameter to read_client_block from being the size
of the buffer-1 to the size of the buffer.

View raw message