twilio / twilio-java

A Java library for communicating with the Twilio REST API and generating TwiML.
MIT License
484 stars 425 forks source link

fix: set socket config with blocking operation timeout #670

Closed childish-sambino closed 2 years ago

childish-sambino commented 2 years ago

Sets a default socket config with timeout for all connections. Note that this must be applied to the connection manger and not the client builder. The client builder default socket config is only used when not given a connection manager.

Fixes #663

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

95.8% 95.8% Coverage
0.0% 0.0% Duplication