Commit 3c84dfea authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Improved handling of unknown calls: the server now assumes the

incoming message is terminated by a newline, and responds with
error code KOM_NOT_IMPL instead of with a protocol error.
parent 9489e589
Thu Aug 1 20:23:04 1996 Per Cederqvist <ceder@lysator.liu.se>
* Improved handling of unknown calls: the server now assumes the
incoming message is terminated by a newline, and responds with
error code KOM_NOT_IMPL instead of with a protocol error.
* prot-a.c (prot_a_parse_packet): Set client->function to
illegal_fnc if the requested function is not supported instead of
raising an ISC_PROTOCOL_ERR.
* prot-a-parse.h, prot-a-parse.c (prot_a_hunt_nl): New function.
* fnc-def-init.awk: Output a trailing entry which uses
prot_a_hunt_nl to parse when client->function is illegal_fnc.
* connections.c: Include prot-a-parse.h and kom-errno.h.
(call_function): Treat illegal_fnc specially: set kom_errno to
KOM_NOT_IMPL and return FAILURE.
* com-h.awk (enum call_header): New value: illegal_fnc (which is
always one greater than the highest supported call number).
* call-switch.awk: Output code that calls restart_kom if
illegal_fnc is ever attempted to be called.
Wed Jul 31 21:43:19 1996 Per Cederqvist <ceder@lysator.liu.se>
* server-config.c (WHITESPACE): According to prot-A.txt, form-feed
is not a valid whitespace character, so remove it.
Tue Jul 30 16:31:03 1996 Per Cederqvist <ceder@lysator.liu.se>
* ramkomd.c (server_init): Use sigaction instead of signal if
......
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