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

   **[Scott W 
Gifford](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sgifford)**
 opened 
**[HTTPCORE-615](https://issues.apache.org/jira/browse/HTTPCORE-615?redirect=false)**
 and commented
   
   [HTTPCORE-578](https://issues.apache.org/jira/browse/HTTPCORE-578) was 
caused by the brittleness of using Java Object Serialization to store cache 
objects.  Java Object Serialization requires careful understanding of what 
sorts of changes require a new serialization version, with small mistakes 
leading to surprising results; further Java Object Serialization has security 
issues, and will be an optional feature in upcoming Java releases (with 
Jigsaw).  It would be better to have a more stable serialization approach.
   
   Since the Apache client already knows how to communicate with HTTP, one 
simple approach would be to serialize as if we were writing to an HTTP client, 
and deserialize as if we were reading from an HTTP server.
   
   I have developed a serializer that does that, and would like to contribute 
it back to the Apache project.
   
   
   ---
   
   **Issue Links:**
   - [HTTPCORE-578](https://issues.apache.org/jira/browse/HTTPCORE-578) 
Incorrect serialization of HeaderGroup
   
   
   **Remote Links:**
   - [GitHub Pull Request `#192`
   ](https://github.com/apache/httpcomponents-client/pull/192)
   - [GitHub Pull Request `#199`
   ](https://github.com/apache/httpcomponents-client/pull/199)
   


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