1. 24 Apr, 2006 1 commit
    • Per Cederqvist's avatar
      Tell svn to ignore core files. · e37c8984
      Per Cederqvist authored
      * src/server/testsuite: Ignore core and vgcore.*.
      Replaced the "Client host" and "Client port" configuration file
      parameters with "Listen", and allow lyskomd to listen to more than
      one port.
      * doc/lyskomd.texi (Parameters): Replaced "Client host" and
      "Client port" with "Listen".
      * src/server/ramkomd.c (start_listen_sockets): New static
      function.  Listen to all the ports specified by the "Listen:"
      (server_init): Use start_listen_sockets() instead of calling
      isc_listentcp().  Removed the host and client_port arguments.  All
      callers updated.
      * src/server/testsuite/lyskomd.0/54.exp: New test suite.
      * src/server/conf-file.c (ctor_ipport_list): New static function.
      (dtor_ipport_list): New static function.
      (assign_ipport_list): New static function.
      (cf_ipport_list): New constant.
      * src/server/conf-file.h (struct ipport_entry): New struct.
      (struct ipport_list): New struct.
      (cf_ipport_list): New constant.
      * src/server/param.h (struct kom_par): Replaced "ip_client_host"
      and "ip_client_port" with "listen".
      * src/server/server-config.c (parameters): Ditto.
      * src/server/prot-a-parse-arg-c.awk: Include "conf-file.h" from
      the generated files.
      * src/server/admin.c: Include "conf-file.h".
      * src/server/aux-items.c: Ditto.
      * src/server/checkkomspace.c: Ditto.
      * src/server/conference.c: Ditto.
      * src/server/connections.c: Ditto.
      * src/server/dbck-cache.c: Ditto.
      * src/server/dbck.c: Ditto.
      * src/server/disk-end-of-atomic.c: Ditto.
      * src/server/komrunning.c: Ditto.
      * src/server/lockdb.c: Ditto.
      * src/server/membership.c: Ditto.
      * src/server/person.c: Ditto.
      * src/server/prot-a-output.c: Ditto.
      * src/server/prot-a-parse.c: Ditto.
      * src/server/prot-a.c: Ditto.
      * src/server/regex-match.c: Ditto.
      * src/server/rfc931.c: Ditto.
      * src/server/send-async.c: Ditto.
      * src/server/session.c: Ditto.
      * src/server/simple-cache.c: Ditto.
      * src/server/splitkomdb.c: Ditto.
      * src/server/text-garb.c: Ditto.
      * src/server/text.c: Ditto.
      * src/server/updateLysKOM.c: Ditto.
      * run-support/config: Removed the "Client port" setting.
      Adjust the test suite for the above change.
      * src/server/testsuite/lyskomd.0/bug-64.exp: Expect memory leaks
      due to bug 1599.
      * src/server/testsuite/lyskomd.0/53.exp: Expect a more informative
      error message when isc_listentcp fails.
      * src/server/testsuite/lyskomd.0/11.exp: Expect an IP address in
      the "Listening for clients" log message.
      * src/server/testsuite/config/unix.exp (clientport_2): New
      (clientport_3): New constant.
      (lyskomd_start): New argument: listen_messages.  Use "Listen:"
      instead of "Client port:".
      (lyskomd_fail_start): Use "Listen:" instead of "Client port:".
      (client_start): New optional argument: port.
  2. 09 Feb, 2006 1 commit
    • Per Cederqvist's avatar
      Added valgrind suppressions for optimised code. · 4c6723a9
      Per Cederqvist authored
      * src/server/testsuite/lyskomd.supp (aid_lexer_opt): New
      (aid_lexer_2_opt): Ditto.
      New test case: start lyskomd while the socket is bound.
      * src/server/testsuite/lyskomd.0/53.exp: New test case.  Test
      startup when the socket is already bound by another process.  This
      exposed a memory leak in libisc which is also fixed in this
      * src/server/testsuite/tcpbind.py: New helper script.  Bind a tcp
      port, so that it is occupied.  Used by 53.exp.
      * src/server/testsuite/config/unix.exp (lyskomd_fail_start): New
      optional argument. expected_leaks.  Fix database setup.  Remove
      the server from expect_after and expect_always once it has failed.
      (utility_start): New function.
      (utility_death): New function.
      (talk_to): Handle talking to utilities.
      Use strerror() instead of logging a plain errno integer.
      * src/server/lockdb.c (lock_db): Use strerror() to get a
      human-readable error message.
      Fixed a memory leak.
      * src/libraries/libisc-new/src/isc_tcp.c (mkaddr_and_bind):
      New static function, extracted from isc_bindtcp().  Don't leak
      the isc_address if bind() fails.
      (isc_bindtcp): Moved some code to mkaddr_and_bind().
  3. 23 Aug, 2003 1 commit
  4. 16 Aug, 2003 1 commit
  5. 12 Jul, 2003 1 commit
  6. 20 Jun, 1999 1 commit
  7. 05 Jun, 1999 1 commit
  8. 24 May, 1999 1 commit
  9. 21 May, 1999 1 commit