Lee Salzman
a52811ef27
update totalWaitingData when removing an incoming command
2024-07-24 01:45:54 -04:00
Lee Salzman
0b924c79ce
add some safety checks to enet_packet_resize
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Debug, macos-latest) (push) Has been cancelled
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Debug, ubuntu-latest) (push) Has been cancelled
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Debug, windows-latest) (push) Has been cancelled
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Release, macos-latest) (push) Has been cancelled
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Release, ubuntu-latest) (push) Has been cancelled
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Release, windows-latest) (push) Has been cancelled
2024-06-28 22:28:14 -04:00
Lee Salzman
7083138fd4
fix extern "C" usage
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Debug, macos-latest) (push) Has been cancelled
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Debug, ubuntu-latest) (push) Has been cancelled
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Debug, windows-latest) (push) Has been cancelled
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Release, macos-latest) (push) Has been cancelled
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Release, ubuntu-latest) (push) Has been cancelled
CMake / CMake ${{ matrix.os }} ${{ matrix.build_type }} (Release, windows-latest) (push) Has been cancelled
2024-06-26 13:08:39 -04:00
Lee Salzman
29260f79cf
unsequenced comment fix
2024-06-26 08:30:38 -04:00
Arvid Norlander
a356ac0aa9
Fix compiler warnings on Windows due to redefines ( #258 )
...
Co-authored-by: Arvid Norlander <arvid-norlander@users.noreply.github.com>
2024-06-19 12:24:28 -04:00
Arvid Norlander
7c07702b97
Fix undefined behaviour with signed left shift in fragment calculations ( fixes #256 ) ( #257 )
...
Co-authored-by: Arvid Norlander <arvid-norlander@users.noreply.github.com>
2024-06-10 11:54:11 -04:00
Lee Salzman
c30a17ac8a
return -2 for EINTR
2024-05-20 14:19:30 -04:00
Lee Salzman
80103c873d
check for EINTR
2024-05-20 14:06:47 -04:00
Michael Keck
4ce1625b8a
CMake: Improve install instructions ( #244 )
2024-04-24 01:43:23 -04:00
ccn
5857b13df1
Update tutorial.dox ( #246 )
...
remove excess spaces which show up as literal <br> in the docs
2024-04-22 02:11:11 -04:00
Michael Keck
b275a5334f
Add a .gitignore ( #245 )
2024-04-19 00:26:07 -04:00
Michael Keck
ca56fecaf3
CMake: Enable shared builds ( #242 )
2024-04-18 15:52:47 -04:00
Michael Keck
276ff5ae05
CMake: Fix linking for Windows builds on non-mingw compilers ( #241 )
2024-04-17 00:45:27 -04:00
Lee Salzman
2662c0de09
1.3.18 release prep
2024-04-14 23:06:53 -04:00
Arvid Norlander
c44b7d0f7f
Fix unaligned reads and writes of the checksum ( fixes #237 ) ( #238 )
...
Co-authored-by: Arvid Norlander <arvid-norlander@users.noreply.github.com>
2024-03-05 10:46:29 -05:00
Lee Salzman
2a85cd6445
better partial message handling
2023-07-23 21:05:47 -04:00
Lee Salzman
ea4607a90d
lower default MTU to 1392 to avoid stressing certain VPNs
2023-04-02 16:48:09 -04:00
Lee Salzman
8ae0e85298
update connecting peer's mtu from host's current mtu
2023-04-01 14:49:22 -04:00
Michael Keck
07a40ef0f9
Add GitHub Actions CI ( #188 )
...
Add GitHub Actions CI
2023-03-21 09:24:33 -04:00
Lee Salzman
eb89a34d66
Merge pull request #222 from seragh/server-mtu
...
Fix MTU negotiation on server side
2023-03-10 14:01:19 -05:00
Ralph Sennhauser
4faa11a243
Fix MTU negotiation on server side
...
On connect the MTU sent by the client gets stored and sent back
unchanged if within minimum and maximum of the protocol. Then on verify
connect a test is done if the returned MTU is smaller than the current
MTU and if so gets adjusted. So as long as the MTU is within boundaries
only the client specified MTU is relevant.
This patch adds a check for smaller MTU on server side.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2023-03-10 09:41:55 +01:00
Lee Salzman
153e10f953
Relocate home to http://sauerbraten.org/enet/
2023-03-02 22:43:35 -05:00
Lee Salzman
be7cefa39c
avoid explicitly storing roundTripTimeoutLimit
2023-02-05 00:55:34 -05:00
Lee Salzman
9dde91d003
remove unnecessary sent unreliable list from peers
2023-02-04 23:20:39 -05:00
Lee Salzman
ca18dfb8f8
avoid revisiting peers when continuing to send
2023-02-04 22:48:18 -05:00
Lee Salzman
d7e5470cf7
maintain a separate queue for outgoing send reliable packets
2023-02-04 22:16:19 -05:00
Lee Salzman
bb788ea48b
Merge pull request #217 from skyfloogle/ttl
...
Add ENET_SOCKOPT_TTL
2023-01-08 14:08:39 -05:00
Floogle
4e69c700d6
added ENET_SOCKOPT_TTL
2023-01-08 15:58:31 +01:00
Lee Salzman
311360dbdd
Merge pull request #82 from JonnyPtn/master
...
Add install target to CMakeLists.txt
2022-10-17 14:21:53 -04:00
Lee Salzman
b06d154579
Merge pull request #209 from daichifukui/dfukui/allow-build-on-hurd-i386
...
allow build on hurd i386
2022-10-11 00:08:04 -04:00
Fukui Daichi
6800acd9c7
allow build on hurd i386
...
This patch originates with:
88648f10bd
2022-10-10 12:36:16 +00:00
Lee Salzman
4f8e9bdc4c
use a hard-coded crc32 table
2022-08-12 08:46:05 -04:00
Lee Salzman
3340d1cf85
more enet_peer_send notes
2022-02-20 15:05:33 -05:00
Lee Salzman
bd0115c907
enet_peer_send note about failure and enet_packet_destroy
2022-02-20 15:03:09 -05:00
Lee Salzman
987cd0650f
Merge pull request #187 from metaquarx/master
...
Future proof cmake minimum version
2022-01-19 14:41:45 -05:00
metaquarx
92ef50a080
future proof cmake minimum version
2022-01-19 19:22:50 +00:00
Lee Salzman
498b9e3571
silence analyzer warning about peer->channels
2021-11-11 10:05:49 -05:00
Lee Salzman
74cea7abf5
switch irc channel
2021-06-13 16:15:37 -04:00
jonathan.r.paton@googlemail.com
9fda19e54b
Add install target to CMakeLists.txt
2021-05-14 10:54:52 +01:00
Lee Salzman
cf735e639e
fix minimum cmake version
2021-04-26 00:01:11 -04:00
Lee Salzman
e8dbb360fb
better socklen_t detection
2021-04-25 23:50:39 -04:00
Lee Salzman
0286dcdb34
silence some MSVC warnings
2021-04-25 23:44:51 -04:00
Lee Salzman
e3ada4ed75
implement mulberry32 for PRNG
2021-01-13 01:39:14 -05:00
Lee Salzman
2cc0e7c780
fix more changelog typos
2020-12-19 00:21:42 -05:00
Lee Salzman
b64793fa5e
fix typo in changelog
2020-12-19 00:20:16 -05:00
Lee Salzman
e0e7045b7e
1.3.17 release prep
2020-11-15 12:40:57 -05:00
Lee Salzman
4de13a2c2e
avoid sending packets in unacknowledged window
2020-11-13 00:11:34 -05:00
Lee Salzman
0d1fb32ee8
fix for sending getting too far ahead of receiver
2020-10-19 20:21:04 -04:00
Lee Salzman
0bd265b230
1.3.16 release prep
2020-09-08 13:45:45 -04:00
Lee Salzman
54dac7af81
revert failed throttle changes
2020-09-08 13:39:54 -04:00