Fix stream keep-alive handling; bump to v1.0.0

Force-close each /stream/{channel_id} response instead of allowing
keep-alive reuse. Jellyfin's SharedHttpStream tuner client was reusing
a pooled keep-alive connection mid-stream from an earlier request and
reading raw MPEG-TS bytes as an HTTP status line, failing with
'Received an invalid status line'.

Also broaden the disconnect exception handling to ConnectionAbortedError
alongside ConnectionResetError.
This commit is contained in:
2026-09-27 18:09:26 +02:00
parent a0b38c48e2
commit 4fbb3e813e
3 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "restreamer"
version = "0.1.0"
version = "1.0.0"
description = "Restreams YouTube livestreams as continuous local streams consumable by Jellyfin Live TV"
authors = [
{name = "Jan Doubravsky",email = "jan.doubravsky@gmail.com"}