Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
d674d3f4
Commit
d674d3f4
authored
Jun 04, 2004
by
Mike Hibler
Browse files
Ignore SIGPIPE in proxy so replies to dead clients don't kill us.
parent
6b6e71f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcc.c
View file @
d674d3f4
...
...
@@ -651,6 +651,9 @@ beproxy(char *localpath, struct in_addr serverip, char *partial)
char
command
[
MYBUFSIZE
],
buf
[
MYBUFSIZE
];
char
*
bp
,
*
cp
;
/* don't let a client kill us */
signal
(
SIGPIPE
,
SIG_IGN
);
sock
=
socket
(
AF_UNIX
,
SOCK_STREAM
,
0
);
if
(
sock
<
0
)
{
perror
(
"creating unix domain socket"
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment