Implement UDP fallback
When a profile is selected as UDP fallback, only its server settings are respected. Tested with core.androidTest and locally with QUIC in YouTube app with plugin enabled. Other notable changes: * `IShadowsocksServiceCallback.trafficUpdated` now gets an object/data class for 4 stats. When profileId = 0, stats object represents the accumulated stats for all profiles. * Refactor `TrafficMonitor`. * Importing/exporting via JSON using a new field `udp_fallback`. * PrivateDatabase is updated to version 27 to accommodate the new field.
Showing
This diff is collapsed.
Please register or sign in to comment