mirror of
git://erdgeist.org/opentracker
synced 2025-04-03 20:07:13 +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);
|
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…
x
Reference in New Issue
Block a user