GUI / nginx-upstream-dynamic-servers

An nginx module to resolve domain names inside upstreams and keep them up to date.
MIT License
311 stars 74 forks source link

Worker crashes when using S3 / sites with very short DNS TTL #30 #31

Open eriede opened 6 years ago

eriede commented 6 years ago

Use a reference counting scheme on open requests to keep the dynamic sever memory alive while a request could still have a reference to an old peer.

eriede commented 3 years ago

I added some code to allow keepalives to work and fix up unfreed SSL sessions. Tested on 1.12, and in production on a very large website.