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

Refactor DefaultProxyConfig Skipper & WebSocket Check in Context #1297

Merged
merged 2 commits into from
Mar 2, 2019

Conversation

hemachandarv
Copy link
Contributor

  1. When Skipper Config is not provided for Proxy, currently it is set to DefaultLoggerConfig.Skipper. That has been replaced with DefaultProxyConfig.Skipper instead. Even though both refer to the same, it's better to use the one with the same semantics.

  2. Modified IsWebSocket() to convert the header to lower-case before comparing, rather than checking for multiple cases of the same string.

@vishr Your thoughts?

@vishr vishr merged commit 775b2ee into labstack:master Mar 2, 2019
@vishr
Copy link
Member

vishr commented Mar 2, 2019

@hemachandarv Congrats on your first PR 👍

@hemachandarv
Copy link
Contributor Author

@hemachandarv Congrats on your first PR 👍

@vishr Thanks! Hopefully the start of many more! 💃

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