willholley commented on code in PR #5983:
URL: https://github.com/apache/couchdb/pull/5983#discussion_r3188718292
##########
src/couch_replicator/src/couch_replicator_httpc.erl:
##########
@@ -113,6 +114,10 @@ send_ibrowse_req(#httpdb{headers = BaseHeaders} = HttpDb0,
Params) ->
{Headers2, HttpDb} = couch_replicator_auth:update_headers(HttpDb0,
Headers1),
Url = full_url(HttpDb, Params),
Body = get_value(body, Params, []),
+
+ % Apply DNS override using connect_to ibrowse option
+ #url{host = Host, protocol = Protocol} = ibrowse_lib:parse_url(Url),
Review Comment:
I looked into this and it seems like the complexity wasn't really
worthwhile. The persistent term config cache gives a decent speedup.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]