karthik-119 opened a new pull request, #432: URL: https://github.com/apache/httpcomponents-core/pull/432
When creating IO Dispatchers, there is possibility that an exception(fatal) can occur due to which dispatchers/worker threads creation fail and requests in queue aren't processed forever. See for example: https://issues.apache.org/jira/browse/HTTPCORE-758 With these changes, if there are any exceptions while creating IO dispatchers, shutdown() will be called and all the components down the line are shutdown and cancel() will be called for future callbacks references, thus the caller won't wait indefinitely for the response from Apache Http client. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
