|
Add HTTP timeouts and retry to USPS auth token fetch
Same gap as UPS/FedEx: no connect/socket timeout on the HTTP client, and authorize() let any IOException from the token request propagate uncaught, failing the whole batch on a single transient network blip. Add timeouts and retry with backoff on IOException, while preserving the existing status-code-based error handling (429/503). |
|---|
|
|
| src/main/java/io/ljunggren/usps/api/service/BaseService.java |
|---|
| src/main/java/io/ljunggren/usps/api/service/OauthService.java |
|---|