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

   
**[Sebb](https://issues.apache.org/jira/secure/[email protected])**
 opened 
**[HTTPCORE-223](https://issues.apache.org/jira/browse/HTTPCORE-223?redirect=false)**
 and commented
   
   Thread-safety / isolation improvements to be considered for version 5.0
   
   ---
   
   AbstractHttpEntity
   has 3 protected fields, however there are public getters/setters for
   all of the fields, so it seems to me that the fields should be
   private. That would allow synch. to be added later if necessary.
   
   HttpEntityWrapper
   - wrappedEntity should be final.
   
   AbstractHttpMessage
   - headerGroup should be final
   - params should be private
   
   BasicHttpProcessor
   requestInterceptors and responseInterceptors should be final
   Should also be private, otherwise subclasses can subvert the non-null 
condition
   
   
   ---
   
   **Attachments:**
   - 
[threadsafety.patch](https://issues.apache.org/jira/secure/attachment/12439524/threadsafety.patch)
 (_2.75 kB_)
   


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