[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPCLIENT-2070.
-------------------------------------------
    Resolution: Fixed

> BasicAuthCache not to use object serialization
> ----------------------------------------------
>
>                 Key: HTTPCLIENT-2070
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2070
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>            Reporter: Alex Dettinger
>            Priority: Major
>              Labels: volunteers-wanted
>             Fix For: 5.4-alpha2
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Today, BasicAuthCache is using object serialization in [put/get 
> methods|https://github.com/apache/httpcomponents-client/blob/master/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/BasicAuthCache.java#L91..L93].
> However, object serialization is not supported with [quarkus native 
> mode|https://quarkus.io/guides/building-native-image] and folk ends up 
> removing this part.
> Folks ends up removing serialization by [native code 
> override|https://github.com/quarkusio/quarkus/blob/master/extensions/elasticsearch-rest-client/runtime/src/main/java/io/quarkus/elasticsearch/restclient/runtime/graal/Substitute_RestClient.java#L93..L114].
> Would it be possible to have httpclient finding an implementation of put/get 
> not using object serialization ?
> What is the consequence of removing the serialization/deserialization ? 
> Thread safety issue ? persistence issue ?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to