From 3de0a78dcdd5ff1ced0600547f35a6a229d63a33 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Tue, 6 Oct 2015 19:37:14 +0000 Subject: [PATCH] Remove mod_h2 docs files forgotten after h2 to http2 renaming. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707124 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_h2.html.en | 287 --------------------------------- docs/manual/mod/mod_h2.xml | 278 ------------------------------- 2 files changed, 565 deletions(-) delete mode 100644 docs/manual/mod/mod_h2.html.en delete mode 100644 docs/manual/mod/mod_h2.xml diff --git a/docs/manual/mod/mod_h2.html.en b/docs/manual/mod/mod_h2.html.en deleted file mode 100644 index c31880d5bd..0000000000 --- a/docs/manual/mod/mod_h2.html.en +++ /dev/null @@ -1,287 +0,0 @@ - - - - - -mod_h2 - Apache HTTP Server Version 2.4 - - - - - - - - -
<-
-
-Apache > HTTP Server > Documentation > Version 2.4 > Modules
-
-

Apache Module mod_h2

-
-

Available Languages:  en 

-
- - - -
Description:Support for the HTTP/2 transport layer
Status:Extension
Module Identifier:h2_module
Source File:mod_h2.c
-

Summary

- -

This module provides HTTP/2 (RFC 7540) support for the Apache - HTTP Server.

- -

This module relies on libnghttp2 - to provide the core http/2 engine.

- -
- - -
top
-

H2Direct Directive

- - - - - - - -
Description:H2 Direct Protocol Switch
Syntax:H2Direct on|off
Default:H2Direct on (for non TLS)
Context:server config, virtual host
Status:Extension
Module:mod_h2
-

- This directive toggles the usage of the HTTP/2 Direct Mode. This - should be used inside a - <VirtualHost> - section to enable direct HTTP/2 communication for that virtual host. - Direct communication means that if the first bytes received by the - server on a connection match the HTTP/2 preamble, the HTTP/2 - protocol is switched to immediately without further negotiation. - This mode falls outside the RFC 7540 but has become widely implemented - as it is very convenient for development and testing. - By default the direct HTTP/2 mode is enabled. -

-

Example

H2Direct on
-
- -
-
top
-

H2MaxSessionStreams Directive

- - - - - - - -
Description:Maximum number of active streams per HTTP/2 session.
Syntax:H2MaxSessionStreams n
Default:H2MaxSessionStreams 100
Context:server config, virtual host
Status:Extension
Module:mod_h2
-

- This directive sets the maximum number of active streams per HTTP/2 session (e.g. connection) - that the server allows. A stream is active if it is not idle or - closed according to RFC 7540. -

-

Example

H2MaxSessionStreams 20
-
- -
-
top
-

H2MaxWorkerIdleSeconds Directive

- - - - - - - -
Description:Maximum number of seconds h2 workers remain idle until shut down.
Syntax:H2MaxWorkerIdleSeconds n
Default:H2MaxWorkerIdleSeconds 600
Context:server config
Status:Extension
Module:mod_h2
-

- This directive sets the maximum number of seconds a h2 worker may - idle until it shuts itself down. This only happens while the number of - h2 workers exceeds H2MinWorkers. -

-

Example

H2MaxWorkerIdleSeconds 20
-
- -
-
top
-

H2MaxWorkers Directive

- - - - - - -
Description:Maximum number of worker threads to use per child process.
Syntax:H2MaxWorkers n
Context:server config
Status:Extension
Module:mod_h2
-

- This directive sets the maximum number of worker threads to spawn - per child process for HTTP/2 processing. If this directive is not used, - mod_h2 will chose a value suitable for the mpm - module loaded. -

-

Example

H2MaxWorkers 20
-
- -
-
top
-

H2MinWorkers Directive

- - - - - - -
Description:Minimal number of worker threads to use per child process.
Syntax:H2MinWorkers n
Context:server config
Status:Extension
Module:mod_h2
-

- This directive sets the minimum number of worker threads to spawn - per child process for HTTP/2 processing. If this directive is not used, - mod_h2 will chose a value suitable for the mpm - module loaded. -

-

Example

H2MinWorkers 10
-
- -
-
top
-

H2SerializeHeaders Directive

- - - - - - - -
Description:Serialize Request/Resoonse Processing Switch
Syntax:H2SerializeHeaders on|off
Default:H2SerializeHeaders off
Context:server config, virtual host
Status:Extension
Module:mod_h2
-

- This directive toggles if HTTP/2 requests shall be serialized in - HTTP/1.1 format for processing by httpd core or if - received binary data shall be passed into the request_recs - directly. -

-

- Serialization will lower performance, but gives more backward - compatibility in case custom filters/hooks need it. -

-

Example

H2SerializeHeaders on
-
- -
-
top
-

H2SessionExtraFiles Directive

- - - - - - - -
Description:Number of Extra File Handles
Syntax:H2SessionExtraFiles n
Default:H2SessionExtraFiles 5
Context:server config, virtual host
Status:Extension
Module:mod_h2
-

- This directive sets maximum number of extra file handles - a HTTP/2 session is allowed to use. A file handle is counted as - extra when it is transfered from a h2 worker thread to - the main HTTP/2 connection handling. This commonly happens when - serving static files. -

- Depending on the processing model configured on the server, the - number of connections times number of active streams may exceed - the number of file handles for the process. On the other hand, - converting every file into memory bytes early results in too - many buffer writes. This option helps to mitigate that. -

- The number of file handles used by a server process is then in - the order of: -

-
(h2_connections * extra_files) + (h2_max_worker)
-

Example

H2SessionExtraFiles 10
-
- -
-
top
-

H2StreamMaxMemSize Directive

- - - - - - - -
Description:Maximum amount of output data buffered per stream.
Syntax:H2StreamMaxMemSize bytes
Default:H2StreamMaxMemSize 65536
Context:server config, virtual host
Status:Extension
Module:mod_h2
-

- This directive sets the maximum number of outgoing data bytes buffered in memory - for an active streams. This memory is not allocated per stream as such. Allocations - are counted against this limit when they are about to be done. Stream processing - freezes when the limit has been reached and will only continue when buffered data - has been sent out to the client. -

-

Example

H2StreamMaxMemSize 128000
-
- -
-
top
-

H2WindowSize Directive

- - - - - - - -
Description:Size of Stream Window for upstream data.
Syntax:H2WindowSize bytes
Default:H2WindowSize 65536
Context:server config, virtual host
Status:Extension
Module:mod_h2
-

- This directive sets the size of the window that is used for flow control - from client to server and limits the amount of data the server has to buffer. - The client will stop sending on a stream once the limit has been reached until - the server announces more available space (as it has processed some of the data). -

- This limit affects only request bodies, not its meta data such as headers. Also, - it has no effect on response bodies as the window size for those are managed - by the clients. -

-

Example

H2WindowSize 128000
-
- -
-
-
-

Available Languages:  en 

-
top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.
-
- \ No newline at end of file diff --git a/docs/manual/mod/mod_h2.xml b/docs/manual/mod/mod_h2.xml deleted file mode 100644 index c5c77aa373..0000000000 --- a/docs/manual/mod/mod_h2.xml +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - - - - - mod_h2 - Support for the HTTP/2 transport layer - Extension - mod_h2.c - h2_module - - -

This module provides HTTP/2 (RFC 7540) support for the Apache - HTTP Server.

- -

This module relies on libnghttp2 - to provide the core http/2 engine.

- -
- - - H2Direct - H2 Direct Protocol Switch - H2Direct on|off - H2Direct on (for non TLS) - - server config - virtual host - - - -

- This directive toggles the usage of the HTTP/2 Direct Mode. This - should be used inside a - VirtualHost - section to enable direct HTTP/2 communication for that virtual host. - Direct communication means that if the first bytes received by the - server on a connection match the HTTP/2 preamble, the HTTP/2 - protocol is switched to immediately without further negotiation. - This mode falls outside the RFC 7540 but has become widely implemented - as it is very convenient for development and testing. - By default the direct HTTP/2 mode is enabled. -

- Example - - H2Direct on - - -
-
- - - H2MaxSessionStreams - Maximum number of active streams per HTTP/2 session. - H2MaxSessionStreams n - H2MaxSessionStreams 100 - - server config - virtual host - - -

- This directive sets the maximum number of active streams per HTTP/2 session (e.g. connection) - that the server allows. A stream is active if it is not idle or - closed according to RFC 7540. -

- Example - - H2MaxSessionStreams 20 - - -
-
- - - H2StreamMaxMemSize - Maximum amount of output data buffered per stream. - H2StreamMaxMemSize bytes - H2StreamMaxMemSize 65536 - - server config - virtual host - - -

- This directive sets the maximum number of outgoing data bytes buffered in memory - for an active streams. This memory is not allocated per stream as such. Allocations - are counted against this limit when they are about to be done. Stream processing - freezes when the limit has been reached and will only continue when buffered data - has been sent out to the client. -

- Example - - H2StreamMaxMemSize 128000 - - -
-
- - - H2WindowSize - Size of Stream Window for upstream data. - H2WindowSize bytes - H2WindowSize 65536 - - server config - virtual host - - -

- This directive sets the size of the window that is used for flow control - from client to server and limits the amount of data the server has to buffer. - The client will stop sending on a stream once the limit has been reached until - the server announces more available space (as it has processed some of the data). -

- This limit affects only request bodies, not its meta data such as headers. Also, - it has no effect on response bodies as the window size for those are managed - by the clients. -

- Example - - H2WindowSize 128000 - - -
-
- - - H2MinWorkers - Minimal number of worker threads to use per child process. - H2MinWorkers n - - server config - - -

- This directive sets the minimum number of worker threads to spawn - per child process for HTTP/2 processing. If this directive is not used, - mod_h2 will chose a value suitable for the mpm - module loaded. -

- Example - - H2MinWorkers 10 - - -
-
- - - H2MaxWorkers - Maximum number of worker threads to use per child process. - H2MaxWorkers n - - server config - - -

- This directive sets the maximum number of worker threads to spawn - per child process for HTTP/2 processing. If this directive is not used, - mod_h2 will chose a value suitable for the mpm - module loaded. -

- Example - - H2MaxWorkers 20 - - -
-
- - - H2MaxWorkerIdleSeconds - Maximum number of seconds h2 workers remain idle until shut down. - H2MaxWorkerIdleSeconds n - H2MaxWorkerIdleSeconds 600 - - server config - - -

- This directive sets the maximum number of seconds a h2 worker may - idle until it shuts itself down. This only happens while the number of - h2 workers exceeds H2MinWorkers. -

- Example - - H2MaxWorkerIdleSeconds 20 - - -
-
- - - H2SessionExtraFiles - Number of Extra File Handles - H2SessionExtraFiles n - H2SessionExtraFiles 5 - - server config - virtual host - - -

- This directive sets maximum number of extra file handles - a HTTP/2 session is allowed to use. A file handle is counted as - extra when it is transfered from a h2 worker thread to - the main HTTP/2 connection handling. This commonly happens when - serving static files. -

- Depending on the processing model configured on the server, the - number of connections times number of active streams may exceed - the number of file handles for the process. On the other hand, - converting every file into memory bytes early results in too - many buffer writes. This option helps to mitigate that. -

- The number of file handles used by a server process is then in - the order of: -

-
-                (h2_connections * extra_files) + (h2_max_worker)
-            
- Example - - H2SessionExtraFiles 10 - - -
-
- - - H2SerializeHeaders - Serialize Request/Resoonse Processing Switch - H2SerializeHeaders on|off - H2SerializeHeaders off - - server config - virtual host - - -

- This directive toggles if HTTP/2 requests shall be serialized in - HTTP/1.1 format for processing by httpd core or if - received binary data shall be passed into the request_recs - directly. -

-

- Serialization will lower performance, but gives more backward - compatibility in case custom filters/hooks need it. -

- Example - - H2SerializeHeaders on - - -
-
- -
-- 2.40.0