commit 153c787be0bd689caf316840896e911c6b2bf99f
parent 9a86a2f7054caaefa6b45d351651109deb872a42
Author: Tim van der Lippe <tvanderlippe@gmail.com>
Date: Wed, 7 Jan 2026 09:19:23 +0000
Bug 2007301 [wpt PR 56894] - net: Keep track of size of keep-alive records, a=testonly
Automatic update from web-platform-tests
net: Keep track of size of keep-alive records
This adds the relevant information on a request client
so that the http_loader can sum it up and check whether
a keep-alive request is allowed to be sent.
Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
--
wpt-commits: 6f599e27d8d4beed26a8070a0a0c8b70d2b2f73e
wpt-pr: 56894
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/web-platform/tests/beacon/resources/beacon.py b/testing/web-platform/tests/beacon/resources/beacon.py
@@ -72,7 +72,7 @@ def main(request, response):
payload = request.body
payload_parts = list(filter(None, payload.split(b":")))
- if len(payload_parts) > 0:
+ if len(payload_parts) > 1:
payload_size = int(payload_parts[0])
# Confirm the payload size sent matches with the number of