nghttp2/nghttp.1.html

499 lines
27 KiB
HTML
Raw Normal View History

2014-07-18 14:34:21 +02:00
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2015-03-14 10:59:44 +01:00
<title>nghttp(1) &mdash; nghttp2 0.7.8-DEV documentation</title>
2014-07-18 14:34:21 +02:00
2015-01-23 17:06:41 +01:00
<link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
2014-07-18 14:34:21 +02:00
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
2015-03-14 10:59:44 +01:00
<link rel="top" title="nghttp2 0.7.8-DEV documentation" href="index.html"/>
2014-07-18 14:34:21 +02:00
<link rel="next" title="nghttpd(1)" href="nghttpd.1.html"/>
<link rel="prev" title="Tutorial: HPACK API" href="tutorial-hpack.html"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-nav-search">
2014-09-13 14:41:04 +02:00
<a href="index.html" class="fa fa-home"> nghttp2</a>
2015-01-23 17:06:41 +01:00
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
2014-07-18 14:34:21 +02:00
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
2015-01-23 17:06:41 +01:00
<ul class="current">
2014-07-18 14:34:21 +02:00
<li class="toctree-l1"><a class="reference internal" href="package_README.html">nghttp2 - HTTP/2 C Library</a><ul>
<li class="toctree-l2"><a class="reference internal" href="package_README.html#development-status">Development Status</a></li>
<li class="toctree-l2"><a class="reference internal" href="package_README.html#public-test-server">Public Test Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="package_README.html#requirements">Requirements</a></li>
<li class="toctree-l2"><a class="reference internal" href="package_README.html#build-from-git">Build from git</a></li>
<li class="toctree-l2"><a class="reference internal" href="package_README.html#building-documentation">Building documentation</a></li>
2015-01-23 17:06:41 +01:00
<li class="toctree-l2"><a class="reference internal" href="package_README.html#unit-tests">Unit tests</a></li>
<li class="toctree-l2"><a class="reference internal" href="package_README.html#integration-tests">Integration tests</a></li>
2014-07-18 14:34:21 +02:00
<li class="toctree-l2"><a class="reference internal" href="package_README.html#client-server-and-proxy-programs">Client, Server and Proxy programs</a></li>
<li class="toctree-l2"><a class="reference internal" href="package_README.html#benchmarking-tool">Benchmarking tool</a></li>
<li class="toctree-l2"><a class="reference internal" href="package_README.html#hpack-tools">HPACK tools</a></li>
2014-09-28 17:05:31 +02:00
<li class="toctree-l2"><a class="reference internal" href="package_README.html#libnghttp2-asio-high-level-http-2-c-library">libnghttp2_asio: High level HTTP/2 C++ library</a></li>
2014-07-18 14:34:21 +02:00
<li class="toctree-l2"><a class="reference internal" href="package_README.html#python-bindings">Python bindings</a></li>
2014-08-17 12:18:10 +02:00
<li class="toctree-l2"><a class="reference internal" href="package_README.html#contribution">Contribution</a></li>
2014-07-18 14:34:21 +02:00
</ul>
</li>
2015-01-23 17:06:41 +01:00
<li class="toctree-l1"><a class="reference internal" href="contribute.html">Contribution Guidelines</a><ul>
<li class="toctree-l2"><a class="reference internal" href="contribute.html#coding-style">Coding style</a></li>
</ul>
</li>
2014-08-17 12:18:10 +02:00
<li class="toctree-l1"><a class="reference internal" href="building-android-binary.html">Building Android binary</a></li>
2014-07-18 14:34:21 +02:00
<li class="toctree-l1"><a class="reference internal" href="tutorial-client.html">Tutorial: HTTP/2 client</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial-client.html#libevent-client-c">libevent-client.c</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tutorial-server.html">Tutorial: HTTP/2 server</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial-server.html#libevent-server-c">libevent-server.c</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tutorial-hpack.html">Tutorial: HPACK API</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial-hpack.html#deflating-encoding-headers">Deflating (encoding) headers</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial-hpack.html#inflating-decoding-headers">Inflating (decoding) headers</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial-hpack.html#deflate-c">deflate.c</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="current reference internal" href="">nghttp(1)</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#synopsis">SYNOPSIS</a></li>
<li class="toctree-l2"><a class="reference internal" href="#description">DESCRIPTION</a></li>
2015-03-14 10:59:44 +01:00
<li class="toctree-l2"><a class="reference internal" href="#options">OPTIONS</a></li>
2014-07-18 14:34:21 +02:00
<li class="toctree-l2"><a class="reference internal" href="#see-also">SEE ALSO</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="nghttpd.1.html">nghttpd(1)</a><ul>
<li class="toctree-l2"><a class="reference internal" href="nghttpd.1.html#synopsis">SYNOPSIS</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpd.1.html#description">DESCRIPTION</a></li>
2015-03-14 10:59:44 +01:00
<li class="toctree-l2"><a class="reference internal" href="nghttpd.1.html#options">OPTIONS</a></li>
2014-07-18 14:34:21 +02:00
<li class="toctree-l2"><a class="reference internal" href="nghttpd.1.html#see-also">SEE ALSO</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="nghttpx.1.html">nghttpx(1)</a><ul>
<li class="toctree-l2"><a class="reference internal" href="nghttpx.1.html#synopsis">SYNOPSIS</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx.1.html#description">DESCRIPTION</a></li>
2015-03-14 10:59:44 +01:00
<li class="toctree-l2"><a class="reference internal" href="nghttpx.1.html#options">OPTIONS</a></li>
2015-01-23 17:06:41 +01:00
<li class="toctree-l2"><a class="reference internal" href="nghttpx.1.html#files">FILES</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx.1.html#signals">SIGNALS</a></li>
2015-03-14 10:59:44 +01:00
<li class="toctree-l2"><a class="reference internal" href="nghttpx.1.html#server-push">SERVER PUSH</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx.1.html#unix-domain-socket">UNIX DOMAIN SOCKET</a></li>
2014-07-18 14:34:21 +02:00
<li class="toctree-l2"><a class="reference internal" href="nghttpx.1.html#see-also">SEE ALSO</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="h2load.1.html">h2load(1)</a><ul>
<li class="toctree-l2"><a class="reference internal" href="h2load.1.html#synopsis">SYNOPSIS</a></li>
<li class="toctree-l2"><a class="reference internal" href="h2load.1.html#description">DESCRIPTION</a></li>
2015-03-14 10:59:44 +01:00
<li class="toctree-l2"><a class="reference internal" href="h2load.1.html#options">OPTIONS</a></li>
<li class="toctree-l2"><a class="reference internal" href="h2load.1.html#output">OUTPUT</a></li>
2014-07-18 14:34:21 +02:00
<li class="toctree-l2"><a class="reference internal" href="h2load.1.html#see-also">SEE ALSO</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="nghttpx-howto.html">nghttpx - HTTP/2 proxy - HOW-TO</a><ul>
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#default-mode">Default mode</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#http-2-proxy-mode">HTTP/2 proxy mode</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#client-mode">Client mode</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#client-proxy-mode">Client proxy mode</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#http-2-bridge-mode">HTTP/2 bridge mode</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#disable-ssl-tls">Disable SSL/TLS</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#specifying-additional-ca-certificate">Specifying additional CA certificate</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#read-write-rate-limit">Read/write rate limit</a></li>
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#rewriting-location-header-field">Rewriting location header field</a></li>
2015-01-23 17:06:41 +01:00
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#hot-swapping">Hot swapping</a></li>
2014-08-17 12:18:10 +02:00
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#re-opening-log-files">Re-opening log files</a></li>
2015-03-14 10:59:44 +01:00
<li class="toctree-l2"><a class="reference internal" href="nghttpx-howto.html#multiple-backend-addresses">Multiple backend addresses</a></li>
2014-07-18 14:34:21 +02:00
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="h2load-howto.html">h2load - HTTP/2 benchmarking tool - HOW-TO</a><ul>
<li class="toctree-l2"><a class="reference internal" href="h2load-howto.html#basic-usage">Basic Usage</a></li>
<li class="toctree-l2"><a class="reference internal" href="h2load-howto.html#flow-control">Flow Control</a></li>
<li class="toctree-l2"><a class="reference internal" href="h2load-howto.html#multi-threading">Multi-Threading</a></li>
<li class="toctree-l2"><a class="reference internal" href="h2load-howto.html#selecting-protocol-for-clear-text">Selecting protocol for clear text</a></li>
<li class="toctree-l2"><a class="reference internal" href="h2load-howto.html#multiple-uris">Multiple URIs</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="apiref.html">API Reference</a><ul>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#includes">Includes</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#remarks">Remarks</a></li>
2015-03-14 10:59:44 +01:00
<li class="toctree-l2"><a class="reference internal" href="apiref.html#http-messaging">HTTP Messaging</a></li>
2014-07-18 14:34:21 +02:00
<li class="toctree-l2"><a class="reference internal" href="apiref.html#macros">Macros</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#enums">Enums</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#types-structs-unions-and-typedefs">Types (structs, unions and typedefs)</a></li>
<li class="toctree-l2"><a class="reference internal" href="apiref.html#functions">Functions</a></li>
</ul>
</li>
2014-09-28 17:05:31 +02:00
<li class="toctree-l1"><a class="reference internal" href="libnghttp2_asio.html">libnghttp2_asio: High level HTTP/2 C++ library</a><ul>
<li class="toctree-l2"><a class="reference internal" href="libnghttp2_asio.html#server-api">Server API</a></li>
2015-03-14 10:59:44 +01:00
<li class="toctree-l2"><a class="reference internal" href="libnghttp2_asio.html#client-api">Client API</a></li>
2014-09-28 17:05:31 +02:00
</ul>
</li>
2014-07-18 14:34:21 +02:00
<li class="toctree-l1"><a class="reference internal" href="python-apiref.html">Python API Reference</a><ul>
<li class="toctree-l2"><a class="reference internal" href="python-apiref.html#hpack-api">HPACK API</a></li>
<li class="toctree-l2"><a class="reference internal" href="python-apiref.html#http-2-servers">HTTP/2 servers</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="nghttp2.h.html">nghttp2.h</a></li>
<li class="toctree-l1"><a class="reference internal" href="nghttp2ver.h.html">nghttp2ver.h</a></li>
2015-03-14 10:59:44 +01:00
<li class="toctree-l1"><a class="reference internal" href="asio_http2_server.h.html">asio_http2_server.h</a></li>
<li class="toctree-l1"><a class="reference internal" href="asio_http2_client.h.html">asio_http2_client.h</a></li>
2014-09-28 17:05:31 +02:00
<li class="toctree-l1"><a class="reference internal" href="asio_http2.h.html">asio_http2.h</a></li>
2014-07-18 14:34:21 +02:00
<li class="toctree-l1"><a class="reference external" href="https://github.com/tatsuhiro-t/nghttp2">Source</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/tatsuhiro-t/nghttp2/issues">Issues</a></li>
2015-01-23 17:06:41 +01:00
<li class="toctree-l1"><a class="reference external" href="https://nghttp2.org/">nghttp2.org</a></li>
2014-07-18 14:34:21 +02:00
</ul>
2015-01-23 17:06:41 +01:00
2014-07-18 14:34:21 +02:00
</div>
&nbsp;
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">nghttp2</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> &raquo;</li>
<li>nghttp(1)</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
2014-09-13 14:41:04 +02:00
<div role="main" class="document">
2014-07-18 14:34:21 +02:00
<div class="section" id="nghttp-1">
<h1>nghttp(1)<a class="headerlink" href="#nghttp-1" title="Permalink to this headline"></a></h1>
<div class="section" id="synopsis">
<h2>SYNOPSIS<a class="headerlink" href="#synopsis" title="Permalink to this headline"></a></h2>
<p><strong>nghttp</strong> [OPTIONS]... &lt;URI&gt;...</p>
</div>
<div class="section" id="description">
<h2>DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline"></a></h2>
<p>HTTP/2 experimental client</p>
2015-01-23 17:06:41 +01:00
<dl class="describe">
<dt>
<tt class="descname">&lt;URI&gt;</tt></dt>
2014-07-18 14:34:21 +02:00
<dd><p>Specify URI to access.</p>
</dd></dl>
</div>
<div class="section" id="options">
2015-03-14 10:59:44 +01:00
<h2>OPTIONS<a class="headerlink" href="#options" title="Permalink to this headline"></a></h2>
2014-07-18 14:34:21 +02:00
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-v">
<span id="cmdoption--verbose"></span><tt class="descname">-v</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--verbose</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-v" title="Permalink to this definition"></a></dt>
<dd><p>Print debug information such as reception and
transmission of frames and name/value pairs. Specifying
this option multiple times increases verbosity.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-n">
<span id="cmdoption--null-out"></span><tt class="descname">-n</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--null-out</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-n" title="Permalink to this definition"></a></dt>
2014-07-18 14:34:21 +02:00
<dd><p>Discard downloaded data.</p>
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-O">
<span id="cmdoption--remote-name"></span><tt class="descname">-O</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--remote-name</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-O" title="Permalink to this definition"></a></dt>
<dd><p>Save download data in the current directory. The
filename is dereived from URI. If URI ends with '<em>/</em>',
'index.html' is used as a filename. Not implemented
yet.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-t">
<span id="cmdoption--timeout"></span><tt class="descname">-t</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--timeout</tt><tt class="descclassname">=&lt;SEC&gt;</tt><a class="headerlink" href="#cmdoption-t" title="Permalink to this definition"></a></dt>
<dd><p>Timeout each request after &lt;SEC&gt; seconds.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-w">
<span id="cmdoption--window-bits"></span><tt class="descname">-w</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--window-bits</tt><tt class="descclassname">=&lt;N&gt;</tt><a class="headerlink" href="#cmdoption-w" title="Permalink to this definition"></a></dt>
<dd><p>Sets the stream level initial window size to 2**&lt;N&gt;-1.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-W">
<span id="cmdoption--connection-window-bits"></span><tt class="descname">-W</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--connection-window-bits</tt><tt class="descclassname">=&lt;N&gt;</tt><a class="headerlink" href="#cmdoption-W" title="Permalink to this definition"></a></dt>
<dd><p>Sets the connection level initial window size to
2014-07-18 14:34:21 +02:00
2**&lt;N&gt;-1.</p>
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-a">
<span id="cmdoption--get-assets"></span><tt class="descname">-a</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--get-assets</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-a" title="Permalink to this definition"></a></dt>
<dd><p>Download assets such as stylesheets, images and script
files linked from the downloaded resource. Only links
whose origins are the same with the linking resource
will be downloaded. nghttp prioritizes resources using
HTTP/2 dependency based priority. The priority order,
from highest to lowest, is html itself, css, javascript
and images.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-s">
<span id="cmdoption--stat"></span><tt class="descname">-s</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--stat</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-s" title="Permalink to this definition"></a></dt>
2014-07-18 14:34:21 +02:00
<dd><p>Print statistics.</p>
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-H">
<span id="cmdoption--header"></span><tt class="descname">-H</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--header</tt><tt class="descclassname">=&lt;HEADER&gt;</tt><a class="headerlink" href="#cmdoption-H" title="Permalink to this definition"></a></dt>
<dd><p>Add a header to the requests. Example: <a class="reference internal" href="#cmdoption-H"><em class="xref std std-option">-H</em></a>':method: PUT'</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
2015-03-14 10:59:44 +01:00
<dl class="option">
<dt id="cmdoption--trailer">
<tt class="descname">--trailer</tt><tt class="descclassname">=&lt;HEADER&gt;</tt><a class="headerlink" href="#cmdoption--trailer" title="Permalink to this definition"></a></dt>
<dd><p>Add a trailer header to the requests. &lt;HEADER&gt; must not
include pseudo header field (header field name starting
with ':'). To send trailer, one must use <a class="reference internal" href="nghttpd.1.html#cmdoption-d"><em class="xref std std-option">-d</em></a> option to
send request body. Example: <a class="reference internal" href="nghttpd.1.html#cmdoption--trailer"><em class="xref std std-option">--trailer</em></a> 'foo: bar'.</p>
</dd></dl>
2014-07-18 14:34:21 +02:00
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption--cert">
<tt class="descname">--cert</tt><tt class="descclassname">=&lt;CERT&gt;</tt><a class="headerlink" href="#cmdoption--cert" title="Permalink to this definition"></a></dt>
<dd><p>Use the specified client certificate file. The file
must be in PEM format.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption--key">
<tt class="descname">--key</tt><tt class="descclassname">=&lt;KEY&gt;</tt><a class="headerlink" href="#cmdoption--key" title="Permalink to this definition"></a></dt>
<dd><p>Use the client private key file. The file must be in
PEM format.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-d">
<span id="cmdoption--data"></span><tt class="descname">-d</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--data</tt><tt class="descclassname">=&lt;FILE&gt;</tt><a class="headerlink" href="#cmdoption-d" title="Permalink to this definition"></a></dt>
<dd><p>Post FILE to server. If '-' is given, data will be read
from stdin.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-m">
<span id="cmdoption--multiply"></span><tt class="descname">-m</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--multiply</tt><tt class="descclassname">=&lt;N&gt;</tt><a class="headerlink" href="#cmdoption-m" title="Permalink to this definition"></a></dt>
<dd><p>Request each URI &lt;N&gt; times. By default, same URI is not
requested twice. This option disables it too.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-u">
<span id="cmdoption--upgrade"></span><tt class="descname">-u</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--upgrade</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-u" title="Permalink to this definition"></a></dt>
<dd><p>Perform HTTP Upgrade for HTTP/2. This option is ignored
if the request URI has https scheme. If <a class="reference internal" href="nghttpd.1.html#cmdoption-d"><em class="xref std std-option">-d</em></a> is used, the
HTTP upgrade request is performed with OPTIONS method.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-p">
<span id="cmdoption--weight"></span><tt class="descname">-p</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--weight</tt><tt class="descclassname">=&lt;WEIGHT&gt;</tt><a class="headerlink" href="#cmdoption-p" title="Permalink to this definition"></a></dt>
<dd><p>Sets priority group weight. The valid value range is
[1, 256], inclusive.</p>
<p>Default: <tt class="docutils literal"><span class="pre">16</span></tt></p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-M">
<span id="cmdoption--peer-max-concurrent-streams"></span><tt class="descname">-M</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--peer-max-concurrent-streams</tt><tt class="descclassname">=&lt;N&gt;</tt><a class="headerlink" href="#cmdoption-M" title="Permalink to this definition"></a></dt>
<dd><p>Use &lt;N&gt; as SETTINGS_MAX_CONCURRENT_STREAMS value of
remote endpoint as if it is received in SETTINGS frame.
The default is large enough as it is seen as unlimited.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-c">
<span id="cmdoption--header-table-size"></span><tt class="descname">-c</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--header-table-size</tt><tt class="descclassname">=&lt;SIZE&gt;</tt><a class="headerlink" href="#cmdoption-c" title="Permalink to this definition"></a></dt>
2014-07-18 14:34:21 +02:00
<dd><p>Specify decoder header table size.</p>
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-b">
<span id="cmdoption--padding"></span><tt class="descname">-b</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--padding</tt><tt class="descclassname">=&lt;N&gt;</tt><a class="headerlink" href="#cmdoption-b" title="Permalink to this definition"></a></dt>
<dd><p>Add at most &lt;N&gt; bytes to a frame payload as padding.
Specify 0 to disable padding.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-r">
<span id="cmdoption--har"></span><tt class="descname">-r</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--har</tt><tt class="descclassname">=&lt;FILE&gt;</tt><a class="headerlink" href="#cmdoption-r" title="Permalink to this definition"></a></dt>
<dd><p>Output HTTP transactions &lt;FILE&gt; in HAR format. If '-'
is given, data is written to stdout.</p>
</dd></dl>
<dl class="option">
<dt id="cmdoption--color">
<tt class="descname">--color</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption--color" title="Permalink to this definition"></a></dt>
2014-07-18 14:34:21 +02:00
<dd><p>Force colored log output.</p>
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption--continuation">
<tt class="descname">--continuation</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption--continuation" title="Permalink to this definition"></a></dt>
2014-07-18 14:34:21 +02:00
<dd><p>Send large header to test CONTINUATION.</p>
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption--no-content-length">
<tt class="descname">--no-content-length</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption--no-content-length" title="Permalink to this definition"></a></dt>
<dd><p>Don't send content-length header field.</p>
</dd></dl>
<dl class="option">
<dt id="cmdoption--no-dep">
<tt class="descname">--no-dep</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption--no-dep" title="Permalink to this definition"></a></dt>
<dd><p>Don't send dependency based priority hint to server.</p>
2014-07-18 14:34:21 +02:00
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption--dep-idle">
<tt class="descname">--dep-idle</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption--dep-idle" title="Permalink to this definition"></a></dt>
<dd><p>Use idle streams as anchor nodes to express priority.</p>
</dd></dl>
<dl class="option">
<dt id="cmdoption--version">
<tt class="descname">--version</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption--version" title="Permalink to this definition"></a></dt>
2014-07-18 14:34:21 +02:00
<dd><p>Display version information and exit.</p>
</dd></dl>
<dl class="option">
2015-01-23 17:06:41 +01:00
<dt id="cmdoption-h">
<span id="cmdoption--help"></span><tt class="descname">-h</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--help</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-h" title="Permalink to this definition"></a></dt>
2014-07-18 14:34:21 +02:00
<dd><p>Display this help and exit.</p>
</dd></dl>
2015-01-23 17:06:41 +01:00
<p>The &lt;SIZE&gt; argument is an integer and an optional unit (e.g., 10K is
10 * 1024). Units are K, M and G (powers of 1024).</p>
2014-07-18 14:34:21 +02:00
</div>
<div class="section" id="see-also">
<h2>SEE ALSO<a class="headerlink" href="#see-also" title="Permalink to this headline"></a></h2>
2015-01-23 17:06:41 +01:00
<p><em class="manpage">nghttpd(1)</em>, <em class="manpage">nghttpx(1)</em>, <em class="manpage">h2load(1)</em></p>
2014-07-18 14:34:21 +02:00
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="nghttpd.1.html" class="btn btn-neutral float-right" title="nghttpd(1)">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="tutorial-hpack.html" class="btn btn-neutral" title="Tutorial: HPACK API"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
2015-01-23 17:06:41 +01:00
&copy; Copyright 2012, 2015, Tatsuhiro Tsujikawa.
2014-07-18 14:34:21 +02:00
</p>
</div>
2015-01-23 17:06:41 +01:00
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
2014-07-18 14:34:21 +02:00
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
2015-03-14 10:59:44 +01:00
VERSION:'0.7.8-DEV',
2014-07-18 14:34:21 +02:00
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: false
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
</script>
</body>
</html>