remove unnecessary duration_ms update on early return

This commit is contained in:
J. Nick Koston
2026-01-21 15:38:33 -10:00
parent d708dc648b
commit 133cf0be1e
@@ -231,7 +231,6 @@ int HttpContainerIDF::read(uint8_t *buf, size_t max_len) {
// Check if we've already read all expected content
if (this->bytes_read_ >= this->content_length) {
this->duration_ms += (millis() - start);
return 0; // All content read successfully
}