Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_core_module.xml @ 1768:061b590cbe1a
Documented $bytes_received, $session_time, $protocol in stream.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 29 Aug 2016 15:13:01 +0300 |
parents | 256774f145ac |
children | 6a30f04a0208 |
comparison
equal
deleted
inserted
replaced
1767:f5fd245db8b3 | 1768:061b590cbe1a |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_stream_core_module" | 9 <module name="Module ngx_stream_core_module" |
10 link="/en/docs/stream/ngx_stream_core_module.html" | 10 link="/en/docs/stream/ngx_stream_core_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="15"> | 12 rev="16"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_core_module</literal> module | 17 The <literal>ngx_stream_core_module</literal> module |
374 <tag-desc> | 374 <tag-desc> |
375 client address in a binary form, value’s length is always 4 bytes | 375 client address in a binary form, value’s length is always 4 bytes |
376 for IPv4 addresses or 16 bytes for IPv6 addresses | 376 for IPv4 addresses or 16 bytes for IPv6 addresses |
377 </tag-desc> | 377 </tag-desc> |
378 | 378 |
379 <tag-name id="var_bytes_received"><var>$bytes_received</var></tag-name> | |
380 <tag-desc> | |
381 number of bytes received from a client (1.11.4) | |
382 </tag-desc> | |
383 | |
379 <tag-name id="var_bytes_sent"><var>$bytes_sent</var></tag-name> | 384 <tag-name id="var_bytes_sent"><var>$bytes_sent</var></tag-name> |
380 <tag-desc> | 385 <tag-desc> |
381 number of bytes sent to a client | 386 number of bytes sent to a client |
382 </tag-desc> | 387 </tag-desc> |
383 | 388 |
402 </tag-desc> | 407 </tag-desc> |
403 | 408 |
404 <tag-name id="var_pid"><var>$pid</var></tag-name> | 409 <tag-name id="var_pid"><var>$pid</var></tag-name> |
405 <tag-desc> | 410 <tag-desc> |
406 PID of the worker process | 411 PID of the worker process |
412 </tag-desc> | |
413 | |
414 <tag-name id="var_protocol"><var>$protocol</var></tag-name> | |
415 <tag-desc> | |
416 protocol used to communicate with the client: | |
417 <literal>TCP</literal> or <literal>UDP</literal> (1.11.4) | |
407 </tag-desc> | 418 </tag-desc> |
408 | 419 |
409 <tag-name id="var_remote_addr"><var>$remote_addr</var></tag-name> | 420 <tag-name id="var_remote_addr"><var>$remote_addr</var></tag-name> |
410 <tag-desc> | 421 <tag-desc> |
411 client address | 422 client address |
429 <tag-name id="var_server_port"><var>$server_port</var></tag-name> | 440 <tag-name id="var_server_port"><var>$server_port</var></tag-name> |
430 <tag-desc> | 441 <tag-desc> |
431 port of the server which accepted a connection | 442 port of the server which accepted a connection |
432 </tag-desc> | 443 </tag-desc> |
433 | 444 |
445 <tag-name id="var_session_time"><var>$session_time</var></tag-name> | |
446 <tag-desc> | |
447 session duration in seconds with a milliseconds resolution | |
448 (1.11.4); | |
449 </tag-desc> | |
450 | |
434 <tag-name id="var_time_iso8601"><var>$time_iso8601</var></tag-name> | 451 <tag-name id="var_time_iso8601"><var>$time_iso8601</var></tag-name> |
435 <tag-desc> | 452 <tag-desc> |
436 local time in the ISO 8601 standard format | 453 local time in the ISO 8601 standard format |
437 </tag-desc> | 454 </tag-desc> |
438 | 455 |