mirror of
git://erdgeist.org/opentracker
synced 2025-04-22 05:52:00 +02:00
try shutdown() the socket after writing
This commit is contained in:
parent
ffc378b2b9
commit
d73b83d0f7
1 changed files with 1 additions and 0 deletions
|
@ -409,6 +409,7 @@ emerge:
|
||||||
array_reset(&h->r);
|
array_reset(&h->r);
|
||||||
iob_reset(&h->iob);
|
iob_reset(&h->iob);
|
||||||
free(h);
|
free(h);
|
||||||
|
shutdown(i, SHUT_RDWR);
|
||||||
io_close(i);
|
io_close(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue