Commit Graph

287 Commits

Author SHA1 Message Date
UbitUmarov
b051b3a81d change to ping based RTO 2019-04-09 21:30:06 +01:00
UbitUmarov
c09b312b05 testing ... 2019-04-09 18:50:08 +01:00
UbitUmarov
2c8e03b589 testing ... 2019-04-09 00:25:38 +01:00
UbitUmarov
ec6a52c029 change interpretation of a viewer flag 2019-04-06 21:26:12 +01:00
UbitUmarov
6cf85a3db1 a few more changes on initial objects send 2019-03-30 12:07:49 +00:00
UbitUmarov
5663e2c0c8 try another way 2019-03-27 07:32:06 +00:00
UbitUmarov
d0052c8174 add more test code to make usage od compressed updates etc. Should be disable, but well many things can go wrong. 2019-03-23 02:18:32 +00:00
UbitUmarov
cfbd34f618 add some code for compressed updates, but disabled, since more changes are needed elsewhere 2019-03-21 06:52:18 +00:00
UbitUmarov
d6b3413c63 RegionHandshake IS critical llupd protocol not to be done by odd modules 2019-03-20 15:09:53 +00:00
UbitUmarov
c2086e6257 add a few extra checks for viewers animated objects support, to avoid timming issues 2019-03-19 00:47:45 +00:00
UbitUmarov
6fd7b931b1 lludp ChatFromSimulator enconding; some simplification 2019-03-18 18:58:07 +00:00
UbitUmarov
9ccca71c1b remove redundant code 2019-03-17 19:00:02 +00:00
UbitUmarov
8bb0c05825 lludp: direct encode PacketAck, StartPingCheck and CompletePingCheck 2019-03-17 18:16:38 +00:00
UbitUmarov
492ba8f644 minor cleanup 2019-03-15 19:21:44 +00:00
UbitUmarov
7b55d42b11 lludp fix max packet size on ack appends 2019-03-10 11:23:38 +00:00
UbitUmarov
0944a96517 llupd direct encode object updates for agents; let terse updates be zeroencoded. This is not as spec but does work 2019-03-05 16:01:29 +00:00
Robert Adams
bd1b992aaf Add Thread.ResetAbort() to various thread loops to clean up errors on
shutdown. Fixes Mantis #8494.

Threads are aborted when shutting down and ThreadAbortException is odd
in that it is rethrown at the end of the catch unless the abort is
reset. No functional changes but fewer error messages on shutdown.
2019-02-27 07:49:52 -08:00
UbitUmarov
bcf05afd64 direct encode terseupdates 2019-02-27 10:07:25 +00:00
UbitUmarov
4de5e14e54 issues with udp buffers pool on heavy load 2019-02-26 15:02:57 +00:00
UbitUmarov
a07951b044 fix UDPBuffersPoolCount value (readable with stats show clientstack 2019-02-26 00:43:44 +00:00
UbitUmarov
d5d4dc4754 zero decode using a buffer from the pool 2019-02-25 23:30:01 +00:00
UbitUmarov
d01165818d change UDPPacketBuffer pools (does waste a bit of memory) 2019-02-25 21:46:23 +00:00
UbitUmarov
0c38d52538 cosmetics on terrain patchs 2019-01-20 20:58:27 +00:00
UbitUmarov
b24c669c16 more on the hack (runprebuild) 2019-01-02 16:44:13 +00:00
UbitUmarov
02492f7b15 replace my hack by others hack 2019-01-01 12:06:29 +00:00
UbitUmarov
817b622b79 changes on updates 2018-12-30 02:41:13 +00:00
UbitUmarov
cf89799c0b changes on updates 2018-12-29 23:03:03 +00:00
UbitUmarov
4a73cc81dc now break several things at same time... sog/sop updates, threads options,... 2018-12-28 13:52:59 +00:00
UbitUmarov
7a4d8017d7 simplify a bit 2018-12-02 00:41:01 +00:00
UbitUmarov
d179b2dda1 avoid data references stuck in packet pools 2018-11-25 18:38:37 +00:00
UbitUmarov
3741abab7c udp threads don't need to be fg 2018-11-06 15:18:36 +00:00
UbitUmarov
cf33e0440a reduce some threads priority 2018-10-28 14:43:14 +00:00
UbitUmarov
9e4bf3439c change throtle datasnapshot get 2018-01-22 19:50:07 +00:00
UbitUmarov
d38161f83d retire our BlockingQueue replaced by BlockingCollection and cross fingers 2018-01-22 17:09:38 +00:00
UbitUmarov
49b4408782 some cleanup 2018-01-20 12:11:07 +00:00
UbitUmarov
ad43cc6784 change llclient async udp packets processing. Removed the shared Jobengine that made only one thread do some packets for all users, and removed the FireAndForget, so each user could issue a unlimited number of threads. Added a new JobEngine per client, so each gets at most one thread,and that thread can be released if iddle (for 5 seconds ) 2017-06-13 19:04:18 +01:00
UbitUmarov
3ba63dde6e udp is not tcp. If mono versions have bronke udp sento, better update, also having 300 threads because object select is not funny 2017-06-13 12:17:39 +01:00
UbitUmarov
e650a4ff16 remove excessive notion of paralelism 2017-06-13 08:56:21 +01:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Melanie Thielker
69776aa70c Remove the AllowAlternatePorts option. It wasn't implemented anyway.
Instead, handle the port being 0 as "any port" and assign a random
port for regions in that case.
2016-12-13 19:47:26 +00:00
UbitUmarov
b2c553b459 work around some warnings 2016-11-21 01:16:35 +00:00
UbitUmarov
e281876ecd restore higher resolution clock on udpserver and lower uaeraccouts caching time 2016-11-18 03:25:29 +00:00
UbitUmarov
d8812ba2d1 revert to lower resolution clock on udpserver for testing 2016-11-18 03:00:59 +00:00
UbitUmarov
c349a1a5e7 also log estimated average Util.GetTimeStampMS() resolution 2016-11-09 11:21:46 +00:00
UbitUmarov
94d2422230 change the clock source on udp outgoing, remove some dead code 2016-11-09 10:21:02 +00:00
UbitUmarov
abf423e361 be nicer to PIs (actually linux) 2016-07-12 23:23:47 +01:00
Melanie Thielker
cdfbf78d07 Fields should be protected unless private is required 2016-06-14 01:27:48 +02:00
Melanie Thielker
68c73951ef Make the LLUDPServerShim inheritable. There is absolutely no reason for
this to be sealed!
2016-06-14 01:21:47 +02:00
UbitUmarov
bdab95f1d2 dont try to process packets for deleted clients 2015-12-09 22:57:13 +00:00
UbitUmarov
bbe55df6c6 disable useless and totally wrong incoming Pools 2015-12-09 22:32:48 +00:00