SumoLogic / sumologic-java-http-core

Core Java components for sending data to Sumo Logic HTTP sources
Apache License 2.0
2 stars 4 forks source link

Infinite http retries for invalid URL #1

Closed rvmiller89 closed 5 years ago

rvmiller89 commented 5 years ago

If the URL provided is invalid, SumoHttpSender will infinitely retry sending the buffer's contents -- but this can be a problem if the library is used in a logging appender framework and the property to flush the buffer contents at shutdown is true, e.g. https://github.com/SumoLogic/sumologic-logback-appender

rvmiller89 commented 5 years ago

Fixed in https://github.com/SumoLogic/sumologic-java-http-core/pull/2