Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
417
Issues
417
List
Boards
Labels
Service Desk
Milestones
Merge Requests
67
Merge Requests
67
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
Kea
Commits
1bda76b3
Commit
1bda76b3
authored
Feb 26, 2017
by
Francis Dupont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[master] Fixed 2 unused arguments
parent
74eeb5e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/lib/http/connection.cc
src/lib/http/connection.cc
+2
-2
No files found.
src/lib/http/connection.cc
View file @
1bda76b3
...
...
@@ -129,7 +129,7 @@ HttpConnection::acceptorCallback(const boost::system::error_code& ec) {
}
void
HttpConnection
::
socketReadCallback
(
boost
::
system
::
error_code
ec
,
size_t
length
)
{
HttpConnection
::
socketReadCallback
(
boost
::
system
::
error_code
,
size_t
length
)
{
std
::
string
s
(
&
buf_
[
0
],
buf_
[
0
]
+
length
);
parser_
->
postBuffer
(
static_cast
<
void
*>
(
buf_
.
data
()),
length
);
parser_
->
poll
();
...
...
@@ -148,7 +148,7 @@ HttpConnection::socketReadCallback(boost::system::error_code ec, size_t length)
}
void
HttpConnection
::
socketWriteCallback
(
boost
::
system
::
error_code
ec
,
HttpConnection
::
socketWriteCallback
(
boost
::
system
::
error_code
,
size_t
length
)
{
if
(
length
<=
output_buf_
.
size
())
{
output_buf_
.
erase
(
0
,
length
);
...
...
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