From c1980adcd69f0b5b7086bf3be087edd9fd60c19e Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Mon, 28 Dec 2015 18:23:36 +0000 Subject: [PATCH] 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 --- docs/manual/developer/filters.html.en | 14 ++++++++------ docs/manual/developer/filters.xml | 14 ++++++++------ docs/manual/developer/hooks.html.en | 23 +++++++++++++++++++++-- docs/manual/developer/hooks.xml | 20 +++++++++++++++++++- docs/manual/developer/index.html.en | 9 +++++---- docs/manual/developer/index.xml | 10 +++++----- docs/manual/developer/request.html.en | 8 ++++---- docs/manual/developer/request.xml | 8 ++++---- 8 files changed, 74 insertions(+), 32 deletions(-) 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.

-