Skip to content

Tags: justin-slowik/tollbooth

Tags

v5.1.0

remove vendor

v5.0.0

v5 is with go.mod and go.sum

v4.0.2

Fix didip#66. If user does not define headerValues when configuring T…

…ollbooth,

Create individual bucket by using request header’s own value,

so that we can rate-limit individually.

Also fix a regression where we didn’t pass BasicAuth username on one of the possible path of key building.

v4.0.1

Fix didip#66. When limiter is configured with header values,

we should only limit request when its header is defined in limiter’s header values.

v4.0.0

Float64 for max requests per second

v3.0.2

Able to detect ipv6 without port

v3.0.1

Back to using max as default burst size but able to configure it. Als…

…o fixed ipv6 addr detection

v3.0.0

3rd release: Apparently we have been using golang.org/x/time/rate inc…

…orrectly. See issue didip#48. It always limit X number per 1 second. The time duration is not changeable, so it does not make sense to pass TTL to tollbooth

v2.2.0

LimitByRequest now capable of setting response headers

v2.1.1

Able to choose which X-Forwarded-For IP to use