Mercurial > hg
comparison mercurial/pvec.py @ 48618:9dc00c5617ea
test-bad-http-server: introduce sock closing when writing a pattern
Instead of using a fixed number a bytes, a very unstable method. We introduce a
new config that can define a regex. One this regex is detected, nothing after
it will be written and the socket will be closed.
Tests will be migrated to this new method in later changesets.
Differential Revision: https://phab.mercurial-scm.org/D12049
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 22 Jan 2022 01:51:28 +0100 |
parents | d4ba4d51f85f |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
48617:9642dbe7bca1 | 48618:9dc00c5617ea |
---|