Forum Discussion
hooleylist
Jun 01, 2011Cirrostratus
Hi Richard,
Your version would definitely work and is less code. The advantage to doing the IP comparison in CLIENT_ACCEPTED is that you only do it once per TCP connection. If the client reuses the TCP connection for multiple HTTP requests, you save doing that lookup on every HTTP request.
Aaron