jira-importer opened a new issue, #1048:
URL: https://github.com/apache/httpcomponents-core/issues/1048

   **[Constantine 
Plotnikov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=const)** 
opened 
**[HTTPCORE-525](https://issues.apache.org/jira/browse/HTTPCORE-525?redirect=false)**
 and commented
   
   The method requester.getExceptionLog() returns a list of exceptions that 
happened during execution. This creates potential memory leak.
   
   I think that this method should be removed, and replaced with some 
Consumer\<Exception> or better Consumer\<Throwable>. Or maybe some specialized 
interface. For backward compatibility, some default impelemtation of this 
interace could expose itself via getExceptionLog() method. But I think that 
this is excessive and those who need them as list might plug listener that 
collects them.
   
   Practially no application needs these exceptions as list. Most application 
need just to log these exception and forget about them.
   
   
   ---
   
   **Affects:** 5.0-beta2
   


-- 
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]

Reply via email to