httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject [PATCH] C-L POST body wouldn't report EOS
Date Wed, 17 Jul 2002 18:48:52 GMT
Attached is a patch that should allow ap_get_brigade() modules to
determine EOS on the same roundtrip as the last read of the request
body contents.

Right now, the caller won't receive an EOS.  Coupled with our useless
r->remaining req_rec member, there is no way to determine if there is
no data left to read.

With this patch, pulling a small (say, 200 byte) POST request will
now return the 200 byte bucket, plus the EOS bucket signifying that
we have nothing left to read from the client.

I don't have any immediate proposal on chunked post bodies, but this
should be considered separately any ways.


View raw message