Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hapi 8 support #14

Merged
merged 13 commits into from
Jan 22, 2015
Merged

Hapi 8 support #14

merged 13 commits into from
Jan 22, 2015

Conversation

franciscogouveia
Copy link
Contributor

The changes I've made are stable now for a hapi 8 release. Refactored also the testserver.js file with hapi 8 code.

To test it:

node tests/testserver.js

When the limit is reached, the following response is given (as expected):

{"statusCode":429,"error":"Too Many Requests","message":"Rate limit exceeded"}

Note: might be not backward compatible with older versions of hapi.

@cl-aaron
Copy link
Contributor

Awesome Thank!

cl-aaron added a commit that referenced this pull request Jan 22, 2015
@cl-aaron cl-aaron merged commit 7e198d5 into creativelive:master Jan 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants