- 12 Jul, 2003 40 commits
-
-
Per Cederqvist authored
-
Per Cederqvist authored
(timeval_nonzero): New function. (timeval_zero): Ditto. (timeval_ctor): Ditto. (timeval_remaining): Ditto. (timeval_greater): Ditto. (timeval_less): Ditto. (timeval_diff_sec): Ditto.
-
Per Cederqvist authored
-
Per Cederqvist authored
out-of-range.
-
Per Cederqvist authored
Make gdb find the liboop sources.
-
Per Cederqvist authored
-
Per Cederqvist authored
-
Per Cederqvist authored
valgrind suppressions. Reduce the number of log messages. Fixed compilation errors.
-
Per Cederqvist authored
output" never to emit a pass message. Look for eof on the client.
-
Per Cederqvist authored
-
Per Cederqvist authored
already present on the kill list. With the liboop callbacks that can happen and is not an error. (write_err_cb): Don't log an error for ECONNRESET. (read_from_connection): Removed left-over debug code. (enable_idle_check): Ditto. (check_idle_callback): Ditto.
-
Per Cederqvist authored
(unreg): Ditto.
-
Per Cederqvist authored
-
Per Cederqvist authored
(sys_on_signal): Ditto.
-
Per Cederqvist authored
-
Per Cederqvist authored
which were introduced in the previous commit. (isc_gethostname): Ditto. (isc_getportnum): Ditto.
-
Per Cederqvist authored
scheduling of clients, so that one client cannot starve other clients for resources. (Bug 102). Run the database save, garb, and check for killed clients from three separate liboop timer callbacks. Use liboop for signal dispatching. Use liboop. (Bug 106). Code cleanup. Renamed a few constants that have nothing to do with ISC. Make it possible to read an unsigned int from the config file. Add SA_RESTART support to liboop. (This has been sent to the liboop maintainer.) (Fixes bug 845). Add a few utility string functions.
-
Per Cederqvist authored
stuff that isn't used by lyskom-server. Move much internal stuff from isc.h to intern.h.
-
Per Cederqvist authored
the latter no longer exists.
-
Per Cederqvist authored
(check-dejagnu): New target. (check): Depend on check-dejagnu and check-nondejagnu, and move all dependencies to one of those targets.
-
Per Cederqvist authored
(garb_text): Expect the caller to wait long enough when the garb shouldn't be running. Return true when the garb is completed, instead of when the garb shouldn't be running.
-
Per Cederqvist authored
All callers updated.
-
Per Cederqvist authored
(parameters): Removed "Idle timeout". Added "Garb busy postponement", "Penalty per call", "Penalty per read", "Max penalty" and "Low penalty".
-
Per Cederqvist authored
-
Per Cederqvist authored
-
Per Cederqvist authored
(server_init): Initialize liboop. Adjusted to the new isc API:s. (sighandler_hup): Now an liboop signal callback, not a real signal handler. (sighandler_quit): Ditto. (sighandler_usr2): Ditto. (sighandler_usr1): Ditto. Do the real work here. (sighandler_winch): Ditto. Do the real work here. (setup_sighandlers): Removed. (restart_syscalls_on_intr): Removed. (intr_syscalls_on_intr): Removed. (main): Clean up liboop structures on shutdown.
-
Per Cederqvist authored
-
Per Cederqvist authored
penalty_per_call, penalty_per_read, max_penalty and low_penalty. (reread_param): Variable removed.
-
Per Cederqvist authored
(KOM_MSG_INCOMPLETE): New name for former ISC_MSG_INCOMPLETE. All users updated. (KOM_LOGOUT): New name for former ISC_LOGOUT. All users updated.
-
Per Cederqvist authored
-
Per Cederqvist authored
-
Per Cederqvist authored
default_want_async variable. Initialize penalty, penalty_generation, queue_next, queue_prev, on_queue. (kill_client): Assert that on_queue is false.
-
Per Cederqvist authored
-
Per Cederqvist authored
Adjusted to the new API of sync_part().
-
Per Cederqvist authored
queue_next, on_queue. (handle_accept_event): New function.
-
Per Cederqvist authored
(penalty_generation): New static variable. (work_done): Ditto. (is_idle): Ditto. (queue_first): Ditto. (queue_last): Ditto. (kill_pending): Ditto. (do_statistics): Variable removed. (queue_add): New static function. (queue_remove): Ditto. (set_time): Ditto. (logout_client): Remove the client from the queue of pending clients. (parse_unparsed): Add penalty points for finished calls and protocol errors. Don't delete the parsed part of unparsed. (parse_message): Function removed. (logout_request): Function removed. (parse_forgotten): Ditto. (message_request): Ditto. (add_to_kill_list): Add an oop timer event callback to check_kill_flg when a client is added to the kill list. (check_kill_flg): Changed API: this is now an oop timer callback function. (write_err_cb): New static function. (adjust_penalty): Ditto. (read_from_connection): Ditto. (setup_timer): Ditto. (enable_idle_check): Ditto. (check_idle_callback): Ditto. (garb_callback): Ditto. (saver_callback): Ditto. (data_available_callback): Ditto. (handle_accept_event): New function. (login_request): Take an isc_scb as argument instead of an isc event. Add read and write error callback functions for the new client. (toploop): Rewritten to use liboop.
-
Per Cederqvist authored
(union param_value): Unused union removed.
-
Per Cederqvist authored
-
Per Cederqvist authored
-
Per Cederqvist authored
(lyskomd_SOURCES): Added oop-malloc.h and oop-malloc.c. (lyskomd_LDADD): Link against liboop.a.
-