[INN-COMMITTERS] inn (backends/innbind.c tests/util/innbind-t.c)
Russ Allbery
Russ_Allbery at isc.org
Thu May 20 00:37:46 UTC 2004
Date: Thursday, May 20, 2004 @ 00:37:45
Author: rra
Path: /proj/cvs/isc/inn/inn
Modified: backends/innbind.c tests/util/innbind-t.c
Remove the code supporting -t for testing or -e for acting as a wrapper.
Heath came up with a much better solution.
Add support for creating a socket and passing it back on standard output
to the parent process on systems that support STREAMS. This should be
exactly the systems where the standard bind approach doesn't work, so this
should cover everyone. innbind now prints ok\n if it can bind an address
and prints no\n followed immediately by an ioctl to pass the file descriptor
if the creation fails due to permission denied.
------------------------+
backends/innbind.c | 169 +++++++++++----------------
tests/util/innbind-t.c | 291 ++++++++++++++++++++++++++---------------------
2 files changed, 236 insertions(+), 224 deletions(-)
More information about the inn-committers
mailing list