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

Adds reverse proxy middleware for proxying and load balancing #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

samueleaton
Copy link
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

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
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