Repository navigation
M3U Failover 1.2.1
M3U Failover 1.2.1 closes streams properly before a VPN exit change and handles connection slots a provider is still holding.
Features
- Added
GET /__before_move?hold=N. It closes all of an account's streams, VOD included, and holds new requests for up to 6 seconds while the exit moves./__drop_liveends the hold early. Gluetun AutoSwitch 1.8.2 uses it. - Stuck slot handling. When a provider keeps answering with a connection limit (458 or 460) while nothing is streaming, the proxy answers repeat requests itself, so the provider sees about one try every 15 seconds.
/__statusshows this asstuck_slot_seconds. - Timing in the log. Stream lines now show how long each host took to answer, which helps find a slow redirect or video server.
Fixes
- Streams are now hard closed on both sides, so a slow client can't keep a closing connection open.
Before you update
- Update this before Gluetun AutoSwitch 1.8.2.
- Restarting the proxy cuts anything playing. Live channels can take about a minute to return, so update while nobody is watching.
- Some providers keep a slot for about 5 minutes after an exit change, however the stream was closed. This release does not shorten that.
Installing
- See the README.