Changes with Apache 2.0.36
+ *) Add HTTP chunked input trailer support. [Justin Erenkrantz]
+
+ *) Rename and export get_mime_headers as ap_get_mime_headers.
+ [Justin Erenkrantz]
+
*) Allow empty Host: header arguments. PR 7441. [Justin Erenkrantz]
*) Properly substitute sbindir as httpd's location in apachectl. PR 7840.
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2002/04/13 00:50:20 $]
+Last modified at [$Date: 2002/04/16 05:43:08 $]
Release:
* Daedalus segfaults with 2.0.35
Greg and Cliff are working on this.
- * HTTP chunk reads fail to read the trailers.
-
CURRENT VOTES:
* Should we always build [support*] binaries statically unless otherwise
*/
request_rec *ap_read_request(conn_rec *c);
+/**
+ * Read the mime-encoded headers.
+ * @param r The current request
+ */
+void ap_get_mime_headers(request_rec *r);
+
/* Finish up stuff after a request */
/**
ctx->remaining = get_chunk_size(line);
if (!ctx->remaining) {
- /* Handle trailers by calling get_mime_headers again! */
+ /* Handle trailers by calling ap_get_mime_headers again! */
+ ap_get_mime_headers(f->r);
e = apr_bucket_eos_create(c->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(b, e);
return APR_SUCCESS;
return 1;
}
-static void get_mime_headers(request_rec *r)
+void ap_get_mime_headers(request_rec *r)
{
char* field;
char *value;
}
if (!r->assbackwards) {
- get_mime_headers(r);
+ ap_get_mime_headers(r);
if (r->status != HTTP_REQUEST_TIME_OUT) {
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r,
"request failed: error reading the headers");