Commit 0593e9e1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added limited support for fd relocation. Error handling still needed.

parent 5977f153
1999-04-17 Per Cederqvist <ceder@gratia>
Added limited support for fd relocation. Error handling still
needed.
* src/isc_udp.c (isc_createudp): Relocate the fd.
* src/isc_tcp.c (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.
* src/isc_relocate.c (isc_relocate_fd): New file and function.
This is still a dummy implementation.
* src/isc_master.c (isc_initialize): Expect master config version
1006 and session config 1002. Handle fd_relocate.
* src/isc.h (IscSessionConfig): Added fd_relocate.
* src/intern.h (isc_relocate_fd): New function.
* src/Makefile.am (libisc_a_SOURCES): Added isc_relocate.c.
1999-04-16 Per Cederqvist <ceder@gratia>
Simplify the use of IscHandlerList. (This needs more
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment