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
add182b4
Commit
add182b4
authored
Apr 23, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'meconlen-data_unset'
parents
68059ccd
3d948fd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lib/nghttp2_session.c
lib/nghttp2_session.c
+3
-2
No files found.
lib/nghttp2_session.c
View file @
add182b4
...
@@ -2885,7 +2885,6 @@ static ssize_t nghttp2_session_mem_send_internal(nghttp2_session *session,
...
@@ -2885,7 +2885,6 @@ static ssize_t nghttp2_session_mem_send_internal(nghttp2_session *session,
return
rv
;
return
rv
;
}
}
*
data_ptr
=
NULL
;
for
(;;)
{
for
(;;)
{
switch
(
aob
->
state
)
{
switch
(
aob
->
state
)
{
case
NGHTTP2_OB_POP_ITEM
:
{
case
NGHTTP2_OB_POP_ITEM
:
{
...
@@ -3142,6 +3141,8 @@ ssize_t nghttp2_session_mem_send(nghttp2_session *session,
...
@@ -3142,6 +3141,8 @@ ssize_t nghttp2_session_mem_send(nghttp2_session *session,
int
rv
;
int
rv
;
ssize_t
len
;
ssize_t
len
;
*
data_ptr
=
NULL
;
len
=
nghttp2_session_mem_send_internal
(
session
,
data_ptr
,
1
);
len
=
nghttp2_session_mem_send_internal
(
session
,
data_ptr
,
1
);
if
(
len
<=
0
)
{
if
(
len
<=
0
)
{
return
len
;
return
len
;
...
@@ -3163,7 +3164,7 @@ ssize_t nghttp2_session_mem_send(nghttp2_session *session,
...
@@ -3163,7 +3164,7 @@ ssize_t nghttp2_session_mem_send(nghttp2_session *session,
}
}
int
nghttp2_session_send
(
nghttp2_session
*
session
)
{
int
nghttp2_session_send
(
nghttp2_session
*
session
)
{
const
uint8_t
*
data
;
const
uint8_t
*
data
=
NULL
;
ssize_t
datalen
;
ssize_t
datalen
;
ssize_t
sentlen
;
ssize_t
sentlen
;
nghttp2_bufs
*
framebufs
;
nghttp2_bufs
*
framebufs
;
...
...
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