( )⚙ D12045 test-http-bad-server: refactor the reading logic to avoid early return

This is an archive of the discontinued Mercurial Phabricator instance.

test-http-bad-server: refactor the reading logic to avoid early return
ClosedPublic

Authored by marmoute on Jan 24 2022, 9:45 AM.

Details

Summary

Our ultimate goal is to add another way to define the connection needs to be
closed. To do so, we need the "read" code to be more unified.

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

marmoute created this revision.Jan 24 2022, 9:45 AM
Alphare accepted this revision.Jan 24 2022, 10:07 AM
This revision is now accepted and ready to land.Jan 24 2022, 10:07 AM
baymax updated this revision to Diff 31869.Jan 24 2022, 1:16 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)