Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSH
lsh
Commits
aa7ce0e2
Commit
aa7ce0e2
authored
Apr 19, 2013
by
Magnus Holmgren
Committed by
Niels Möller
Apr 19, 2013
Browse files
Options
Downloads
Patches
Plain Diff
In lsh's default exception handler, call exit on EXC_IO_CONNECT.
parent
b19782e4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+3
-0
3 additions, 0 deletions
ChangeLog
src/lsh.c
+2
-0
2 additions, 0 deletions
src/lsh.c
with
5 additions
and
0 deletions
ChangeLog
+
3
−
0
View file @
aa7ce0e2
2013-04-19 Magnus Holmgren <holmgren@debian.org>
* src/lsh.c (do_lsh_default_handler): Call exit for
EXC_IO_CONNECT, to terminate properly on connection failure.
* src/io.c (io_bind_sockaddr): Set the IPV6_V6ONLY socket option
on AF_INET6 sockets.
...
...
This diff is collapsed.
Click to expand it.
src/lsh.c
+
2
−
0
View file @
aa7ce0e2
...
...
@@ -959,6 +959,8 @@ do_lsh_default_handler(struct exception_handler *s,
*
self
->
status
=
EXIT_FAILURE
;
werror
(
"%z, (errno = %i)
\n
"
,
e
->
msg
,
exc
->
error
);
if
(
e
->
type
==
EXC_IO_CONNECT
)
exit
(
*
self
->
status
);
}
else
switch
(
e
->
type
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment