tomasen / realip

a golang library that can get client's real public ip address from http request headers
MIT License
221 stars 47 forks source link

Big O problem #16

Open wassimbj opened 2 years ago

wassimbj commented 2 years ago

when looping throught the X-Forwarded-For header what if the user changed the header with so many "," won't that make the loop take time to finish, and therefore a performance issue is occurred