Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
0307b49f
Commit
0307b49f
authored
Oct 30, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
event/ServerSocket: make OnAccept() noexcept
parent
413ab802
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ServerSocket.hxx
src/event/ServerSocket.hxx
+1
-1
HttpdInternal.hxx
src/output/plugins/httpd/HttpdInternal.hxx
+1
-1
HttpdOutputPlugin.cxx
src/output/plugins/httpd/HttpdOutputPlugin.cxx
+1
-1
No files found.
src/event/ServerSocket.hxx
View file @
0307b49f
...
...
@@ -122,7 +122,7 @@ public:
protected
:
virtual
void
OnAccept
(
UniqueSocketDescriptor
fd
,
SocketAddress
address
,
int
uid
)
=
0
;
SocketAddress
address
,
int
uid
)
noexcept
=
0
;
};
#endif
src/output/plugins/httpd/HttpdInternal.hxx
View file @
0307b49f
...
...
@@ -261,7 +261,7 @@ private:
void
OnDeferredBroadcast
()
noexcept
;
void
OnAccept
(
UniqueSocketDescriptor
fd
,
SocketAddress
address
,
int
uid
)
override
;
SocketAddress
address
,
int
uid
)
noexcept
override
;
};
extern
const
class
Domain
httpd_output_domain
;
...
...
src/output/plugins/httpd/HttpdOutputPlugin.cxx
View file @
0307b49f
...
...
@@ -130,7 +130,7 @@ HttpdOutput::OnDeferredBroadcast() noexcept
void
HttpdOutput
::
OnAccept
(
UniqueSocketDescriptor
fd
,
SocketAddress
address
,
gcc_unused
int
uid
)
SocketAddress
address
,
gcc_unused
int
uid
)
noexcept
{
/* the listener socket has become readable - a client has
connected */
...
...
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