Commit 34867b52 authored by Per Cederqvist's avatar Per Cederqvist

Handle idle-time.

parent 79f1db91
Fri Aug 2 02:09:09 1996 Per Cederqvist <ceder@lysator.liu.se>
* Handle idle-time:
* doc/prot-A.txt: Changed some underscores to dashes.
(64=get-session-info-ident): Marked as obsolete.
(63=who-is-on-ident): Marked as obsolete.
(82=user-active): New call.
(83=who-is-on-dynamic): New call.
(84=get-static-session-info): New call.
(Dynamic-Session-Info): New type.
(Dynamic-Session-Info-List): New type.
(Static-Session-Info): New type.
Thu Aug 1 00:58:56 1996 Per Cederqvist <ceder@lysator.liu.se>
* configure.in (AC_OUTPUT): Touch all dependencies files to avoid
......
Fri Aug 2 01:41:36 1996 Per Cederqvist <ceder@lysator.liu.se>
* Handle idle-time:
* services.h (user_active): New function.
(who_is_on_dynamic): New function.
(get_static_session_info): New function.
* kom-types.h (Dynamic_session_info): New type.
(Dynamic_session_info_list): New type.
(Static_session_info): New type.
Sun Jul 28 17:42:14 1996 Per Cederqvist <ceder@lysator.liu.se>
* kom-errno.h (Kom_err): New value: KOM_ANON_REJECTED.
......
Fri Aug 2 01:44:11 1996 Per Cederqvist <ceder@lysator.liu.se>
* ramkomd.c (server_init): Fixed typo introduced Jul 30: ignore
SIGPIPE, not SIGHUP.
* Handle idle-time.
* fncdef.txt (user_active): New function.
(who_is_on_dynamic): New function.
(get_static_session_info): New function.
* connections.h (Connection): Removed field last_request.
Added field active_time.
(Res_type): New values: rt_dynamic_session_info_list,
rt_static_session_info.
(Result_holder): New fields: dynamic_session_info_list,
static_session_info.
* session.c (who_is_on_dynamic): New function.
(get_session_info): The idle-time is calculated using active_time
instead of last_request.
(get_session_info_ident): Likewise.
(get_static_session_info): New function.
(user_active): New function.
* prot-a.c (prot_a_reply): Handle rt_dynamic_session_info_list and
rt_static_session_info.
(prot_a_is_legal_fnc): Added user_active, who_is_on_dynamic and
get_static_session_info.
* prot-a-output.c (prot_a_output_dynamic_session_info): New
function.
* prot-a-output.h, prot-a-output.c:
(prot_a_output_static_session_info): New function.
(prot_a_output_dynamic_session_info_list): New function.
* kom-memory.h, memory.c (init_dynamic_session_info): New function.
(init_static_session_info): New function.
* internal-connections.c (init_connection): Set active_time to
now. Don't set last_request.
(new_client): Likewise.
* connections.c (parse_unparsed): Don't set client->last_request.
Thu Aug 1 20:23:04 1996 Per Cederqvist <ceder@lysator.liu.se>
* Improved handling of unknown calls: the server now assumes the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment