Skip to content

Commit ae3b535

Browse files
authoredFeb 17, 2025
Merge pull request #1543 from cavefire/h200-child-devices
Fix H200 + D230 Doorbell stream
2 parents 0e9009b + 2ca97a4 commit ae3b535

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎pkg/tapo/client.go

+1
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ func dial(req *http.Request, brand, username, password string) (net.Conn, *http.
291291
if err != nil {
292292
return nil, nil, err
293293
}
294+
_, _ = io.Copy(io.Discard, res.Body) // discard leftovers
294295
_ = res.Body.Close() // ignore response body
295296

296297
auth := res.Header.Get("WWW-Authenticate")

0 commit comments

Comments
 (0)