when ConnectivityCheckClient fails to send due to missing socket.
This condition happens when SinglePortUdpListener is used and hasn't
received packets from the destination address yet.
org.ice4j.stack.StunClientTransaction$Retransmitter.run: A client tran retransmission failed
java.lang.NullPointerException
at org.ice4j.stack.Connector.sendMessage(Connector.java:329)
at org.ice4j.stack.NetAccessManager.sendMessage(NetAccessManager.java:635)
JDK17 introduced a wrapper around SocketOutputStream in
Socket.getOutputStream that doesn't forward flush. Directly return
our implementation in PseudoTcpSocket making sure that the original
intent of closing the socket when the stream is closed is still
followed.
* Fix a race stopping a connectivity check client.
(This could result in the agent, and everything it references, staying reachable and so being leaked.)
* test: Add unit test for MappingCandidateHarvester.
* ref: Move MappingCandidateHarvester to kotlin.
* feat: Add the option to match the configured port.
* feat: Support statically mapping a specific port.
* feat: Add a name to MappingCandidateHarvester.
* doc: Add more docs to reference.conf.
* Shut down harvester thread pool when it's done.
* Use ExecutorService to create harvester threads; name thread pool threads to match other ice4j threads.
* Migrate test to JUnit 5 and prepare POM for Maven Central
* Use random ports for transaction tests
* Apply ktlint format
* Fix flaky tests
* Use jicoco from Maven Central
* Remove semver checks
* Add Kotlin linting check
* Use bnd-maven-plugin for OSGi to avoid confusing Kotlin
* Release to Maven Central
Closes#213Closes#95
* Fix braces formatting that crept in with a regex
* ref: Port the "disable link-local addresses" property.
* ref: Port the receive buffer size property.
* ref: Port the "disable ipv6" property.
* ref: Port the "dynamic ports" propertty.
* ref: Port the timeout property.
* test: Add tests for the new properties.
* Add fromString method to NominationStrategy.
* Add getters for NominationStrategy.
This allows Kotlin to model Agent's nominationStrategy as a property.
* Added missing attributes to Role Conflict message.
* Updated logs and fixed comments.
* Added unit test of role conflict recovery.
* Fixed long lines.
* use queuestatistics/ratestatistcs from jitsi-utils
* remove packetqueue (exists in jitsi-utils)
* use executorfactory in jitsi-utils
* use customizablethreadfactory on jitsi-utils
* remove asyncqueuehandler (exists in jitsi-utils)
* use new logger in agent
* use new logger in component, componentsocket, icemediastream, mergingdatagramsocket
* use new logger in localcandidate
* use new logger in checklist
* use new logger in defaultnominator
* use new logger in connectivitycheckclient, connectivitycheckserver
* fix typo, allow taking in a parent logger
* use jitsi-utils
* clean up uses of old logger and remove it