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

Use correct socks5 proxy ibrowse options #3634

Merged
merged 1 commit into from Jun 25, 2021
Merged

Conversation

jaydoane
Copy link
Contributor

Overview

With the move from using a forked ibrowse to upstream [1], the
ibrowse options for socks5 proxy settings all changed to a socks5_
prefix.

[1] #3551

Testing recommendations

make eunit apps=couch_replicator suites=couch_replicator_docs tests=parse_proxy_params_test

Related Issues or Pull Requests

Checklist

  • Code is written and works correctly
  • Changes are covered by tests
  • Any new configurable parameters are documented in rel/overlay/etc/default.ini
  • A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

With the move from using a forked ibrowse to upstream [1], the
ibrowse options for socks5 proxy settings all changed to a `socks5_`
prefix.

[1] #3551
@jaydoane jaydoane marked this pull request as ready for review June 24, 2021 23:55
@jaydoane jaydoane requested a review from nickva June 24, 2021 23:55
Copy link
Contributor

@nickva nickva left a comment

Choose a reason for hiding this comment

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

Good find, @jaydoane!

I totally missed this one when switching to upstream ibrowse

+1

This would apply to main too, but not as a cherry pick, I think. There we parse the endpoint data into a map in https://github.com/apache/couchdb/blob/main/src/couch_replicator/src/couch_replicator_parse.erl#L227 but that also, later gets "reconstituted" into an #httpdb record in https://github.com/apache/couchdb/blob/main/src/couch_replicator/src/couch_replicator_api_wrap.erl#L1020 so we would have to make sure the socks5_* params are handled properly in those cases.

@jaydoane jaydoane merged commit 3675e5e into 3.x Jun 25, 2021
@jaydoane jaydoane deleted the fix-socks5-proxy-support branch June 25, 2021 06:18
nickva added a commit that referenced this pull request Jun 30, 2021
This is a port of the 3.x PR #3634 to main
nickva added a commit that referenced this pull request Jun 30, 2021
This is a port of the 3.x PR #3634 to main
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.

None yet

2 participants