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
3144bcbe
Commit
3144bcbe
authored
Feb 11, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused iframe->error_code
parent
eb2856f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
lib/nghttp2_session.c
lib/nghttp2_session.c
+0
-5
lib/nghttp2_session.h
lib/nghttp2_session.h
+0
-2
No files found.
lib/nghttp2_session.c
View file @
3144bcbe
...
...
@@ -174,7 +174,6 @@ static void nghttp2_inbound_frame_reset(nghttp2_session *session)
iframe
->
niv
=
0
;
iframe
->
payloadleft
=
0
;
iframe
->
padlen
=
0
;
iframe
->
error_code
=
0
;
iframe
->
buflen
=
0
;
}
...
...
@@ -3823,7 +3822,6 @@ ssize_t nghttp2_session_mem_recv(nghttp2_session *session,
}
if
((
iframe
->
frame
.
hd
.
flags
&
NGHTTP2_FLAG_END_HEADERS
)
==
0
)
{
inbound_frame_reset_left
(
iframe
,
NGHTTP2_FRAME_HEAD_LENGTH
);
iframe
->
error_code
=
0
;
iframe
->
padlen
=
0
;
if
(
iframe
->
state
==
NGHTTP2_IB_READ_HEADER_BLOCK
)
{
iframe
->
state
=
NGHTTP2_IB_EXPECT_CONTINUATION
;
...
...
@@ -4059,9 +4057,6 @@ ssize_t nghttp2_session_mem_recv(nghttp2_session *session,
data_readlen
,
session
->
user_data
);
if
(
rv
==
NGHTTP2_ERR_PAUSE
)
{
/* Set type to NGHTTP2_DATA, so that we can see what was
paused in nghttp2_session_continue() */
session
->
iframe
.
error_code
=
NGHTTP2_ERR_PAUSE
;
return
in
-
first
;
}
if
(
nghttp2_is_fatal
(
rv
))
{
...
...
lib/nghttp2_session.h
View file @
3144bcbe
...
...
@@ -107,8 +107,6 @@ typedef struct {
/* padding length for the current frame */
size_t
padlen
;
nghttp2_inbound_state
state
;
/* TODO, remove this. Error code */
int
error_code
;
uint8_t
buf
[
8
];
/* How many bytes have been written to |buf| */
uint8_t
buflen
;
...
...
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