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

   **[Daniel 
Kulp](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dkulp)** 
opened 
**[HTTPCORE-305](https://issues.apache.org/jira/browse/HTTPCORE-305?redirect=false)**
 and commented
   
   While working with hc for use with CXF, I tried using the encoder/decoder on 
a different thread, but ONLY on that different thread since they aren't marked 
threadsafe.  However, I ran into some problems.   The javadoc for 
produceContent and for the encoder/decoder interfaces likely should contain 
something like:
   
   "The encoder should only be used within the context of the call to 
produceContent.   The IOControl object can be retained and used on other 
threads to allow resuming events when appropriate."
   
   to make it clear that the encoder/decoder should not be retained at all, but 
the IONControl object could be.
   
   
   ---
   No further details from 
[HTTPCORE-305](https://issues.apache.org/jira/browse/HTTPCORE-305?redirect=false)


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