Fixed HttpFileHandler bug causing casting local webm not to work.

This commit is contained in:
Koen J 2025-02-11 17:41:25 +01:00
parent c1c2000c98
commit 3b62f999bf

View file

@ -73,7 +73,7 @@ class HttpFileHandler(method: String, path: String, private val contentType: Str
Logger.v(TAG, "Sent bytes $current-${current + bytesToSend}, totalBytesSent=$totalBytesSent")
current += bytesToSend.toLong()
if (current >= end) {
if (current > end) {
Logger.i(TAG, "Expected amount of bytes sent")
break
}