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
39d50f9b
Commit
39d50f9b
authored
Aug 29, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doc
parent
45f07abf
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
12 deletions
+11
-12
doc/index.rst
doc/index.rst
+2
-2
lib/nghttp2_frame.h
lib/nghttp2_frame.h
+5
-6
lib/nghttp2_hd.h
lib/nghttp2_hd.h
+2
-2
lib/nghttp2_helper.h
lib/nghttp2_helper.h
+2
-2
No files found.
doc/index.rst
View file @
39d50f9b
...
@@ -20,5 +20,5 @@ Contents:
...
@@ -20,5 +20,5 @@ Contents:
Resources
Resources
---------
---------
* http://tools.ietf.org/html/draft-ietf-httpbis-http2-0
4
* http://tools.ietf.org/html/draft-ietf-httpbis-http2-0
6
* http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-0
1
* http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-0
3
lib/nghttp2_frame.h
View file @
39d50f9b
...
@@ -95,8 +95,8 @@ void nghttp2_frame_unpack_frame_hd(nghttp2_frame_hd *hd, const uint8_t* buf);
...
@@ -95,8 +95,8 @@ void nghttp2_frame_unpack_frame_hd(nghttp2_frame_hd *hd, const uint8_t* buf);
* Packs HEADERS frame |frame| in wire format and store it in
* Packs HEADERS frame |frame| in wire format and store it in
* |*buf_ptr|. The capacity of |*buf_ptr| is |*buflen_ptr| bytes.
* |*buf_ptr|. The capacity of |*buf_ptr| is |*buflen_ptr| bytes.
* This function expands |*buf_ptr| as necessary to store frame. When
* This function expands |*buf_ptr| as necessary to store frame. When
* expansion occurred, memory previously pointed by |*buf_ptr| may
be
* expansion occurred, memory previously pointed by |*buf_ptr| may
*
freed
. |*buf_ptr| and |*buflen_ptr| are updated accordingly.
*
change
. |*buf_ptr| and |*buflen_ptr| are updated accordingly.
*
*
* frame->hd.length is assigned after length is determined during
* frame->hd.length is assigned after length is determined during
* packing process.
* packing process.
...
@@ -280,8 +280,8 @@ int nghttp2_frame_unpack_settings_payload(nghttp2_settings_entry **iv_ptr,
...
@@ -280,8 +280,8 @@ int nghttp2_frame_unpack_settings_payload(nghttp2_settings_entry **iv_ptr,
* Packs PUSH_PROMISE frame |frame| in wire format and store it in
* Packs PUSH_PROMISE frame |frame| in wire format and store it in
* |*buf_ptr|. The capacity of |*buf_ptr| is |*buflen_ptr| bytes.
* |*buf_ptr|. The capacity of |*buf_ptr| is |*buflen_ptr| bytes.
* This function expands |*buf_ptr| as necessary to store frame. When
* This function expands |*buf_ptr| as necessary to store frame. When
* expansion occurred, memory previously pointed by |*buf_ptr| may
be
* expansion occurred, memory previously pointed by |*buf_ptr| may
*
freed
. |*buf_ptr| and |*buflen_ptr| are updated accordingly.
*
change
. |*buf_ptr| and |*buflen_ptr| are updated accordingly.
*
*
* frame->hd.length is assigned after length is determined during
* frame->hd.length is assigned after length is determined during
* packing process.
* packing process.
...
@@ -409,8 +409,7 @@ int nghttp2_frame_unpack_goaway(nghttp2_goaway *frame,
...
@@ -409,8 +409,7 @@ int nghttp2_frame_unpack_goaway(nghttp2_goaway *frame,
* Packs WINDOW_UPDATE frame |frame| in wire frame format and store it
* Packs WINDOW_UPDATE frame |frame| in wire frame format and store it
* in |*buf_ptr|. The capacity of |*buf_ptr| is |*buflen_ptr|
* in |*buf_ptr|. The capacity of |*buf_ptr| is |*buflen_ptr|
* length. This function expands |*buf_ptr| as necessary to store
* length. This function expands |*buf_ptr| as necessary to store
* given |frame|. In SPDY/3 spec, WINDOW_UPDATE wire format is always 16
* given |frame|.
* bytes long.
*
*
* This function returns the size of packed frame if it succeeds, or
* This function returns the size of packed frame if it succeeds, or
* returns one of the following negative error codes:
* returns one of the following negative error codes:
...
...
lib/nghttp2_hd.h
View file @
39d50f9b
...
@@ -161,7 +161,7 @@ void nghttp2_hd_inflate_free(nghttp2_hd_context *inflater);
...
@@ -161,7 +161,7 @@ void nghttp2_hd_inflate_free(nghttp2_hd_context *inflater);
*
*
* This function expands |*buf_ptr| as necessary to store the
* This function expands |*buf_ptr| as necessary to store the
* result. When expansion occurred, memory previously pointed by
* result. When expansion occurred, memory previously pointed by
* |*buf_ptr|
is freed
. |*buf_ptr| and |*buflen_ptr| are updated
* |*buf_ptr|
may change
. |*buf_ptr| and |*buflen_ptr| are updated
* accordingly.
* accordingly.
*
*
* This function returns the number of bytes outputted if it succeeds,
* This function returns the number of bytes outputted if it succeeds,
...
@@ -180,7 +180,7 @@ ssize_t nghttp2_hd_deflate_hd(nghttp2_hd_context *deflater,
...
@@ -180,7 +180,7 @@ ssize_t nghttp2_hd_deflate_hd(nghttp2_hd_context *deflater,
/*
/*
* Inflates name/value block stored in |in| with length |inlen|. This
* Inflates name/value block stored in |in| with length |inlen|. This
* function performs decompression. The |*nva_ptr| points to the final
* function performs decompression. The |*nva_ptr| points to the final
* result on succesful decompression. The caller must free |*nva_ptr|
* result on succes
s
ful decompression. The caller must free |*nva_ptr|
* using nghttp2_nv_array_del().
* using nghttp2_nv_array_del().
*
*
* This function returns the number of name/value pairs in |*nva_ptr|
* This function returns the number of name/value pairs in |*nva_ptr|
...
...
lib/nghttp2_helper.h
View file @
39d50f9b
...
@@ -63,8 +63,8 @@ uint32_t nghttp2_get_uint32(const uint8_t *data);
...
@@ -63,8 +63,8 @@ uint32_t nghttp2_get_uint32(const uint8_t *data);
* least |min_length| bytes. If |min_length| > |*buflen_ptr|,
* least |min_length| bytes. If |min_length| > |*buflen_ptr|,
* allocates new buffer having at least |min_length| bytes and assigns
* allocates new buffer having at least |min_length| bytes and assigns
* its pointer to |*buf_ptr| and allocated number of bytes to
* its pointer to |*buf_ptr| and allocated number of bytes to
* |*buflen_ptr|. The memory pointed by |*buf_ptr| previously
is
* |*buflen_ptr|. The memory pointed by |*buf_ptr| previously
may
*
freed
. No memory copy is done between old and new buffer.
*
change
. No memory copy is done between old and new buffer.
* |*buf_ptr| and |*buflen_ptr| are only updated iff this function
* |*buf_ptr| and |*buflen_ptr| are only updated iff this function
* succeeds.
* succeeds.
*
*
...
...
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