Corrupted responses (bad Content-Length/Content-Encoding)
- Dominant language
- C++
- Stars
- 2k
- Forks
- 874
- Avg merge
- 6d 15h
- Merged PRs (30d)
- 46
Description
This is a hard to identify bug. From the end-user view it appeared in browser console as ``net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)``.
In ATS access log it may (*) appear as ``ERR_READ_ERROR/200``
The problematic URL sporadically changes. Site can show 0-3 errors of some URLs per page loading. When go to another page of the same site the situation repeat itself.
There is a one catched problematic transaction client <->ATS assembled from the wire:
# sample 1
```
GET /wp-content/themes/epoxyworks/dist/quote-block-overlay-daFJl7Sw.svg HTTP/1.1
Host: www.epoxyworks.com
Pragma: no-cache
sec-ch-ua-platform: "Windows"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
sec-ch-ua: "Google Chrome";v="149", "Chromium";v="149", "Not)A;Brand";v="24"
sec-ch-ua-mobile: ?0
Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: no-cors
Sec-Fetch-Dest: image
Referer: https://www.epoxyworks.com/
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-US,en;q=0.9,ru;q=0.8,pl;q=0.7
Cookie: cookieyes-consent=consentid:MmxnZDMwaG5tdWJ4SVpmQVRPZjhGRzhoMXZMMUhwRWM,consent:no,action:,necessary:yes,functional:no,analytics:no,performance:no,advertisement:no; _ga=GA1.1.2040193634.1778861584; _clck=v0s5jz%5E2%5Eg62%5E0%5E2326; _ga_8ZFKGQ7DBS=GS2.1.s1781793747$o3$g1$t1781793790$j17$l0$h0
Via: 1.1 z101.orgs.link (squid)
Cache-Control: no-cache
Connection: close
X-Forwarded-Proto: https
--
HTTP/1.1 200 OK
Date: Fri, 26 Jun 2026 10:15:42 GMT
Content-Type: image/svg+xml
Content-Length: 32578
Last-Modified: Fri, 29 May 2026 20:24:08 GMT
Accept-Ranges: bytes
Cache-Control: public, must-revalidate, proxy-revalidate, immutable, max-age=31536000, stale-while-revalidate=86400, stale-if-error=604800
Expires: Sat, 24 Oct 2026 10:15:41 GMT
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Server: ATS/10.2.0
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
cf-cache-status: MISS
speculation-rules: "/cdn-cgi/speculation"
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=OPavTOqmnCcehb%2BByumlVeIAypgiLckUg3aRv1qg%2Bwh5nd6SKj1zthsQ30Msq87bgdws2nLBfAvOzYne0o5KkOkmEaqJMws0h3IeETdvPLKwFSsY7Yb68xuWZXWGJdqACD7dd40%3D"}]}
cf-ray: a11b73c6abbb8055-ARN
alt-svc: h3=":443"; ma=86400
Age: 0
Connection: Keep-Alive
Via: http/1.1 traffic_server (ApacheTrafficServer/10.2.0)
Contributor guide
Assessment
This issue has not been assessed yet.