diff --git a/doc/h2load.1 b/doc/h2load.1 index 671ee865..9c5633cc 100644 --- a/doc/h2load.1 +++ b/doc/h2load.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "H2LOAD" "1" "October 20, 2015" "1.3.5-DEV" "nghttp2" +.TH "H2LOAD" "1" "October 25, 2015" "1.4.0" "nghttp2" .SH NAME h2load \- HTTP/2 benchmarking tool . diff --git a/doc/nghttp.1 b/doc/nghttp.1 index c0f86b72..74c28cd3 100644 --- a/doc/nghttp.1 +++ b/doc/nghttp.1 @@ -1,8 +1,8 @@ .\" Man page generated from reStructuredText. . -.TH "NGHTTP" "1" "October 20, 2015" "1.3.5-DEV" "nghttp2" +.TH "NGHTTP" "1" "October 25, 2015" "1.4.0" "nghttp2" .SH NAME -nghttp \- HTTP/2 experimental client +nghttp \- HTTP/2 client . .nr rst2man-indent-level 0 . @@ -157,7 +157,12 @@ The default is large enough as it is seen as unlimited. .INDENT 0.0 .TP .B \-c, \-\-header\-table\-size= -Specify decoder header table size. +Specify decoder header table size. If this option is +used multiple times, and the minimum value among the +given values except for last one is strictly less than +the last value, that minimum value is set in SETTINGS +frame payload before the last value, to simulate +multiple header table size change. .UNINDENT .INDENT 0.0 .TP diff --git a/doc/nghttp.1.rst b/doc/nghttp.1.rst index f76bc067..dcd3a537 100644 --- a/doc/nghttp.1.rst +++ b/doc/nghttp.1.rst @@ -120,7 +120,12 @@ OPTIONS .. option:: -c, --header-table-size= - Specify decoder header table size. + Specify decoder header table size. If this option is + used multiple times, and the minimum value among the + given values except for last one is strictly less than + the last value, that minimum value is set in SETTINGS + frame payload before the last value, to simulate + multiple header table size change. .. option:: -b, --padding= diff --git a/doc/nghttpd.1 b/doc/nghttpd.1 index f698535e..91dc8ace 100644 --- a/doc/nghttpd.1 +++ b/doc/nghttpd.1 @@ -1,8 +1,8 @@ .\" Man page generated from reStructuredText. . -.TH "NGHTTPD" "1" "October 20, 2015" "1.3.5-DEV" "nghttp2" +.TH "NGHTTPD" "1" "October 25, 2015" "1.4.0" "nghttp2" .SH NAME -nghttpd \- HTTP/2 experimental server +nghttpd \- HTTP/2 server . .nr rst2man-indent-level 0 . diff --git a/doc/nghttpx.1 b/doc/nghttpx.1 index 826e2721..f9bad533 100644 --- a/doc/nghttpx.1 +++ b/doc/nghttpx.1 @@ -1,8 +1,8 @@ .\" Man page generated from reStructuredText. . -.TH "NGHTTPX" "1" "October 20, 2015" "1.3.5-DEV" "nghttp2" +.TH "NGHTTPX" "1" "October 25, 2015" "1.4.0" "nghttp2" .SH NAME -nghttpx \- HTTP/2 experimental proxy +nghttpx \- HTTP/2 proxy . .nr rst2man-indent-level 0 . @@ -590,6 +590,32 @@ Specify address of memcached server to store session cache. This enables shared session cache between multiple nghttpx instances. .UNINDENT +.INDENT 0.0 +.TP +.B \-\-tls\-dyn\-rec\-warmup\-threshold= +Specify the threshold size for TLS dynamic record size +behaviour. During a TLS session, after the threshold +number of bytes have been written, the TLS record size +will be increased to the maximum allowed (16K). The max +record size will continue to be used on the active TLS +session. After \fI\%\-\-tls\-dyn\-rec\-idle\-timeout\fP has elapsed, +the record size is reduced to 1300 bytes. Specify 0 to +always use the maximum record size, regardless of idle +period. This behaviour applies to all TLS based +frontends, and TLS HTTP/2 backends. +.sp +Default: \fB1M\fP +.UNINDENT +.INDENT 0.0 +.TP +.B \-\-tls\-dyn\-rec\-idle\-timeout= +Specify TLS dynamic record size behaviour timeout. See +\fI\%\-\-tls\-dyn\-rec\-warmup\-threshold\fP for more information. +This behaviour applies to all TLS based frontends, and +TLS HTTP/2 backends. +.sp +Default: \fB1s\fP +.UNINDENT .SS HTTP/2 and SPDY .INDENT 0.0 .TP @@ -926,17 +952,8 @@ be used to drop root privileges. .SS Scripting .INDENT 0.0 .TP -.B \-\-request\-phase\-file= -Set mruby script file which will be executed when -request header fields are completely received from -frontend. This hook is called request phase hook. -.UNINDENT -.INDENT 0.0 -.TP -.B \-\-response\-phase\-file= -Set mruby script file which will be executed when -response header fields are completely received from -backend. This hook is called response phase hook. +.B \-\-mruby\-file= +Set mruby script file .UNINDENT .SS Misc .INDENT 0.0 @@ -1166,7 +1183,7 @@ server. These hooks allows users to modify header fields, or common HTTP variables, like authority or request path, and even return custom response without forwarding request to backend servers. .sp -To specify mruby script file, use \fB\-\-mruby\-file\fP option. The +To specify mruby script file, use \fI\%\-\-mruby\-file\fP option. The script will be evaluated once per thread on startup, and it must instantiate object and evaluate it as the return value (e.g., \fBApp.new\fP). This object is called app object. If app object diff --git a/doc/nghttpx.1.rst b/doc/nghttpx.1.rst index 0e86b6ac..c932ace1 100644 --- a/doc/nghttpx.1.rst +++ b/doc/nghttpx.1.rst @@ -527,6 +527,30 @@ SSL/TLS cache. This enables shared session cache between multiple nghttpx instances. +.. option:: --tls-dyn-rec-warmup-threshold= + + Specify the threshold size for TLS dynamic record size + behaviour. During a TLS session, after the threshold + number of bytes have been written, the TLS record size + will be increased to the maximum allowed (16K). The max + record size will continue to be used on the active TLS + session. After :option:`--tls-dyn-rec-idle-timeout` has elapsed, + the record size is reduced to 1300 bytes. Specify 0 to + always use the maximum record size, regardless of idle + period. This behaviour applies to all TLS based + frontends, and TLS HTTP/2 backends. + + Default: ``1M`` + +.. option:: --tls-dyn-rec-idle-timeout= + + Specify TLS dynamic record size behaviour timeout. See + :option:`--tls-dyn-rec-warmup-threshold` for more information. + This behaviour applies to all TLS based frontends, and + TLS HTTP/2 backends. + + Default: ``1s`` + HTTP/2 and SPDY ~~~~~~~~~~~~~~~ @@ -829,17 +853,9 @@ Process Scripting ~~~~~~~~~ -.. option:: --request-phase-file= +.. option:: --mruby-file= - Set mruby script file which will be executed when - request header fields are completely received from - frontend. This hook is called request phase hook. - -.. option:: --response-phase-file= - - Set mruby script file which will be executed when - response header fields are completely received from - backend. This hook is called response phase hook. + Set mruby script file Misc