(isc_tcp_accept_fn): isc_createtcp will close the file descriptor if
it fails, so don't re-close it here. isc_createtcp will also set the fd attribute of the session; don't set it again. (isc_createtcp): Relocate the fd. Be careful to always close it if an error occurs.
Showing with 7 additions and 5 deletions