Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
eb9352f3
Commit
eb9352f3
authored
Dec 18, 2005
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented the disable-client debug call, and use it in a test suite.
Some minor code refactoring.
parent
8f262175
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
ChangeLog
ChangeLog
+26
-0
No files found.
ChangeLog
View file @
eb9352f3
2005-12-18 Per Cederqvist <ceder@moria.cederqvist>
Implemented the disable-client debug call, and use it in a test
suite. Some minor code refactoring.
* src/include/services.h (disable_client): New debug request.
* src/server/fncdef.txt (disable_client): New debug request.
* src/server/connections.h (Connection) [DEBUG_CALLS]: New field:
blocked_by_disable_client.
* src/server/internal-connections.c (init_connection)
[DEBUG_CALLS]: Initialize blocked_by_disable_client.
(new_client): Ditto.
* src/server/connections.c (parse_unparsed) [DEBUG_CALLS]: Don't
process any request if the client is disabled by disable_client.
(may_read_more): New method, extracted from read_from_connection.
Return false if disabled by disable_client.
(should_be_disabled): New method, extracted from
read_from_connection and check_idle_callback. Return true if
disabled by disable_client.
(read_from_connection): Simplified code by using may_read_more and
should_be_disabled.
(check_idle_callback): Simplified code by using should_be_disabled.
(disable_client): New debug request.
* src/server/testsuite/lyskomd.0/51.exp: New test suite. Test that
nothing is read from a disabled client, and that the output queue
fills up properly.
2005-12-12 Per Cederqvist <ceder@ingate.com>
x-face is a broken and historical image format, so don't promote
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment