Mercurial > hg
comparison tests/testlib/badserverext.py @ 48617:9642dbe7bca1
test-http-bad-server: document that the value are actually a list
I don't really expect this doc to be read a lot, but mentioning that this is a
list seems important.
Differential Revision: https://phab.mercurial-scm.org/D12048
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 22 Jan 2022 01:13:12 +0100 |
parents | 98c502a2c462 |
children | 9dc00c5617ea |
comparison
equal
deleted
inserted
replaced
48616:98c502a2c462 | 48617:9642dbe7bca1 |
---|---|
22 If true, the server will close() the client socket immediately after | 22 If true, the server will close() the client socket immediately after |
23 accept(). | 23 accept(). |
24 | 24 |
25 close-after-recv-bytes | 25 close-after-recv-bytes |
26 If defined, close the client socket after receiving this many bytes. | 26 If defined, close the client socket after receiving this many bytes. |
27 (The value is a list, multiple values can use used to close a series of requests | |
28 request) | |
27 | 29 |
28 close-after-send-bytes | 30 close-after-send-bytes |
29 If defined, close the client socket after sending this many bytes. | 31 If defined, close the client socket after sending this many bytes. |
32 (The value is a list, multiple values can use used to close a series of requests | |
33 request) | |
30 """ | 34 """ |
31 | 35 |
32 from __future__ import absolute_import | 36 from __future__ import absolute_import |
33 | 37 |
34 import socket | 38 import socket |