autobahn-java icon indicating copy to clipboard operation
autobahn-java copied to clipboard

Autobahn does not comply with Android Strict Mode

Open jschmid opened this issue 4 years ago • 0 comments

If you try to enable StrictMode, specifically untagged sockets, the app will trigger warnings (or crash if it is configured as such) because of the socket opened by Autobahn.

This is a bit annoying because this prevents us to use the "catch all" detectAll() method from StrictMode.

From what I understand, WebSocketConnector should call TrafficStats.setThreadStatsTag(int) to use a TAG for the socket created by Autobahn.

jschmid avatar Mar 22 '21 12:03 jschmid