Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61a14ba
)
Added an error message for crashing request handlers in dirplex.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 24 Aug 2010 12:03:18 +0000
(14:03 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 24 Aug 2010 12:03:18 +0000
(14:03 +0200)
src/dirplex.c
patch
|
blob
|
blame
|
history
diff --git
a/src/dirplex.c
b/src/dirplex.c
index
063fbb4
..
d47a23e
100644
(file)
--- a/
src/dirplex.c
+++ b/
src/dirplex.c
@@
-441,6
+441,7
@@
static void passreq(struct child *ch, struct hthead *req, int fd)
flog(LOG_ERR, "could not pass on request to child %s: %s", ch->name, strerror(errno));
close(ch->fd);
ch->fd = -1;
+ simpleerror(fd, 500, "Server Error", "The request handler crashed.");
}
}