From: Eric Covener Date: Mon, 28 Dec 2015 18:24:39 +0000 (+0000) Subject: Merge r1721973 from trunk: X-Git-Tag: 2.4.19~331 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2f0a2426415ca4d14a184847d77421043c5425a;p=apache Merge r1721973 from trunk: PR58761: developer doc improvements. Submitted By: Luca Toscano git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1721974 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/developer/filters.html.en b/docs/manual/developer/filters.html.en index 7af339ba64..e5db22fc4f 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 5e44ababc5..e4b42253d0 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 c00af2ccd3..7b1f133d5c 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.

-