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
a7eb6502
Commit
a7eb6502
authored
Mar 15, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: Use large transmission buffer to reduce SSL/TLS overhead
parent
a457d2a1
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
src/HttpServer.cc
src/HttpServer.cc
+1
-1
src/h2load_http2_session.cc
src/h2load_http2_session.cc
+1
-1
src/h2load_spdy_session.cc
src/h2load_spdy_session.cc
+1
-1
src/shrpx_http2_session.cc
src/shrpx_http2_session.cc
+1
-1
src/shrpx_http2_upstream.cc
src/shrpx_http2_upstream.cc
+1
-1
src/shrpx_spdy_upstream.cc
src/shrpx_spdy_upstream.cc
+1
-1
No files found.
src/HttpServer.cc
View file @
a7eb6502
...
...
@@ -367,7 +367,7 @@ int Http2Handler::on_read()
int
Http2Handler
::
on_write
()
{
int
rv
;
uint8_t
buf
[
4096
];
uint8_t
buf
[
16384
];
auto
output
=
bufferevent_get_output
(
bev_
);
util
::
EvbufferBuffer
evbbuf
(
output
,
buf
,
sizeof
(
buf
));
...
...
src/h2load_http2_session.cc
View file @
a7eb6502
...
...
@@ -170,7 +170,7 @@ ssize_t Http2Session::on_read()
int
Http2Session
::
on_write
()
{
int
rv
;
uint8_t
buf
[
4096
];
uint8_t
buf
[
16384
];
auto
output
=
bufferevent_get_output
(
client_
->
bev
);
util
::
EvbufferBuffer
evbbuf
(
output
,
buf
,
sizeof
(
buf
));
for
(;;)
{
...
...
src/h2load_spdy_session.cc
View file @
a7eb6502
...
...
@@ -178,7 +178,7 @@ ssize_t SpdySession::on_read()
int
SpdySession
::
on_write
()
{
int
rv
;
uint8_t
buf
[
4096
];
uint8_t
buf
[
16384
];
sendbuf
.
reset
(
bufferevent_get_output
(
client_
->
bev
),
buf
,
sizeof
(
buf
));
...
...
src/shrpx_http2_session.cc
View file @
a7eb6502
...
...
@@ -1260,7 +1260,7 @@ int Http2Session::on_write()
int
Http2Session
::
send
()
{
int
rv
;
uint8_t
buf
[
4096
];
uint8_t
buf
[
16384
];
auto
output
=
bufferevent_get_output
(
bev_
);
util
::
EvbufferBuffer
evbbuf
(
output
,
buf
,
sizeof
(
buf
));
for
(;;)
{
...
...
src/shrpx_http2_upstream.cc
View file @
a7eb6502
...
...
@@ -566,7 +566,7 @@ int Http2Upstream::on_write()
int
Http2Upstream
::
send
()
{
int
rv
;
uint8_t
buf
[
4096
];
uint8_t
buf
[
16384
];
auto
bev
=
handler_
->
get_bev
();
auto
output
=
bufferevent_get_output
(
bev
);
util
::
EvbufferBuffer
evbbuf
(
output
,
buf
,
sizeof
(
buf
));
...
...
src/shrpx_spdy_upstream.cc
View file @
a7eb6502
...
...
@@ -459,7 +459,7 @@ int SpdyUpstream::on_write()
int
SpdyUpstream
::
send
()
{
int
rv
=
0
;
uint8_t
buf
[
4096
];
uint8_t
buf
[
16384
];
sendbuf
.
reset
(
bufferevent_get_output
(
handler_
->
get_bev
()),
buf
,
sizeof
(
buf
));
...
...
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