Go and enhance your calm: demolishing an HTTP/2 interop problem
blog.cloudflare.com·19h·
Discuss: Hacker News
Flag this post

2025-10-31

6 min read

In September 2025, a thread popped up in our internal engineering chat room asking, “Which part of our stack would be responsible for sending ErrCode=ENHANCE_YOUR_CALM to an HTTP/2 client?” Two internal microservices were experiencing a critical error preventing their communication and the team needed a timely answer.

In this blog post, we describe the background to well-known HTTP/2 attacks that trigger Cloudflare defences, which close connections. We then document an easy-to-make mistake using Go’s standard library that can cause clients to send PING flood attacks and how you can avoid it.

![](https://cf-assets.www.cloudflare.com/zkvhla…

Similar Posts

Loading similar posts...