1. 27 Dec, 2005 9 commits
    • Per Cederqvist's avatar
      Don't overestimate the number of conferences as next_free_num when · ed41d632
      Per Cederqvist authored
      allocating certain data structures.  (Bug 164).
      * src/server/simple-cache.c (existing_confs): New static
      variable.
      (cached_no_of_existing_conferences): Return existing_confs,
      instead of overestimating the number of conferences as
      next_free_num.  (Bug 164).
      (cached_create_conf): Increase existing_confs.
      (cached_delete_conf): Decrease existing_confs.
      (init_cache): Increase existing_confs when a new conference is
      created.
      (free_all_cache): Decrease existing_confs when conferences are
      deallocated.
      (dump_cache_mem_usage): Dump existing_confs.
      * src/server/testsuite/config/unix.exp (check_memory_usage): Check
      the dump of existing_confs.  Fail if allocated_strings or
      allocated_blocks isn't found in the file.
      ed41d632
    • Per Cederqvist's avatar
      Simplified the name parsing routing, and save some small amount of · 55499424
      Per Cederqvist authored
      memory, by removing the priority field of Matching_info.
      * src/libraries/libcommon/parser.c (parse): Don't let the priority
      influence the match.  The priority functionality was poorly
      documented, not used by lyskomd, and made the code more complex.
      * src/libraries/libcommon/parser.h (Matching_info): Removed the
      priority field, which is no longer used.
      * src/server/simple-cache.c (rebuild_matching_info_entry): Don't
      initialize the priority field.
      (build_matching_info): Ditto.
      55499424
    • Per Cederqvist's avatar
      Minor code cleanup. · c8c248e0
      Per Cederqvist authored
      * src/libraries/libcommon/parser.c (parse): Code cleanup: get rid
      of one level of indentation, and avoid using multiple ways to get
      to the next iteration of the main loop.
      c8c248e0
    • Per Cederqvist's avatar
      Fixed old typo in the ChangeLog. · e59d09df
      Per Cederqvist authored
      e59d09df
    • Per Cederqvist's avatar
      Writing to a client that was disconnecting and blocked could cause · 3aaff933
      Per Cederqvist authored
      the server to crash.  (Bug 1403).
      * src/server/connections.c (check_idle_callback): Don't crash if
      isc_enable() fails.  Emit the session number in the log, mostly
      for debug purposes.
      3aaff933
    • Per Cederqvist's avatar
      Add automake-generated files to svn:ignore. · d4ad19a5
      Per Cederqvist authored
      * scripts: Add depcomp, install-sh, mdate-sh, missing,
      mkinstalldirs and texinfo.tex to svn:ignore.
      * src/libraries/adns: Add depcomp, missing,  and mkinstalldirs to
      svn:ignore.
      * src/libraries/libisc-new: Add depcomp to svn:ignore.
      * src/libraries/liboop: Add depcomp, install-sh, missing and
      mkinstalldirs to svn:ignore.
      d4ad19a5
    • Per Cederqvist's avatar
      Add TAGS to svn:ignore. · acc319ea
      Per Cederqvist authored
      acc319ea
    • Per Cederqvist's avatar
      Don't hang if "Use DNS" is off. (Bug 1318.) Thanks to Rasmus · 3e987837
      Per Cederqvist authored
      Sten who reported the bug and proposed an alternate fix.
      * src/server/connections.c (login_request): Don't hang if the "Use
      DNS" option is false.  (Bug 1318).  Log a warning message if
      isc_resolve_remote() fails.
      (src/server/testsuite/lyskomd.0/bug-1318.exp): New file.  Test the
      "Use DNS: off" configuration option.
      3e987837
    • Per Cederqvist's avatar
      "make check" without a previous "make" failed, because · efa7c6b0
      Per Cederqvist authored
      checkkomspace was not built early enough.  Also, the test suite
      should not fail on platforms that don't support fsusage.c.
      * src/server/Makefile.am (CHECKKOMSPACE): New empty variable.
      Append checkkomspace$(EXEEXT) to it if we HAVE_FSUSAGE.
      (check-lyskomd): Depend on $(CHECKKOMSPACE).
      (check-recursive): Ditto.
      * src/server/testsuite/lyskomd.0/50.exp: Report "unsupported" if
      checkkomspace is not built.  (Don't fail with fatal errors.)
      efa7c6b0
  2. 19 Dec, 2005 2 commits
  3. 18 Dec, 2005 2 commits
  4. 12 Dec, 2005 2 commits
  5. 11 Dec, 2005 2 commits
  6. 28 Nov, 2005 1 commit
  7. 06 May, 2005 1 commit
  8. 04 Apr, 2005 1 commit
  9. 02 Dec, 2004 1 commit
  10. 30 Nov, 2004 1 commit
  11. 02 Aug, 2004 2 commits
  12. 21 Jul, 2004 1 commit
    • Per Cederqvist's avatar
      Increase coverage of the aux-item definitions parser. (Bug 64). Get · 4d2c2bdc
      Per Cederqvist authored
      rid of a spurious error message found in the process.  Use less
      preprocessor macro magic.  Test suite framework improvements:
      simple_expect can now expect lines that don't contain the line leader,
      and lyskomd_start and lyskomd_fail_start can now handle output sent
      before the database lock is taken.  Fixed a comment.
      4d2c2bdc
  13. 18 Jul, 2004 2 commits
  14. 19 Jun, 2004 1 commit
  15. 26 Apr, 2004 1 commit
  16. 02 Apr, 2004 1 commit
  17. 06 Jan, 2004 1 commit
  18. 05 Jan, 2004 1 commit
  19. 28 Dec, 2003 1 commit
  20. 27 Nov, 2003 1 commit
  21. 06 Oct, 2003 1 commit
  22. 04 Oct, 2003 1 commit
  23. 03 Oct, 2003 4 commits