- 14 Aug, 2003 2 commits
-
-
Per Cederqvist authored
param.default_priority and param.default_weight. (adjust_penalty): Use the weight to reduce the penalty. (get_scheduling): Return the actual scheduling information from the connection. (set_scheduling): Check the priority and weight against param.max_priority and param.max_weight. Allow the user to change them, as long as it is done within those limits. Store the new values in the connection. Note: the current implementation cannot handle more than one priority. The check for that is made in server-config.c.
-
Per Cederqvist authored
(may_change_scheduling): New static function. (set_scheduling): New request.
-
- 12 Aug, 2003 1 commit
-
-
Per Cederqvist authored
lyskomd.
-
- 07 Aug, 2003 1 commit
-
-
Per Cederqvist authored
due to "nxdomain" or "inconsistent".
-
- 06 Aug, 2003 3 commits
-
-
Per Cederqvist authored
-
Per Cederqvist authored
(toploop): Simplify code by using enable_idle_check().
-
Per Cederqvist authored
(dns_resolution): Schedule an idle check, as a client may have become unblocked. Don't call isc_enable() here. Instead, add the session to the run-queue. There may be pending input in the input buffer. Handle ADNS errors. (login_request): Check the return value of isc_resolve_remote(). (read_from_connection): Return if the session is blocked by DNS.
-
- 05 Aug, 2003 1 commit
-
-
Per Cederqvist authored
completed the handshake or not. (dns_resolution): New function. (get_host_name): Removed. (login_request): Reorganized the code to use the new callback-driven API of ISC host lookups. (handle_accept_event): Call set_time(), so that the connect_time is set correctly.
-
- 04 Aug, 2003 1 commit
-
-
Per Cederqvist authored
(stale_cb): Ditto. (idle_cb): Ditto. (login_request): Ditto. (data_available_callback): Ditto. (handle_accept_event): Ditto.
-
- 02 Aug, 2003 1 commit
-
-
Per Cederqvist authored
(login_request): Pass idle_cb() to isc_set_read_callback().
-
- 01 Aug, 2003 3 commits
-
-
Per Cederqvist authored
(toploop): Cancel the timer for check_kill_flag if needed during shutdown.
-
Per Cederqvist authored
even if the client is disconnecting. We want it to have a chance see the reply to the disconnect or shutdown request.
-
Per Cederqvist authored
(check_kill_flg): Ditto. (read_from_connection): Ignore connections with a pending kill. (toploop): Call check_kill_flg() during shutdown if any kill is pending, so that the kill list is freed.
-
- 31 Jul, 2003 2 commits
-
-
Per Cederqvist authored
(login_request): Pass stale_cb to isc_set_read_callback(). (setup_timer): Moved to timeval-util.h, and added a return value. All callers updated to check it.
-
Per Cederqvist authored
accessing the internals of the isc_mcb structure. (data_available_callback): Ditto.
-
- 30 Jul, 2003 1 commit
-
-
Per Cederqvist authored
more from this (read_from_connection): isc_disable() can fail. Handle that case. (check_idle_callback): Make sure the same connection is never processed more than once during a call to this function.
-
- 28 Jul, 2003 1 commit
-
-
Per Cederqvist authored
-
- 27 Jul, 2003 1 commit
-
-
Per Cederqvist authored
It has to be connected a while to earn the right to do anything.
-
- 24 Jul, 2003 2 commits
-
-
Per Cederqvist authored
(queue_remove): Don't update STAT_RUN_QUEUE_LEAVE. (parse_unparsed): Update STAT_REQUESTS instead of STAT_PROCESSED_CALLS. (get_host_name): Don't update STAT_PROCESSED_DNS.
-
Per Cederqvist authored
(login_request): Ditto. (get_host_name): Update the STAT_DNS_QUEUE and STAT_PROCESSED_DNS statistics.
-
- 23 Jul, 2003 1 commit
-
-
Per Cederqvist authored
(queue_remove): Ditto. (parse_unparsed): Ditto.
-
- 14 Jul, 2003 1 commit
-
-
Per Cederqvist authored
the queue of pending clients.
-
- 13 Jul, 2003 3 commits
-
-
Per Cederqvist authored
Don't call isc_flush(). (read_from_connection): Call isc_flush() once if parse_unparsed() returned true at least once.
-
Per Cederqvist authored
(check_idle_callback): Break out of the loop and return OOP_HALT if go_and_die is true.
-
Per Cederqvist authored
(setup_timer): Ditto. (garb_callback): Moved to text-garb.c. (saver_callback): The source argument is actually used. (toploop): Moved the garb timer to text-garb.c. (server_idle): New function.
-
- 12 Jul, 2003 5 commits
-
-
Per Cederqvist authored
<sys/time.h> directly.
-
Per Cederqvist authored
(dump_statistics): Ditto. (saver_callback): Ditto. (setup_timer): Replaced the milliseconds argument with a struct timeval argument. (garb_callback): Simplified the code.
-
Per Cederqvist authored
out-of-range.
-
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
(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.
-
- 15 Mar, 2003 1 commit
-
-
Per Cederqvist authored
-
- 10 Jan, 2003 1 commit
-
-
Per Cederqvist authored
(kill_list_size): Now static.
-
- 25 Nov, 2002 1 commit
-
-
Per Cederqvist authored
-
- 15 Nov, 2002 1 commit
-
-
Per Cederqvist authored
-
- 31 Oct, 2002 1 commit
-
-
Per Cederqvist authored
(dump_connections): Ditto, and i_rename instead of rename.
-
- 28 Oct, 2002 2 commits
-
-
Per Cederqvist authored
returns with EINTR during the Xenofarm tests.
-
Per Cederqvist authored
down spurious errors from the rename that I don't understand.
-
- 27 Oct, 2002 2 commits
-
-
Per Cederqvist authored
-
Per Cederqvist authored
-
- 26 Oct, 2002 1 commit
-
-
Per Cederqvist authored
the file descriptor is above fd_ceiling. This can only happen if USING_RLIMIT_NOFILE is undefined, so ifdef out this code.
-