mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-23 07:50:02 +00:00
Correct misspellings
This commit is contained in:
parent
9b18e47671
commit
a93e0016ff
@ -22,7 +22,7 @@ starts with ``/**``. In other words, it only processes the comment
|
|||||||
block starting ``/**``. The comment block must end with ``*/``. The
|
block starting ``/**``. The comment block must end with ``*/``. The
|
||||||
``mkapiref.py`` requires that which type of the object this comment
|
``mkapiref.py`` requires that which type of the object this comment
|
||||||
block refers to. To specify the type of the object, the next line
|
block refers to. To specify the type of the object, the next line
|
||||||
must contain the so-caled action keyword. Currently, the following
|
must contain the so-called action keyword. Currently, the following
|
||||||
action keywords are supported: ``@function``, ``@functypedef``,
|
action keywords are supported: ``@function``, ``@functypedef``,
|
||||||
``@enum``, ``@struct`` and ``@union``. The following sections
|
``@enum``, ``@struct`` and ``@union``. The following sections
|
||||||
describes each action keyword.
|
describes each action keyword.
|
||||||
|
@ -288,7 +288,7 @@ The number of status code h2load received.
|
|||||||
.TP
|
.TP
|
||||||
.B total
|
.B total
|
||||||
The number of bytes received from the server "on the wire". If
|
The number of bytes received from the server "on the wire". If
|
||||||
requests were made via TLS, this value is the number of decrpyted
|
requests were made via TLS, this value is the number of decrypted
|
||||||
bytes.
|
bytes.
|
||||||
.TP
|
.TP
|
||||||
.B headers
|
.B headers
|
||||||
|
@ -239,7 +239,7 @@ status codes
|
|||||||
traffic
|
traffic
|
||||||
total
|
total
|
||||||
The number of bytes received from the server "on the wire". If
|
The number of bytes received from the server "on the wire". If
|
||||||
requests were made via TLS, this value is the number of decrpyted
|
requests were made via TLS, this value is the number of decrypted
|
||||||
bytes.
|
bytes.
|
||||||
headers
|
headers
|
||||||
The number of response header bytes from the server without
|
The number of response header bytes from the server without
|
||||||
|
@ -30,7 +30,7 @@ status codes
|
|||||||
traffic
|
traffic
|
||||||
total
|
total
|
||||||
The number of bytes received from the server "on the wire". If
|
The number of bytes received from the server "on the wire". If
|
||||||
requests were made via TLS, this value is the number of decrpyted
|
requests were made via TLS, this value is the number of decrypted
|
||||||
bytes.
|
bytes.
|
||||||
headers
|
headers
|
||||||
The number of response header bytes from the server without
|
The number of response header bytes from the server without
|
||||||
|
@ -58,7 +58,7 @@ Discard downloaded data.
|
|||||||
.TP
|
.TP
|
||||||
.B \-O, \-\-remote\-name
|
.B \-O, \-\-remote\-name
|
||||||
Save download data in the current directory. The
|
Save download data in the current directory. The
|
||||||
filename is dereived from URI. If URI ends with \(aq\fI/\fP\(aq,
|
filename is derived from URI. If URI ends with \(aq\fI/\fP\(aq,
|
||||||
\(aqindex.html\(aq is used as a filename. Not implemented
|
\(aqindex.html\(aq is used as a filename. Not implemented
|
||||||
yet.
|
yet.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
|
@ -36,7 +36,7 @@ OPTIONS
|
|||||||
.. option:: -O, --remote-name
|
.. option:: -O, --remote-name
|
||||||
|
|
||||||
Save download data in the current directory. The
|
Save download data in the current directory. The
|
||||||
filename is dereived from URI. If URI ends with '*/*',
|
filename is derived from URI. If URI ends with '*/*',
|
||||||
'index.html' is used as a filename. Not implemented
|
'index.html' is used as a filename. Not implemented
|
||||||
yet.
|
yet.
|
||||||
|
|
||||||
|
@ -267,7 +267,7 @@ is done for each pattern group.
|
|||||||
Set maximum number of backend concurrent HTTP/1
|
Set maximum number of backend concurrent HTTP/1
|
||||||
connections per origin host. This option is meaningful
|
connections per origin host. This option is meaningful
|
||||||
when \fI\%\-s\fP option is used. The origin host is determined
|
when \fI\%\-s\fP option is used. The origin host is determined
|
||||||
by authority portion of requset URI (or :authority
|
by authority portion of request URI (or :authority
|
||||||
header field for HTTP/2). To limit the number of
|
header field for HTTP/2). To limit the number of
|
||||||
connections per frontend for default mode, use
|
connections per frontend for default mode, use
|
||||||
\fI\%\-\-backend\-http1\-connections\-per\-frontend\fP\&.
|
\fI\%\-\-backend\-http1\-connections\-per\-frontend\fP\&.
|
||||||
@ -1377,7 +1377,7 @@ Clear all existing response header fields.
|
|||||||
Return custom response \fIbody\fP to a client. When this method
|
Return custom response \fIbody\fP to a client. When this method
|
||||||
is called in request phase hook, the request is not forwarded
|
is called in request phase hook, the request is not forwarded
|
||||||
to the backend, and response phase hook for this request will
|
to the backend, and response phase hook for this request will
|
||||||
not be invoked. When this method is called in resonse phase
|
not be invoked. When this method is called in response phase
|
||||||
hook, response from backend server is canceled and discarded.
|
hook, response from backend server is canceled and discarded.
|
||||||
The status code and response header fields should be set
|
The status code and response header fields should be set
|
||||||
before using this method. To set status code, use :rb:meth To
|
before using this method. To set status code, use :rb:meth To
|
||||||
@ -1395,7 +1395,7 @@ It is an error to call this method twice for a given request.
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SS MRUBY EXAMPLES
|
.SS MRUBY EXAMPLES
|
||||||
.sp
|
.sp
|
||||||
Modify requet path:
|
Modify request path:
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
.sp
|
.sp
|
||||||
|
@ -236,7 +236,7 @@ Performance
|
|||||||
Set maximum number of backend concurrent HTTP/1
|
Set maximum number of backend concurrent HTTP/1
|
||||||
connections per origin host. This option is meaningful
|
connections per origin host. This option is meaningful
|
||||||
when :option:`-s` option is used. The origin host is determined
|
when :option:`-s` option is used. The origin host is determined
|
||||||
by authority portion of requset URI (or :authority
|
by authority portion of request URI (or :authority
|
||||||
header field for HTTP/2). To limit the number of
|
header field for HTTP/2). To limit the number of
|
||||||
connections per frontend for default mode, use
|
connections per frontend for default mode, use
|
||||||
:option:`--backend-http1-connections-per-frontend`\.
|
:option:`--backend-http1-connections-per-frontend`\.
|
||||||
@ -1248,7 +1248,7 @@ respectively.
|
|||||||
Return custom response *body* to a client. When this method
|
Return custom response *body* to a client. When this method
|
||||||
is called in request phase hook, the request is not forwarded
|
is called in request phase hook, the request is not forwarded
|
||||||
to the backend, and response phase hook for this request will
|
to the backend, and response phase hook for this request will
|
||||||
not be invoked. When this method is called in resonse phase
|
not be invoked. When this method is called in response phase
|
||||||
hook, response from backend server is canceled and discarded.
|
hook, response from backend server is canceled and discarded.
|
||||||
The status code and response header fields should be set
|
The status code and response header fields should be set
|
||||||
before using this method. To set status code, use :rb:meth To
|
before using this method. To set status code, use :rb:meth To
|
||||||
@ -1266,7 +1266,7 @@ respectively.
|
|||||||
MRUBY EXAMPLES
|
MRUBY EXAMPLES
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Modify requet path:
|
Modify request path:
|
||||||
|
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
|
@ -354,7 +354,7 @@ respectively.
|
|||||||
Return custom response *body* to a client. When this method
|
Return custom response *body* to a client. When this method
|
||||||
is called in request phase hook, the request is not forwarded
|
is called in request phase hook, the request is not forwarded
|
||||||
to the backend, and response phase hook for this request will
|
to the backend, and response phase hook for this request will
|
||||||
not be invoked. When this method is called in resonse phase
|
not be invoked. When this method is called in response phase
|
||||||
hook, response from backend server is canceled and discarded.
|
hook, response from backend server is canceled and discarded.
|
||||||
The status code and response header fields should be set
|
The status code and response header fields should be set
|
||||||
before using this method. To set status code, use :rb:meth To
|
before using this method. To set status code, use :rb:meth To
|
||||||
@ -372,7 +372,7 @@ respectively.
|
|||||||
MRUBY EXAMPLES
|
MRUBY EXAMPLES
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Modify requet path:
|
Modify request path:
|
||||||
|
|
||||||
.. code-block:: ruby
|
.. code-block:: ruby
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user