Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Adds reverse proxy middleware for proxying and load balancing#5

Open
samueleaton wants to merge 4 commits intomasterfrom
add-proxy-middleware
Open

Adds reverse proxy middleware for proxying and load balancing#5
samueleaton wants to merge 4 commits intomasterfrom
add-proxy-middleware

Conversation

@samueleaton
Copy link
Copy Markdown
Owner

No description provided.

@samueleaton samueleaton changed the base branch from add-universal-method to master August 28, 2017 15:55
end

def initialize(host : Array(String), path = "", @lchop_proxy_path = "", @ignore_proxy_path = false, @headers = nil, @timeout = nil)
@target_hosts = host
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about checking that array is not empty?

Copy link
Copy Markdown
Owner Author

@samueleaton samueleaton Aug 31, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch. thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants