Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
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
pistache
Commits
37807cea
Commit
37807cea
authored
Jan 15, 2017
by
octal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Endpoint: removed console output
parent
e1ad4463
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
include/endpoint.h
include/endpoint.h
+0
-2
src/server/listener.cc
src/server/listener.cc
+0
-1
No files found.
include/endpoint.h
View file @
37807cea
...
@@ -69,8 +69,6 @@ private:
...
@@ -69,8 +69,6 @@ private:
if
(
listener
.
bind
())
{
if
(
listener
.
bind
())
{
const
auto
&
addr
=
listener
.
address
();
const
auto
&
addr
=
listener
.
address
();
std
::
cout
<<
"Now listening on "
<<
"http://"
+
addr
.
host
()
<<
":"
<<
addr
.
port
()
<<
std
::
endl
;
CALL_MEMBER_FN
(
listener
,
method
)();
CALL_MEMBER_FN
(
listener
,
method
)();
}
}
#undef CALL_MEMBER_FN
#undef CALL_MEMBER_FN
...
...
src/server/listener.cc
View file @
37807cea
...
@@ -40,7 +40,6 @@ namespace {
...
@@ -40,7 +40,6 @@ namespace {
}
}
void
handle_sigint
(
int
)
{
void
handle_sigint
(
int
)
{
std
::
cout
<<
"Received C-c, closing listen fd!"
<<
std
::
endl
;
closeListener
();
closeListener
();
}
}
}
}
...
...
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