This is an archive of the discontinued Mercurial Phabricator instance.

keepalive: track number of bytes received from an HTTP response
ClosedPublic

Authored by indygreg on Oct 3 2018, 12:51 PM.

Details

Summary

We also bubble the byte count up to the HTTPConnection instance and its
parent opener at read time. Unlike sending, there isn't a clear
"end of response" signal we can intercept to defer updating the
accounting.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Oct 3 2018, 12:51 PM
This revision was automatically updated to reflect the committed changes.