Skip to content

Autobahn does not comply with Android Strict Mode #519

Description

@jschmid

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions