### Expected behavior DefaultConnectionConfig.setMaxRetries sets the retries, not maxRedirects. ### Actual behavior The opposite :) ### Steps to reproduce the behavior get a DefaultConnectionConfig config.setMaxRetries(100) config.getMaxRetries() // != 100