Skip to content

XDIDiscoveryClient is not thread-safe #46

@peacekeeper

Description

@peacekeeper

one instance of XDIDIscoveryClient reuses a single XDIHttpClient, which is itself not thread-safe due to the use of the httpURLConnection member and the design of the connect() and disconnect() methods

as a workaround, create a new XDIDIscoveryClient every time it is needed (or at least a separate one per thread)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions