Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
da859100
Commit
da859100
authored
Jan 06, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #472 from kumagi/fix-typo
fix typos in documents.
parents
2f50bc1b
f3a37b2e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
README.rst
README.rst
+1
-1
lib/includes/nghttp2/nghttp2.h
lib/includes/nghttp2/nghttp2.h
+4
-4
lib/nghttp2_session.c
lib/nghttp2_session.c
+2
-2
No files found.
README.rst
View file @
da859100
...
@@ -274,7 +274,7 @@ for this 24 bytes byte string and updated API.
...
@@ -274,7 +274,7 @@ for this 24 bytes byte string and updated API.
``NGHTTP2_CLIENT_MAGIC_LEN``.
``NGHTTP2_CLIENT_MAGIC_LEN``.
* ``NGHTTP2_BAD_PREFACE`` was renamed as ``NGHTTP2_BAD_CLIENT_MAGIC``
* ``NGHTTP2_BAD_PREFACE`` was renamed as ``NGHTTP2_BAD_CLIENT_MAGIC``
The alreay deprecated ``NGHTTP2_CLIENT_CONNECTION_HEADER`` and
The alrea
d
y deprecated ``NGHTTP2_CLIENT_CONNECTION_HEADER`` and
``NGHTTP2_CLIENT_CONNECTION_HEADER_LEN`` were removed.
``NGHTTP2_CLIENT_CONNECTION_HEADER_LEN`` were removed.
If application uses these macros, just replace old ones with new ones.
If application uses these macros, just replace old ones with new ones.
...
...
lib/includes/nghttp2/nghttp2.h
View file @
da859100
...
@@ -3275,7 +3275,7 @@ nghttp2_submit_response(nghttp2_session *session, int32_t stream_id,
...
@@ -3275,7 +3275,7 @@ nghttp2_submit_response(nghttp2_session *session, int32_t stream_id,
* has already sent and if `nghttp2_submit_trailer()` is called before
* has already sent and if `nghttp2_submit_trailer()` is called before
* any response HEADERS submission (usually by
* any response HEADERS submission (usually by
* `nghttp2_submit_response()`), the content of |nva| will be sent as
* `nghttp2_submit_response()`), the content of |nva| will be sent as
* reponse headers, which will result in error.
* re
s
ponse headers, which will result in error.
*
*
* This function has the same effect with `nghttp2_submit_headers()`,
* This function has the same effect with `nghttp2_submit_headers()`,
* with flags = :enum:`NGHTTP2_FLAG_END_HEADERS` and both pri_spec and
* with flags = :enum:`NGHTTP2_FLAG_END_HEADERS` and both pri_spec and
...
@@ -3418,7 +3418,7 @@ nghttp2_submit_headers(nghttp2_session *session, uint8_t flags,
...
@@ -3418,7 +3418,7 @@ nghttp2_submit_headers(nghttp2_session *session, uint8_t flags,
* :enum:`NGHTTP2_ERR_INVALID_ARGUMENT`
* :enum:`NGHTTP2_ERR_INVALID_ARGUMENT`
* The |stream_id| is 0.
* The |stream_id| is 0.
* :enum:`NGHTTP2_ERR_STREAM_CLOSED`
* :enum:`NGHTTP2_ERR_STREAM_CLOSED`
* The stream was alreay closed; or the |stream_id| is invalid.
* The stream was alrea
d
y closed; or the |stream_id| is invalid.
*
*
* .. note::
* .. note::
*
*
...
@@ -3587,7 +3587,7 @@ NGHTTP2_EXTERN int nghttp2_submit_settings(nghttp2_session *session,
...
@@ -3587,7 +3587,7 @@ NGHTTP2_EXTERN int nghttp2_submit_settings(nghttp2_session *session,
* The |stream_id| is 0; The |stream_id| does not designate stream
* The |stream_id| is 0; The |stream_id| does not designate stream
* that peer initiated.
* that peer initiated.
* :enum:`NGHTTP2_ERR_STREAM_CLOSED`
* :enum:`NGHTTP2_ERR_STREAM_CLOSED`
* The stream was alreay closed; or the |stream_id| is invalid.
* The stream was alrea
d
y closed; or the |stream_id| is invalid.
*
*
* .. warning::
* .. warning::
*
*
...
@@ -4174,7 +4174,7 @@ typedef enum {
...
@@ -4174,7 +4174,7 @@ typedef enum {
* :enum:`NGHTTP2_ERR_HEADER_COMP`
* :enum:`NGHTTP2_ERR_HEADER_COMP`
* Inflation process has failed.
* Inflation process has failed.
* :enum:`NGHTTP2_ERR_BUFFER_ERROR`
* :enum:`NGHTTP2_ERR_BUFFER_ERROR`
* The heder field name or value is too large.
* The he
a
der field name or value is too large.
*
*
* Example follows::
* Example follows::
*
*
...
...
lib/nghttp2_session.c
View file @
da859100
...
@@ -1823,7 +1823,7 @@ static int session_prep_frame(nghttp2_session *session,
...
@@ -1823,7 +1823,7 @@ static int session_prep_frame(nghttp2_session *session,
}
}
if
(
rv
!=
0
)
{
if
(
rv
!=
0
)
{
// If stream was alreay closed, nghttp2_session_get_stream()
// If stream was alrea
d
y closed, nghttp2_session_get_stream()
// returns NULL, but item is still attached to the stream.
// returns NULL, but item is still attached to the stream.
// Search stream including closed again.
// Search stream including closed again.
stream
=
nghttp2_session_get_stream_raw
(
session
,
frame
->
hd
.
stream_id
);
stream
=
nghttp2_session_get_stream_raw
(
session
,
frame
->
hd
.
stream_id
);
...
@@ -1975,7 +1975,7 @@ static int session_prep_frame(nghttp2_session *session,
...
@@ -1975,7 +1975,7 @@ static int session_prep_frame(nghttp2_session *session,
rv
=
nghttp2_session_predicate_data_send
(
session
,
stream
);
rv
=
nghttp2_session_predicate_data_send
(
session
,
stream
);
if
(
rv
!=
0
)
{
if
(
rv
!=
0
)
{
// If stream was alreay closed, nghttp2_session_get_stream()
// If stream was alrea
d
y closed, nghttp2_session_get_stream()
// returns NULL, but item is still attached to the stream.
// returns NULL, but item is still attached to the stream.
// Search stream including closed again.
// Search stream including closed again.
stream
=
nghttp2_session_get_stream_raw
(
session
,
frame
->
hd
.
stream_id
);
stream
=
nghttp2_session_get_stream_raw
(
session
,
frame
->
hd
.
stream_id
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment