diff options
author | erdgeist <> | 2006-12-16 16:10:57 +0000 |
---|---|---|
committer | erdgeist <> | 2006-12-16 16:10:57 +0000 |
commit | d73b83d0f76a5ddb831ac969eb5914befbc6d2e7 (patch) | |
tree | 2ba404c0ee035a33cb2b7ac737aaf855aa7eee7e | |
parent | ffc378b2b9529a77e5da76635f35fcbba6817aa1 (diff) |
try shutdown() the socket after writing
-rw-r--r-- | opentracker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opentracker.c b/opentracker.c index ca1b936..0cd053b 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -409,6 +409,7 @@ emerge: | |||
409 | array_reset(&h->r); | 409 | array_reset(&h->r); |
410 | iob_reset(&h->iob); | 410 | iob_reset(&h->iob); |
411 | free(h); | 411 | free(h); |
412 | shutdown(i, SHUT_RDWR); | ||
412 | io_close(i); | 413 | io_close(i); |
413 | } | 414 | } |
414 | } | 415 | } |