monicahq / laravel-cloudflare

Add Cloudflare ip addresses to trusted proxies for Laravel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Octane

jcsoriano opened this issue · comments

Is this compatible with Laravel Octane? Won't this have a memory leak because every request you're re-merging $this->proxies using array_merge in https://github.com/monicahq/laravel-cloudflare/blob/main/src/Http/Middleware/TrustProxies.php#L21?

@jcsoriano is it working with Laravel Octane?