netty5/transport-native-unix-common/src
Ran 3152ec76db Throw exceptions when rule violating UDS paths been passed in. (#11663)
Motivation:

Currently, Netty is silently truncating all over the limit UDS paths and ignoring the `sun_path`'s null-termination role, which hurts compatibility with other UDS clients and servers.

Modifications:

Adding a validation in the JNI code, if the UDS path is not satisfying the system limit or Linux spec throw a NativeIoException.

Result:

All UDS paths Netty can successfully bind are connectable by other programs.
2021-09-08 09:22:37 +02:00
..
main Throw exceptions when rule violating UDS paths been passed in. (#11663) 2021-09-08 09:22:37 +02:00
test/java/io/netty/channel/unix Migrate transport-native-unix-common tests to JUnit 5 (#11321) 2021-05-27 15:57:36 +02:00