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
5dd6d86d
Commit
5dd6d86d
authored
Aug 09, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
a3ff4cb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/nghttp2_helper.c
lib/nghttp2_helper.c
+1
-1
lib/nghttp2_stream.c
lib/nghttp2_stream.c
+1
-1
No files found.
lib/nghttp2_helper.c
View file @
5dd6d86d
...
@@ -96,7 +96,7 @@ int nghttp2_adjust_local_window_size(int32_t *local_window_size_ptr,
...
@@ -96,7 +96,7 @@ int nghttp2_adjust_local_window_size(int32_t *local_window_size_ptr,
int32_t
delta
)
int32_t
delta
)
{
{
if
(
delta
>
0
)
{
if
(
delta
>
0
)
{
int32_t
new_recv_window_size
=
*
recv_window_size_ptr
-
delta
;
int32_t
new_recv_window_size
=
*
recv_window_size_ptr
-
delta
;
if
(
new_recv_window_size
<
0
)
{
if
(
new_recv_window_size
<
0
)
{
if
(
*
local_window_size_ptr
>
if
(
*
local_window_size_ptr
>
NGHTTP2_MAX_WINDOW_SIZE
+
new_recv_window_size
)
{
NGHTTP2_MAX_WINDOW_SIZE
+
new_recv_window_size
)
{
...
...
lib/nghttp2_stream.c
View file @
5dd6d86d
...
@@ -88,7 +88,7 @@ static int update_initial_window_size
...
@@ -88,7 +88,7 @@ static int update_initial_window_size
new_window_size
>
NGHTTP2_MAX_WINDOW_SIZE
)
{
new_window_size
>
NGHTTP2_MAX_WINDOW_SIZE
)
{
return
-
1
;
return
-
1
;
}
}
*
window_size_ptr
+=
new_initial_window_size
-
old_initial
_window_size
;
*
window_size_ptr
=
new
_window_size
;
return
0
;
return
0
;
}
}
...
...
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