arodland / smockron

Distributed HTTP rate limiting for nginx and node.js using ZeroMQ and redis
http://arodland.github.io/smockron/
40 stars 5 forks source link

nginx: The handler logs a request twice sometimes #6

Closed arodland closed 10 years ago

arodland commented 10 years ago

When I go to "/" and the index module does a subrequest to "index.html", the smockron_handler logs twice. When I go to "/index.html" directly, it only logs once.

I thought the ngx_http_set_ctx thing would prevent this from happening, but it doesn't.