Commit 375402b5 authored by Per Cederqvist's avatar Per Cederqvist

Don't crash if a client with queued request closes the connection.

Improve handling of busy clients.  Improve test suite for busy
clients.
parent 45fd8a40
2003-07-30 Per Cederqvist <ceder@ceder.dyndns.org>
Improve test suite for busy clients.
* src/server/Makefile.am (libcheck_a_SOURCES): Added getopt.c and
getopt1.c.
* src/server/testsuite/lyskomd.0/38.exp: Test two simultaneous
get-time-client clients.
(slow): Removed.
(fast): Removed.
(monitor_progress): New proc.
* src/server/testsuite/get-time-often.c (last_progress_status):
New variable.
(parse_async): Fixed off-by-one parse error. Report parse errors
more verbosely.
(report_progress): New function. Report progress, but print
nothing unless we have received a new reply from the server since
the last time we were called.
(longopts): New constant.
(main): Use getopt_long to parse the arguments. Enable progress
report. Fixed a broken printf format string.
Don't crash if a client with queued request closes the
connection. Improve handling of busy clients.
* src/server/connections.c (write_err_cb): Increase the penalty,
so we don't process anything more from this client.
(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.
2003-07-30 Per Cederqvist <ceder@lysator.liu.se>
The statistics was broken on platforms where sizeof(int) !=
......
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