comparison xml/en/docs/stream/stream_processing.xml @ 2883:4959250ba429

Added links to njs directives in "Stream Processing".
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 23 Aug 2022 14:51:40 +0100
parents 2fd28cd4f2f8
children
comparison
equal deleted inserted replaced
2882:986e1f930e3b 2883:4959250ba429
5 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> 5 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd">
6 6
7 <article name="How nginx processes a TCP/UDP session" 7 <article name="How nginx processes a TCP/UDP session"
8 link="/en/docs/stream/stream_processing.html" 8 link="/en/docs/stream/stream_processing.html"
9 lang="en" 9 lang="en"
10 rev="3"> 10 rev="4">
11 11
12 <section> 12 <section>
13 13
14 <para> 14 <para>
15 A TCP/UDP session from a client is processed 15 A TCP/UDP session from a client is processed
41 <tag-name id="access_phase"> 41 <tag-name id="access_phase">
42 <literal>Access</literal> 42 <literal>Access</literal>
43 </tag-name> 43 </tag-name>
44 <tag-desc> 44 <tag-desc>
45 Client access limitation before actual data processing. 45 Client access limitation before actual data processing.
46 The <link doc="ngx_stream_access_module.xml">ngx_stream_access_module</link> 46 At this phase,
47 module is invoked at this phase. 47 the <link doc="ngx_stream_access_module.xml">ngx_stream_access_module</link>
48 module is invoked,
49 for <link doc="../njs/index.xml">njs</link>,
50 the <link doc="ngx_stream_js_module.xml" id="js_access"/> directive
51 is invoked.
48 </tag-desc> 52 </tag-desc>
49 53
50 <tag-name id="ssl_phase"> 54 <tag-name id="ssl_phase">
51 <literal>SSL</literal> 55 <literal>SSL</literal>
52 </tag-name> 56 </tag-name>
63 Reading initial bytes of data into the 67 Reading initial bytes of data into the
64 <link doc="ngx_stream_core_module.xml" id="preread_buffer_size">preread buffer</link> 68 <link doc="ngx_stream_core_module.xml" id="preread_buffer_size">preread buffer</link>
65 to allow modules such as 69 to allow modules such as
66 <link doc="ngx_stream_ssl_preread_module.xml">ngx_stream_ssl_preread_module</link> 70 <link doc="ngx_stream_ssl_preread_module.xml">ngx_stream_ssl_preread_module</link>
67 analyze the data before its processing. 71 analyze the data before its processing.
72 For <link doc="../njs/index.xml">njs</link>,
73 the <link doc="ngx_stream_js_module.xml" id="js_preread"/> directive
74 is invoked at this phase.
68 </tag-desc> 75 </tag-desc>
69 76
70 <tag-name id="content_phase"> 77 <tag-name id="content_phase">
71 <literal>Content</literal> 78 <literal>Content</literal>
72 </tag-name> 79 </tag-name>
74 Mandatory phase where data is actually processed, usually 81 Mandatory phase where data is actually processed, usually
75 <link doc="ngx_stream_proxy_module.xml">proxied</link> to 82 <link doc="ngx_stream_proxy_module.xml">proxied</link> to
76 <link doc="ngx_stream_upstream_module.xml">upstream</link> servers, 83 <link doc="ngx_stream_upstream_module.xml">upstream</link> servers,
77 or a specified value 84 or a specified value
78 is <link doc="ngx_stream_return_module.xml">returned</link> to a client. 85 is <link doc="ngx_stream_return_module.xml">returned</link> to a client.
86 For <link doc="../njs/index.xml">njs</link>,
87 the <link doc="ngx_stream_js_module.xml" id="js_filter"/> directive
88 is invoked at this phase.
79 </tag-desc> 89 </tag-desc>
80 90
81 <tag-name id="log_phase"> 91 <tag-name id="log_phase">
82 <literal>Log</literal> 92 <literal>Log</literal>
83 </tag-name> 93 </tag-name>