Kevin Ludwig
d9b9b1fbf9
Merge pull request #46
...
* Set string max length to Short.MAX_VALUE (32767), Fix multibyte strin…
2022-12-18 14:59:03 +01:00
Tim203
4fbb472fcc
Bump to 3.0.1-SNAPSHOT
2022-12-18 14:55:43 +01:00
RednedEpic
57342e7e40
PacketLib 3.0
2022-06-05 12:21:45 -05:00
Camotoy
dfb471df99
Use Fastutil
2022-06-04 10:05:39 -04:00
RednedEpic
8b4a2aaac8
Don't rely on this data always being the same here
2022-05-29 19:51:36 -05:00
RednedEpic
3a51f530c6
PacketLib 3.0
...
Changes:
- Removed NetInput/NetOutput and replaced them with ByteBuf
- Added PacketSerializer to PacketDefinition
- Added packet codecs which implementations can supply with custom readers/writers for buffers
2022-05-29 12:40:39 -05:00
Hugo Planque
7ff2c930df
Fix Kqueue init ( #44 )
2022-02-01 10:42:20 -05:00
Oskar
d908cccadf
Sync the future on wait ( #43 )
2022-01-08 22:14:02 -05:00
Camotoy
cc069e6d98
Bump to 2.2-SNAPSHOT
2022-01-08 22:13:57 -05:00
Camotoy
4e4d8af687
Temp revert "Sync the future on wait ( #43 )" for snapshot
...
This reverts commit a09d0fd00a
.
2022-01-08 22:12:55 -05:00
Oskar
a09d0fd00a
Sync the future on wait ( #43 )
2022-01-04 22:45:41 -06:00
Oskar
50b53e8902
Add switch case for KQueue in TcpServer#bindImpl ( #42 )
2022-01-04 22:43:57 -06:00
Camotoy
6c9483e951
Release 2.1
2021-12-20 20:40:50 -05:00
Camotoy
4cb1588e3f
Add option to validate decompression
2021-12-20 20:38:15 -05:00
Camotoy
9e38c61927
Remove allocations for packet receive and send events
...
These were just replaced with functions that call the session and packet.
2021-11-24 23:32:14 -05:00
Camotoy
67fb81e027
Reduce unnecessary checks and only add encryption when enabled
2021-11-24 19:29:19 -05:00
Camotoy
a61bcb97f7
Use a constructor parameter to determine clientsideness in packet encoder
2021-11-24 11:21:14 -05:00
Camotoy
2a8d18a3f8
Add an option to read from enum
2021-11-15 14:38:17 -05:00
RednedEpic
1188c1486f
Replace reflection usage with a supplier
2021-11-13 19:59:20 -06:00
RednedEpic
ec983f1447
Remove final for some packet methods
2021-11-13 16:41:57 -06:00
RednedEpic
816c0db6d7
Fix javadoc
2021-11-13 14:55:06 -06:00
RednedEpic
b1c85550f6
Update incoming & outgoing naming to serverbound & clientbound
...
Also determine which map to pull the packet from based on whether we're working with a client or server.
2021-11-13 14:53:46 -06:00
RednedEpic
3fdf9ea1d5
Allow for registering with packet definition directly
2021-11-13 12:41:51 -06:00
RednedEpic
30a14ca088
Aaaand am
2021-11-13 12:32:07 -06:00
RednedEpic
d89ca0581e
Remove pl too
2021-11-13 12:31:45 -06:00
RednedEpic
7488f8f702
Remove connector referece
2021-11-13 12:30:31 -06:00
RednedEpic
37e2fc7bb3
Add open collab repo and deploy on Jenkins
2021-11-13 12:28:19 -06:00
RednedEpic
459e5287cc
Update examples to reflect changes done
2021-11-13 12:15:43 -06:00
RednedEpic
6c0f107702
Don't bump version as we are still on snapshot
2021-11-13 12:10:31 -06:00
RednedEpic
98d9d91ca4
Remove deprecations here and any reflection usage
...
Methods were less than a day old
2021-11-12 23:06:14 -06:00
Redned
e295601d7c
Replace reflection usage with packet factories
2021-11-12 22:59:08 -06:00
Camotoy
489979d2bc
Require packets to have a NetInput constructor
...
This permits packets to have final fields, and prevents setAccessible and no-args constructor requirements.
2021-11-12 23:04:14 -05:00
Camotoy
2776c24e05
Merge in Geyser changes to master ( #38 )
...
* Use TCP_NODELAY and Epoll where possible
* Add KQueue and respect disableNativeEventLoop property
* Inject
* works?
* Make it pretty
* Don't create a TCP EventLoopGroup unless needed
* Add method for determining if we connected internally
* fix datagrams
* Support HAProxy probably
* Set a bunch of things as final
* Allow setting direct ByteBufs preferred
* Expose channel; don't do packets on another thread
* Don't set channel to null and do some more optimizing
* Remove custom thread factory
* Remove unused SocketChannelWrapper class
* Remove all local channel classes
* Allow for packets to be handled on a separate thread
Co-authored-by: creeper123123321 <7974274+creeper123123321@users.noreply.github.com>
2021-11-12 11:12:52 -05:00
RK_01
ccfb1aa94d
Fix memory leak by closing De-/Inflater ( #36 )
2021-10-26 17:52:57 -04:00
Camotoy
f750ba1537
Add Discord link
2021-10-04 20:43:15 -04:00
Steven Smith
f36884a456
Merge pull request #32 from TeksuSiK/epoll
2021-08-15 12:32:38 -07:00
TeksuSiK
d9a277ffb4
Move determine transport method to helper
2021-08-15 21:12:25 +02:00
TeksuSiK
09f620eb31
Add io_uring DatagramChannel to DNS resolver queries
2021-08-15 19:44:00 +02:00
TeksuSiK
bc42215a4a
Fix mistake in socket channel initialization for Nio
2021-08-15 19:02:04 +02:00
TeksuSiK
d23c3ac8fe
Implement IO_URING async syscalls interface
2021-08-15 18:59:17 +02:00
TeksuSiK
5282527a3a
Update dependiences and add io_uring pool
2021-08-15 18:29:38 +02:00
TeksuSiK
e992437da6
Changew ServerSocketChannel implementation classes to SocketChannel implementation types
2021-08-15 17:25:59 +02:00
TeksuSiK
e6ca9ecc8d
Check is epoll available and use it if so
2021-08-15 17:17:49 +02:00
Steveice10
14e98718c1
Update license year.
2021-05-13 00:28:23 -07:00
Steveice10
b343e25765
Bump to snapshot version.
2021-05-13 00:13:54 -07:00
Steveice10
fa191ed83c
Release 2.0.
2021-05-13 00:13:13 -07:00
Steven Smith
ac5600734e
Merge pull request #30 from Camotoy/srvresolvingadjustment
2021-03-16 18:48:17 -07:00
Camotoy
312cff5f97
Optimize SRV resolving only when required
...
- Add an option to disable SRV resolving
- Don't resolve SRV records if not a domain (in one instance this shortened loading times by five seconds)
2021-03-16 20:07:03 -04:00
Steveice10
19a9b2be35
Collapse Client and Server into *ClientSession and ConnectionListener.
2021-01-15 12:45:06 -08:00
Steveice10
87206da886
Bump version to 2.0-SNAPSHOT
2021-01-15 12:44:41 -08:00