What Is an HTTP Long Poll?
An HTTP long poll is one request a client makes that the server deliberately leaves unanswered until it has data to return or a maximum wait expires. It is the individual building block of the long polling loop, where each completed long poll is immediately followed by another. The mechanism relies only on standard HTTP request and response semantics.
Why it matters
Because a long poll is just a slow HTTP response, it passes through firewalls, proxies, and CDNs that block more exotic transports. That broad compatibility is why long polling remains a reliable fallback for near-real-time updates.
Related guides
What Is Long Polling?Long polling holds a client request open until the server has data or a timeout passes, reducing empty respon…
What Is Short Polling?Short polling repeatedly sends quick requests at a fixed interval, returning immediately whether or not new d…
What Are Server-Sent Events?Server-sent events let a server push a one-way stream of updates to a browser over a single long-lived HTTP c…