dipshit / teapot

☕️Fault Tolerant, High Performance Teapot
Other
10 stars 2 forks source link

Add a tarpit #9

Closed kirinrastogi closed 2 years ago

kirinrastogi commented 5 years ago

Use a linkedlist for O(1) removals and additions.

how tf do lifetimes work

after epoll unblocks or times out, we need to check the tarpit and release, respond, and close any connections who have been open for longer than 10s

should I use a timerfd instead of a linkedlist?

closes #9