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
64323881
Commit
64323881
authored
Mar 08, 2012
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added doc for spdylay_error values.
parent
e2092966
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
lib/includes/spdylay/spdylay.h
lib/includes/spdylay/spdylay.h
+14
-0
No files found.
lib/includes/spdylay/spdylay.h
View file @
64323881
...
...
@@ -44,13 +44,25 @@ typedef struct spdylay_session spdylay_session;
#define SPDYLAY_PROTO_SPDY3 3
typedef
enum
{
/* Invalid argument passed. */
SPDYLAY_ERR_INVALID_ARGUMENT
=
-
501
,
/* Zlib error. */
SPDYLAY_ERR_ZLIB
=
-
502
,
/* The specified protocol version is not supported. */
SPDYLAY_ERR_UNSUPPORTED_VERSION
=
-
503
,
/* Used as a return value from spdylay_send_callback and
spdylay_recv_callback to indicate that the operation would
block. */
SPDYLAY_ERR_WOULDBLOCK
=
-
504
,
/* General protocol error */
SPDYLAY_ERR_PROTO
=
-
505
,
/* The frame is invalid. */
SPDYLAY_ERR_INVALID_FRAME
=
-
506
,
/* The peer performed a shutdown on the connection. */
SPDYLAY_ERR_EOF
=
-
507
,
/* Used as a return value from spdylay_data_source_read_callback to
indicate that data transfer is postponed. See
spdylay_data_source_read_callback for details. */
SPDYLAY_ERR_DEFERRED
=
-
508
,
/* Stream ID has reached maximum value. Therefore no stream ID is
available. */
...
...
@@ -79,7 +91,9 @@ typedef enum {
unexpected condition that it cannot process any further data
reliably (e.g., out of memory). */
SPDYLAY_ERR_FATAL
=
-
900
,
/* Out of memory. */
SPDYLAY_ERR_NOMEM
=
-
901
,
/* The user callback function failed. */
SPDYLAY_ERR_CALLBACK_FAILURE
=
-
902
,
}
spdylay_error
;
...
...
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