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:
d9f67fe
)
htparser: Shut down root handler socket instead of closing it.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 3 Feb 2013 02:05:11 +0000
(
03:05
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 3 Feb 2013 02:05:11 +0000
(
03:05
+0100)
src/htparser.c
patch
|
blob
|
blame
|
history
diff --git
a/src/htparser.c
b/src/htparser.c
index
8d0b515
..
de5bbc2
100644
(file)
--- a/
src/htparser.c
+++ b/
src/htparser.c
@@
-423,8
+423,7
@@
static void plexwatch(struct muth *muth, va_list args)
* some day... */
free(buf);
}
- close(plex);
- plex = -1;
+ shutdown(plex, SHUT_RDWR);
for(i = 0; i < listeners.d; i++) {
if(listeners.b[i] == muth)
bufdel(listeners, i);