William Pitcock
f55d5f0b0f
- Allow local opers to CLOSE connections. ( #2486 )
2012-11-25 17:56:23 +00:00
William Pitcock
ec09c447e5
- Remove defines FAST_BADWORDS_REPLACE, THROTTLING, EXTCMODE. ( #2937 )
...
The code does not compile without them anyway.
2012-11-25 17:45:45 +00:00
William Pitcock
4a58fd967c
- Move TKL update notices to snomask +G, from snomask +j. ( #3000 )
2012-11-25 17:01:53 +00:00
William Pitcock
1f79ca142f
- Remove channel masks. ( #3281 )
2012-11-25 16:59:27 +00:00
William Pitcock
19f899f1bb
- Remove local[] and LastSlot.
2012-11-25 03:23:57 +00:00
William Pitcock
594ca76c00
- SASL: just decode the cookie part of the PUID and assume slot is 0 for now.
...
This will eventually be replaced with proper TS6-like UIDs.
2012-11-25 03:11:53 +00:00
William Pitcock
fb21a87a4b
- Compile fix.
2012-11-25 03:10:57 +00:00
William Pitcock
aa617df36c
- Remove last core dependency on local[].
2012-11-25 03:05:59 +00:00
William Pitcock
4efcdfe090
- More refactoring related to local[] removal.
2012-11-25 02:59:48 +00:00
William Pitcock
56010d9fb5
- Missed a local[] reference in TRACE.
2012-11-25 02:49:15 +00:00
William Pitcock
2ea5301896
- Rework the listener system to not use Client table entries.
2012-11-25 02:46:39 +00:00
William Pitcock
562c30d58d
- More conversion to lclient_list and friends.
2012-11-25 01:52:08 +00:00
William Pitcock
4f8c49d2fb
- Stop iterating using LastSlot in m_server.
2012-11-24 23:24:30 +00:00
William Pitcock
5448462f5d
- Typo fix.
2012-11-24 23:21:52 +00:00
William Pitcock
2b3a724524
- Use unknown_list instead of iterating local[] in PASS and CLOSE commands.
2012-11-24 23:04:58 +00:00
William Pitcock
8829e89f2e
- Remove references to LastSlot and local[] in send.c
2012-11-24 22:47:17 +00:00
William Pitcock
c2a9dd3273
- Remove local[] iteration in AllowClient().
2012-11-24 22:32:00 +00:00
William Pitcock
b7aa36e8d1
- Guard against improper use of Client structures, due to legacy dependency on local[].
2012-11-24 22:28:13 +00:00
William Pitcock
6883909f2a
- Split out unknown connection checking into it's own event.
2012-11-24 22:19:43 +00:00
William Pitcock
5e1b5a4dd9
- Be more paranoid about unlinking client entries from linked lists, by doing it
...
from free_client() which is called directly sometimes.
2012-11-24 22:19:13 +00:00
William Pitcock
90802ddafa
- Add unknown_list for tracking unknown clients.
2012-11-24 21:55:37 +00:00
William Pitcock
33bffb336f
- Use lists instead of looping on LastSlot in a few places.
2012-11-24 21:19:32 +00:00
William Pitcock
5d586cfc69
- All the remaining code in fdlist.c is mine since rev. 16a9ba0
2012-11-24 21:00:09 +00:00
William Pitcock
bae7de47a0
- Remove some more vestiges of the old I/O system I previously missed.
2012-11-24 20:57:33 +00:00
William Pitcock
4ca0156f84
- Remove remainder of fdlist code.
2012-11-24 20:55:38 +00:00
William Pitcock
04362c8783
- Remove default_fdlist.
2012-11-24 20:48:59 +00:00
William Pitcock
275b4f507d
- Replace oper_fdlist with oper_list.
2012-11-24 20:45:11 +00:00
William Pitcock
092d928b99
- Remove serv_fdlist.
2012-11-24 20:17:04 +00:00
William Pitcock
024ef23ec6
- Move serv_fdlist accounting over to new server_list.
2012-11-24 19:56:10 +00:00
William Pitcock
3b1984cdd8
- Add special_node to struct Client for iterating unknown / server / oper lists.
2012-11-24 19:52:56 +00:00
William Pitcock
35dcc7287d
- Use safe list iteration with loops which may remove clients
2012-11-22 02:16:59 +00:00
William Pitcock
9a577aec61
- Move some things over to the lclient_list.
2012-11-22 00:23:25 +00:00
William Pitcock
ffb4fc56f1
- Separate TKL checking from the check_pings event.
...
Instead, run check_tkls() when TKL changes are made directly.
While this is technically slower when more than one TKL is placed
at once, the value of getting it out of the check_pings event is
greater.
2012-11-21 03:08:27 +00:00
William Pitcock
bda05b6876
- Make it possible for nodes which have been delinked to be linked to other lists.
2012-11-21 23:18:18 +00:00
William Pitcock
a35fe3ea3b
- Add lclient_list and aClient.lclient_node, which iterates local clients.
2012-11-21 23:14:28 +00:00
William Pitcock
f09b1ac4d4
- Rename aClient.client_list to aClient.client_node to avoid confusion
2012-11-21 23:03:28 +00:00
William Pitcock
9853fa54f4
- Rework the client management code to use a circular queue and set of
...
circular queues for hashtable.
2012-11-21 22:49:32 +00:00
William Pitcock
d2ef4a9b10
- Add new circular-queue linked list macros based on the ones in the Linux kernel.
2012-11-21 22:48:26 +00:00
William Pitcock
eba3b54459
Backed out changeset 67f0becf1fd9
2012-11-24 17:41:20 +00:00
William Pitcock
c53dbb87fb
- Update Changes file after first merge.
2012-11-24 17:39:20 +00:00
William Pitcock
6f7d41f5c6
- StrEq() macro has no users, so we can remove this too.
2012-11-21 03:35:08 +00:00
William Pitcock
ab5e766d9c
- Replace calls to strncpyzt() macro with more secure strlcpy().
...
This was done using Coccinelle, the semantic patch was:
@@
expression src, dst, len;
@@
- strncpyzt(src, dst, len);
+ strlcpy(src, dst, len);
2012-11-21 03:22:29 +00:00
William Pitcock
dbe7039123
- Remove flush_connections(). It is now obsolete via the async i/o.
...
As a result of removing this, Unreal's CPU usage is reduced by 45% with
10000 local connections.
2012-11-19 22:37:52 +00:00
William Pitcock
98ad590a7f
- Remove nextping, nextconnect, nextblah stuff. Use proper events instead.
2012-11-12 09:35:11 +00:00
William Pitcock
856be31a8d
- Exorcize HTM (heavy traffic mode) from Unreal.
...
This is partially for the sake of Stskeeps, even though he left the
project long ago, but mainly so we can work towards dynamic ticks in
the event loop while guaranteeing latencies for connected clients,
even with fakelag.
2012-11-05 05:49:04 +00:00
William Pitcock
31c357bf76
- Kill busycli_fdlist with fire.
2012-11-05 05:30:34 +00:00
William Pitcock
3254f7ba4c
- Kill read_message() and related deritius with fire.
...
The dreamforge event-loop is now fully exorcized from the codebase.
2012-10-26 02:38:08 +00:00
William Pitcock
054f39cc3d
- Hook up remote includes code into the new event loop, and remove references to
...
url_do_transfers_async() which has been removed.
2012-10-25 23:31:25 +00:00
William Pitcock
fb6da590fb
- Simplify deliver_it().
2012-11-05 05:27:23 +00:00
William Pitcock
efd5c6ec1a
- Removed broken VMS netwrite() code.
2012-10-26 04:10:03 +00:00