mirror of
git://erdgeist.org/opentracker
synced 2025-03-01 04:21:30 +08:00
try shutdown() the socket after writing
This commit is contained in:
parent
ffc378b2b9
commit
d73b83d0f7
@ -409,6 +409,7 @@ emerge:
|
||||
array_reset(&h->r);
|
||||
iob_reset(&h->iob);
|
||||
free(h);
|
||||
shutdown(i, SHUT_RDWR);
|
||||
io_close(i);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user