Commit 4643b8d1 authored by Per Cederqvist's avatar Per Cederqvist

Async-sub-recipient was not always sent when it should be, and it

contained bogus data.  New debug call: start-garb.  New debug async:
garb-ended.  Cut-n-paste error in Protocol-A.texi fixed.
parent f2e261c9
1999-05-30 Per Cederqvist <ceder@gratia>
Async-sub-recipient was not always sent when it should be, and it
contained bogus data.
* src/server/testsuite/lyskomd.0/10.exp: Check async-sub-recipient.
* src/server/text.c (do_sub_recpt): Send async-sub-recipient
immediately before removing the recipient, so that we know where
to send it. As a side effect the type is now read from the proper
misc-info group.
(send_async_deleted_text): Use #if 0 instead of comments to
comment out code.
* src/server/testsuite/lyskomd.0/send-async-cov.exp: Handle
async-sub-recipient messages that are (probably erroneously) sent.
* src/server/testsuite/lyskomd.0/06.exp: Handle
async-sub-recipient messages that are (probably erroneously) sent.
New debug call: start-garb. New debug async: garb-ended.
* src/server/testsuite/lyskomd.0/09.exp: New tests.
* src/server/text-garb.c (last_checked): Moved to file-level
scope, so that start_garb can access it.
(last_start): Likewise.
(garb_text): Send async-garb-ended when the garb ends, but only if
DEBUG_CALLS is defined.
(start_garb): New function, only present when DEBUG_CALLS is
defined.
* src/server/session.c (accept_async): Handle ay_garb_ended if
DEBUG_CALLS is defined.
* src/server/send-async.c (async_garb_ended): New
function, only present when DEBUG_CALLS is defined.
* src/server/send-async.h: Likewise.
* src/server/prot-a-send-async.c (prot_a_async_garb_ended): New
function, only present when DEBUG_CALLS is defined.
* src/server/prot-a-send-async.h: Likewise.
* src/server/fncdef.txt: New debug call: start_garb.
* src/server/async.h (Async): New debug async: ay_garb_ended.
* src/include/services.h (start_garb): New debug call.
Cut-n-paste error in Protocol-A.texi fixed.
* doc/Protocol-A.texi (async-sub-recipient): The explanation
talked about "the new recipient".
1999-05-24 Per Cederqvist <ceder@lysator.liu.se>
Removed a newline in the log.
......@@ -785,7 +826,7 @@
Distribute the leaks tests, and run them during "make check".
* src/server/testsuite/Makefile.am (EXTRA_DIST): Track the rename
of lyskoms.0/leaks*.exp -> leaks.0/leaks*.exp.
of lyskomd.0/leaks*.exp -> leaks.0/leaks*.exp.
(check): Depend on check-leaks.
(check-leaks): New target.
......
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