You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addresses PR #103 review feedback.
- Add explicit `constructor() : this(null)` to TcpTransport and
TcpTransportFactory. The klib dump now carries `constructor <init>()`
alongside the Function1 overload, so the native ABI change is additive
rather than a replacement. The JVM dump is unchanged — no signature
clash with the constructor Kotlin already synthesises for an
all-defaults primary constructor. This contradicts the PR body's claim
that the klib replacement was inherent and unfixable; it was not.
- Narrow the platform-trust claim in PlatformTls.kt, TcpTransport.kt,
README.md, and Module.md. Installing a trust manager REPLACES the
platform's trust decision; network_security_config anchors, pinning,
and CT policy then hold only insofar as that manager enforces them,
and apply as before only when trustManager is left unset. The wrapping
preserves the hostname-aware call path, not the platform's policy.
X509TrustManagerExtensions also accepts any manager declaring the
three-arg checkServerTrusted reflectively, so "must come from
TrustManagerFactory" was too strong.
- Module.md heading h3 -> h2; four-backtick outer fences in the plan doc
so nested Kotlin fences stop terminating the block early.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
final class org.meshtastic.mqtt.transport.tcp/TcpTransport : org.meshtastic.mqtt/MqttTransport { // org.meshtastic.mqtt.transport.tcp/TcpTransport|null[0]
final val isConnected // org.meshtastic.mqtt.transport.tcp/TcpTransport.isConnected|{}isConnected[0]
@@ -19,6 +20,7 @@ final class org.meshtastic.mqtt.transport.tcp/TcpTransport : org.meshtastic.mqtt
19
20
}
20
21
21
22
final class org.meshtastic.mqtt.transport.tcp/TcpTransportFactory : org.meshtastic.mqtt/MqttTransportFactory { // org.meshtastic.mqtt.transport.tcp/TcpTransportFactory|null[0]
final fun create(org.meshtastic.mqtt/MqttEndpoint): org.meshtastic.mqtt/MqttTransport // org.meshtastic.mqtt.transport.tcp/TcpTransportFactory.create|create(org.meshtastic.mqtt.MqttEndpoint){}[0]
0 commit comments