# How to keep an HTTP connection alive for 9 hours

DevFeed: [How to keep an HTTP connection alive for 9 hours](<https://devfeed.tech/articles/how-to-keep-an-http-connection-alive-for-9-hours-7958.md>)

Original publisher: [Read original article](<https://snyk.io/blog/how-to-keep-http-connection-alive-9-hours/>)

Author: Micah Silverman

Published: 2023-10-23T05:00:00Z

Content type: article

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [HTTP](<https://devfeed.tech/topics/http.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [API](<https://devfeed.tech/topics/api.md>), [ctf](<https://devfeed.tech/topics/ctf.md>), [CRUD](<https://devfeed.tech/topics/crud.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [awareness](<https://devfeed.tech/tags/awareness.md>), [blog](<https://devfeed.tech/tags/blog.md>), [code](<https://devfeed.tech/tags/code.md>), [ctf](<https://devfeed.tech/tags/ctf.md>), [developer](<https://devfeed.tech/tags/developer.md>), [devrel](<https://devfeed.tech/tags/devrel.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [http](<https://devfeed.tech/tags/http.md>), [java](<https://devfeed.tech/tags/java.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

## AI overview

This article explains how Snyk's open source ctfd-account-hook project evolved to support a long-running, secured HTTP request that emails nearly 4,000 pre-registered Capture the Flag participants. It describes integrating a custom registration flow with CTFd and handling the platform's email API rate limits.

## Source excerpt

In this post, I'll cover how the open source project I created -- ctfd-account-hook -- evolved to support a long-running, secured HTTP request to notify nearly 4,000 registered participants over email.