Commit 5f09ba0c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Code cleanup. At the same time a micro-optimization was done: get rid

of a call to getpeername() and getsockname() per accepted connection.
(Bug 916).  Removed documentation that was misleading.
parent dc931088
2003-08-03 Per Cederqvist <ceder@ceder.dyndns.org>
Code cleanup. At the same time a micro-optimization was done: get
rid of a call to getpeername() and getsockname() per accepted
connection. (Bug 916).
* src/isc_tcp.c (isc_tcp_accept): Use the address that the
accept() call supplies, so that we don't have to do an extra call
to getpeername(). Copy the local address from the socket we
listen to, so that we don't have to do an extra call to
getsockname().
* src/isc_socket.c (isc_getladdress): Function removed.
(isc_getraddress): Function removed.
(isc_copyaddress): Resurrected the function that was removed
2003-07-12, and changed the type names to the current ones.
* src/isc.h (isc_getladdress): Removed.
(isc_getraddress): Removed.
* src/intern.h (isc_copyaddress): Resurrected the function that
was removed 2003-07-12.
Removed documentation that was misleading.
* man/Makefile.am (EXTRA_DIST): Removed FUNCTIONS.
* man/FUNCTIONS: Removed. Almost nothing was true any more.
* doc/Makefile.am (EXTRA_DIST): Removed MANUAL.sv.
* doc/MANUAL.sv: Removed. Almost nothing was true any more.
Fixed an uninitialized variable.
* src/isc_session.c (isc_create): Initialize idle_cb_registered.
......
Supports Markdown
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