Commit 173c780b authored by Per Cederqvist's avatar Per Cederqvist

Remove support for the mux protocol. Don't use isc_printf. Fix a

warning message in the testsuite.
parent cdd5b46a
1999-04-28 Per Cederqvist <ceder@lysator.liu.se>
Remove support for the mux protocol. Don't use isc_printf.
* src/server/testsuite/lyskomd.0/07.exp: Decrease the all file
descriptors by one, now that the server no longer listens for a
mux. Test that protocol B is unsupported.
* src/server/testsuite/config/unix.exp (muxport): Removed.
(lyskomd_start): Don't set "Mux port" in the config file.
* src/server/server-config.c (parameters): Removed parameter "Mux
port".
* doc/lyskomd.texi (Parameters): Removed "Mux port".
* src/server/ramkomd.c (listen_mux): Removed.
(server_init): Remved the "mux_port" argument. Don't listen for
muxes.
(initialize): Don't pass the "mux_port" argument to server_init.
* src/server/prot-a.c (prot_a_reply): Use isc_putc, isc_putul,
isc_flush and prot_a_output_ul instead of mux_printf, mux_flush
and mux_putc.
(prot_a_parse_packet): Likewise.
* src/server/prot-a-send-async.c (async_header): Use isc_putc,
isc_putul, prot_a_output_ul and isc_flush instead of mux_printf,
mux_putc and mux_flush.
(async_trailer): Likewise.
(prot_a_async_new_text_old): Likewise.
(prot_a_async_new_text): Likewise.
(prot_a_async_logout): Likewise.
(prot_a_async_new_name): Likewise.
(prot_a_async_forced_leave_conf): Likewise.
(prot_a_async_login): Likewise.
(prot_a_async_send_message): Likewise.
(prot_a_async_deleted_text): Likewise.
(prot_a_async_new_recipient): Likewise.
(prot_a_async_sub_recipient): Likewise.
(prot_a_async_new_membership): Likewise.
* src/server/prot-a-output.h (prot_a_output_ul): New function.
* src/server/prot-a-parse.c (prot_a_get_token): Use isc_puts and
isc_flush instead of mux_printf and mux_flush.
(prot_a_parse_num_list): Likewise.
(prot_a_parse_string): Likewise.
* src/server/prot-a-output.c (prot_a_output_ul): New function.
(prot_a_output_person): Use prot_a_output_ul, isc_puts, isc_putc
and isc_write instead of mux_printf, mux_putc and mux_write.
(prot_a_output_membership_type): Likewise.
(prot_a_output_membership): Likewise.
(prot_a_output_membership_old): Likewise.
(prot_a_output_membership_list_old): Likewise.
(prot_a_output_membership_list): Likewise.
(prot_a_output_conf_list): Likewise.
(prot_a_output_conf_no_list): Likewise.
(prot_a_output_conference): Likewise.
(prot_a_output_conference_old): Likewise.
(prot_a_output_uconference): Likewise.
(prot_a_output_mark_list): Likewise.
(prot_a_output_aux_item_flags): Likewise.
(prot_a_output_aux_item): Likewise.
(prot_a_output_text_stat_old): Likewise.
(prot_a_output_aux_item_list): Likewise.
(prot_a_output_who_info_ident): Likewise.
(prot_a_output_who_info): Likewise.
(prot_a_output_who_info_list): Likewise.
(prot_a_output_who_info_ident_list): Likewise.
(prot_a_output_who_info_list_old): Likewise.
(prot_a_output_session_info): Likewise.
(prot_a_output_session_info_ident): Likewise.
(prot_a_output_info_old): Likewise.
(prot_a_output_string): Likewise.
(prot_a_output_priv_bits): Likewise.
(prot_a_output_personal_flags): Likewise.
(prot_a_output_conf_type): Likewise.
(prot_a_output_extended_conf_type): Likewise.
(prot_a_output_member_list): Likewise.
(prot_a_output_member_list_old): Likewise.
(prot_a_output_member): Likewise.
(prot_a_output_member_old): Likewise.
(prot_a_output_mark): Likewise.
(prot_a_output_misc_info): Likewise.
(prot_a_output_time): Likewise.
(prot_a_output_session_no): Likewise.
(prot_a_output_text_no): Likewise.
(prot_a_output_conf_z_info): Likewise.
(prot_a_output_conf_z_info_list): Likewise.
(prot_a_output_version_info): Likewise.
(prot_a_output_num_list): Likewise.
(prot_a_output_dynamic_session_info): Likewise.
(prot_a_output_dynamic_session_info_list): Likewise.
(prot_a_output_l2g_iterator_as_text_list): Likewise.
(prot_a_output_text_mapping): Likewise.
(prot_a_output_memory_info): Likewise.
* src/server/param.h (struct kom_par): Removed ip_mux_port,
num_ip_mux_port and num_ip_client_port.
* src/server/isc-interface.h (ISC_UDGTYPE): Use "struct
connection" instead of "struct mux".
(ISC_PRINTF_SUPPORT): Don't define it.
* src/server/internal-connections.c (init_connection): Use
isc_session instead of mux.
(kill_client): Likewise.
* src/server/connections.h (Connection): Replaced mux with isc_session.
* src/server/connections.c (logout_client): Use ISC instead of the
removed mux layer.
(parse_packet): Likewise.
(parse_unparsed): Likewise.
(login_request): Likewise. Don't handle muxes.
(logout_request): Likewise.
(message_request): Likewise.
(mux_handle_packet): Removed.
(mux_logout): Removed.
(mux_parse_unparsed): Removed.
(mux_parse_message): Removed.
(milli_timevaldiff): New name for former timevaldiff. Return the
difference in milliseconds instead of microseconds.
(toploop): Use milli_timevaldiff instead of timevaldiff. This is
a thousand times better at avoiding overflow. Use isc_puts
instead of isc_printf.
* src/server/mux.h: File removed.
* src/server/mux.c: File removed.
* src/server/mux-parse.h: File removed.
* src/server/mux-parse.c: File removed.
* src/server/Makefile.am (lyskomd_SOURCES): Removed mux-parse.h
and mux.h.
(MUX): Removed. Removed mux.c and mux-parse.c.
(GENOBJS): Removed $(MUX).
* doc/mux.proto: File removed.
* doc/Makefile.am (EXTRA_DIST): Remove mux.proto.
* configure.in: Remove enable_isc_printf -- we no longer need
isc_printf.
Fix a warning message in the testsuite.
* src/server/testsuite/lyskomd.0/admin-cov.exp: Fixed the
"unsupported" message: The configure option is named
--with-debug-calls, not --enable-debug-calls.
1999-04-25 Per Cederqvist <ceder@gratia>
Increase the block size of the l2g structure from 10 to 250.
......
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