Move background revalidate after ngx.eof(), do not bg revalidate sub-requests, switch X-Cache to use visible_hostname()
Merge pull request #46 from hamishforbes/master

Background Revalidate rework
First attempt at a .travis.yml file for ledge

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Should be using 32bit package on 32bit ubuntu.

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Override the default install command with our cpanm call

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Fake a commit to trigger a travis build on the right branch

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Added build status image for master to README

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Switch to using TEST_NGINX_BINARY instead of symlinking to openresty.
Updated openresty package path.
Commented .travis.yml properly.

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Oops, don't need 1 build per env line - put all env vars on the same line!

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Use sudo to run make test, otherwise we'll run into log writing error messages and such

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Add sanity check `which` to before_install and force specific openresty binary

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
We need to preserve the environment when running as sudo, if possible (otherwise we need to export TEST_NGINX_BINARY when running the script command itself)

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Reset to default notifications for testing

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Updated README build status image for pintsized/ledge [ci skip]
Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
Merge pull request #48 from benagricola/travis-config

Travis config
Support for multiple header fields of the same name - fixes #49
Merge pull request #50 from hamishforbes/multiheader

Support for multiple header fields of the same name - fixes #49
Dont need to explicitly set the sub-request body
Add test for proxying request body
Merge pull request #51 from hamishforbes/master

Dont need to explicitly set the sub-request body