mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-10 04:02:17 +00:00
Won't handle content-length estimation
This is actually a bad idea. If the estimated value is too low, clients might close the connection before receiving the whole file.
This commit is contained in:
parent
4c68bac189
commit
64e8d616fc
@ -82,8 +82,6 @@ def stream_media():
|
||||
else:
|
||||
response = send_file(res.path, mimetype = dst_mimetype)
|
||||
|
||||
# TODO handle estimateContentLength
|
||||
|
||||
res.play_count = res.play_count + 1
|
||||
res.last_play = now()
|
||||
request.user.last_play = res
|
||||
|
Loading…
Reference in New Issue
Block a user