From: Eric Covener Date: Mon, 28 Dec 2015 18:23:36 +0000 (+0000) Subject: PR58761: developer doc improvements. X-Git-Tag: 2.5.0-alpha~2494 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1980adcd69f0b5b7086bf3be087edd9fd60c19e;p=thirdparty%2Fapache%2Fhttpd.git PR58761: developer doc improvements. Submitted By: Luca Toscano git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721973 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/developer/filters.html.en b/docs/manual/developer/filters.html.en index a91dd847ad8..084239b0e7d 100644 --- a/docs/manual/developer/filters.html.en +++ b/docs/manual/developer/filters.html.en @@ -105,12 +105,14 @@

This is actually rather simple in theory, but the code is complex. First of all, it is important that everybody realize that there are three filter lists for each request, but they are all - concatenated together. So, the first list is - r->output_filters, then r->proto_output_filters, - and finally r->connection->output_filters. These correspond - to the RESOURCE, PROTOCOL, and - CONNECTION filters respectively. The problem previously, was - that we used a singly linked list to create the filter stack, and we + concatenated together:

+ + +

The problem previously, was that we used a singly linked list to create the filter stack, and we started from the "correct" location. This means that if I had a RESOURCE filter on the stack, and I added a CONNECTION filter, the CONNECTION filter would diff --git a/docs/manual/developer/filters.xml b/docs/manual/developer/filters.xml index 5e44ababc53..e4b42253d05 100644 --- a/docs/manual/developer/filters.xml +++ b/docs/manual/developer/filters.xml @@ -99,12 +99,14 @@

This is actually rather simple in theory, but the code is complex. First of all, it is important that everybody realize that there are three filter lists for each request, but they are all - concatenated together. So, the first list is - r->output_filters, then r->proto_output_filters, - and finally r->connection->output_filters. These correspond - to the RESOURCE, PROTOCOL, and - CONNECTION filters respectively. The problem previously, was - that we used a singly linked list to create the filter stack, and we + concatenated together:

+ + +

The problem previously, was that we used a singly linked list to create the filter stack, and we started from the "correct" location. This means that if I had a RESOURCE filter on the stack, and I added a CONNECTION filter, the CONNECTION filter would diff --git a/docs/manual/developer/hooks.html.en b/docs/manual/developer/hooks.html.en index 28d05af542b..3692a9c68a1 100644 --- a/docs/manual/developer/hooks.html.en +++ b/docs/manual/developer/hooks.html.en @@ -36,11 +36,29 @@ Modules can provide functions that are called, and specify when they get called in comparison to other modules.

-