We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HTTP
cloud_controller_ng uses multiple HTTP clients:
cloud_controller_ng
Net::HTTP
uaa_client_manager.rb
service_gateway_client.rb
httpclient
cdn.rb
OPI
Routing
UAA
Diego
Credhub
service_brokers
em-http-request
async_requests.rb
The same HTTP client should be used everywhere
connect_timeout
TCPSocket
net-http-persistent
excon
httbrb
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
cloud_controller_ng
uses multiple HTTP clients:Net::HTTP
uaa_client_manager.rb
service_gateway_client.rb
httpclient
cdn.rb
(fog)OPI
Routing
UAA
Diego
Credhub
service_brokers
em-http-request
async_requests.rb
Goal
The same HTTP client should be used everywhere
Requirements
Diego::Client targets active bbs instance with id from locket #3002
Diego client tries all bbs domain IPs #3048
Use Net::HTTP::Persistent in Diego client #3170
Patch HTTPClient to accept socket_connect_timeout #3174
Can be tested locally with https://github.com/johha/dns-failover-test
Some Suitable HTTP Clients
Net::HTTP
: Default Ruby HTTP client which could be sufficient as soon asconnect_timeout
is correctly implemented inTCPSocket
(Revert "Replace Timeout.timeout in Net:HTTP#connect" ruby/net-http#74)net-http-persistent
: ExtendsNet::HTTP
with thread safety and persistent connectionsexcon
httbrb
The text was updated successfully, but these errors were encountered: