1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-06 10:21:09 +09:00
Commit Graph

321 Commits

Author SHA1 Message Date
Marius Ungureanu
ba35bfc624 Use UTF8 instead of ASCII decoding for heartbeats 2015-09-18 06:20:10 +03:00
Michael Lidgren
c42b885e1f don't take double lock unnecessarily 2015-09-07 09:44:11 +02:00
lidgren
d1390ce7ef Merge pull request #35 from Therzok/fixes
Different fixes caught by coverity
2015-09-06 11:14:20 +02:00
Marius Ungureanu
a81fe225f5 Fix Android build by adding missing namespace. 2015-09-05 12:36:42 +03:00
Marius Ungureanu
15a9a97ffb Refactor NetPeer.Connect code to throw on non-resolvable address. 2015-09-05 10:56:17 +03:00
Marius Ungureanu
2d1f9a4b91 Fix data race in NetPeerStatistics.BytesInRecyclePool 2015-09-05 10:52:23 +03:00
Marius Ungureanu
0f9ca1d106 Fix data race in Capacity/Count of NetQueue. 2015-09-05 10:50:25 +03:00
Marius Ungureanu
afbe41bb6d Fix possible leak in NetUPnP.ExtractServiceUrl. 2015-09-05 10:50:22 +03:00
Marius Ungureanu
30b58c2098 Fix possible leak in NetUPnP.SOAPRequest. 2015-09-05 10:49:59 +03:00
Marius Ungureanu
d8ff2c9d31 Fix possible NullArgumentException throw by using a null return. 2015-09-05 10:49:25 +03:00
Marius Ungureanu
2d9a1a1afa Fix copy-paste error in NetConnectionStatistics. 2015-09-05 10:29:40 +03:00
Sebastian Zander
f17202fdc5 Bug in Read/Peek for UInt64 with numberBits over 32 fixed. 2015-08-04 11:11:28 +02:00
MichaelDePiazzi
1560ba75d8 fix: UPnP discovery response did not time out 2015-07-27 14:28:59 +08:00
Joshjje
bbd026e459 Added missing readonly properties to NetConnectionStatistics for sent/received/dropped message counts. 2015-07-05 19:22:18 -04:00
Michael Lidgren
387f786950 Fixed number of fragments statistics, fixed dropping duplicates for early received reliable unordered messages, added dropped messages statistics 2015-06-09 14:10:28 +02:00
Michael Lidgren
d111197edb Typo fixed 2015-06-04 21:40:34 +02:00
Michael Lidgren
a5122044e8 Merge branch 'master' of https://github.com/lidgren/lidgren-network-gen3 2015-06-04 21:36:53 +02:00
Michael Lidgren
a4240c914b Fixed intermediate status messages not being outputted using StatusChanged messages 2015-06-04 21:36:19 +02:00
RevenantX
6754530c81 Update PlatformConstrained.cs 2015-05-25 17:27:24 +03:00
RevenantX
1c2a5ee1a3 Fix compile errors in unity3d. 2015-05-25 17:23:18 +03:00
Michael Lidgren
9878bb3f01 trigger heartbeat send flush for resends 2015-05-23 13:24:13 +02:00
Michael Lidgren
dff2f0131f Receiving an ack for a reliable message sent less than two seconds ago will postpone timeout 2015-05-20 09:14:58 +02:00
Michael Lidgren
4a248c9069 Merge branch 'master' of https://github.com/lidgren/lidgren-network-gen3 2015-05-13 14:38:58 +02:00
Michael Lidgren
b374cf7e00 recycle outgoing messages even when throwing exception because of invalid recipients 2015-05-13 14:38:30 +02:00
Michael Lidgren
0b4d688fc2 GetBroadcastAddress problem fixed... again. 2015-05-08 19:07:42 +02:00
Michael Lidgren
513d4d6da1 Also use GetCachedBroadcastAddress() in RELEASE 2015-05-08 10:49:20 +02:00
Michael Lidgren
47ffa3b428 Fix for overallocation 2015-05-06 08:31:32 +02:00
Michael Lidgren
9b82d2a0c6 UNITY specifics for GetMyAddress incorporated 2015-05-05 15:41:46 +02:00
Michael Lidgren
77515da42d Added warning for SuppressUnreliableUnorderedAcks mismatch between sender and receiver 2015-04-14 09:23:16 +02:00
Michael Lidgren
0b8caecfce SuppressUnreliableUnorderedAcks now default to false (old behaviour) 2015-04-13 16:44:40 +02:00
Michael Lidgren
2d060cced8 Added configuration setting to suppress acks for unreliable unordered messages 2015-04-13 13:25:30 +02:00
Michael Lidgren
86a695cf2b fixed performance snafu looking up broadcast address every packet send 2015-04-13 11:24:41 +02:00
Michael Lidgren
59995cc37b using constrainedplatform.cs for UNITY_STANDALONE_LINUX 2015-03-31 08:54:54 +02:00
Michael Lidgren
fa8b1e986d First iteration improved multiplatform support 2015-03-24 13:26:55 +01:00
Andrés Leone
f2e70ecd5d Fix workaround for the Unity Web Player.
It pass the unit tests.
This fix can have the problem described here:

- http://stackoverflow.com/questions/957388/why-are-rijndaelmanaged-and-aescryptoserviceprovider-returning-different-results/4863924#4863924
2015-03-22 03:48:13 +01:00
Michael Lidgren
44bc4ff06e Recycling problems hopefully fully fixed now. Library message now also recycled. 2015-02-07 17:25:54 +01:00
Michael Lidgren
6a0abf25c3 Fixed issue with recycling count and resent messages 2015-02-06 19:23:32 +01:00
Michael Lidgren
b3fffb52e5 changed remaining float representations of time to doubles 2015-02-06 18:57:42 +01:00
Michael Lidgren
7e2b251d11 Added comment to NetQueue about linux mono hang resolution 2015-02-04 08:56:53 +01:00
Joshjje
1abb872919 Changed NetPeer.SendMessage parameter from List to IList 2015-02-01 11:00:32 -05:00
Michael Lidgren
5879fb641e Rev397-400 on google code; fixes to recycling and minor tweak to heartbeat calling when a disconnection occurs 2015-01-25 16:05:49 +01:00
Michael Lidgren
4b7b53b36d added mutex for access to m_handshake everywhere except count requests 2015-01-21 08:52:28 +01:00
Michael Lidgren
d57f7045fe m_needFlushSendQueue added to prevent traversing sender channels each heartbeat 2015-01-20 17:39:03 +01:00
lidgren
a09ed9b585 Mistakenly change from float to double in NetIncomingMessageType.ConnectionLatencyUpdated reverted 2015-01-18 17:15:20 +00:00
lidgren
999e113d65 Changed internal representation of time in a bunch of places from float to double 2015-01-17 16:35:01 +00:00
lidgren
c15e4cb2c8 Message/storage recycling capped to NetConfiguration.RecycledCacheMaxCount number of arrays/messages 2015-01-11 17:56:06 +00:00
lidgren
984e70fd52 connection statistics bytes and packet counters changed from 32 to 64 bit long integers 2014-12-24 14:34:54 +00:00
lidgren
e3d3f1ec1e Removed dead code 2014-12-03 00:02:06 +00:00
lidgren
9f6d3e79fd Delaying local Disconnect until next heartbeat 2014-11-20 10:14:59 +00:00
lidgren
740cc2ec1b Recycle outgoing ping and mtu messages 2014-11-05 09:20:26 +00:00