Skip to content

HttpClient并发请求问题 #10

@Anjon-github

Description

@Anjon-github

使用单个HttpClient ThreadSafeClientConnManager 在多线程中并发请求不同域名,会出现域名错乱的bug;比如A,B两个请求,抓包时发现A请求用的是B的域名,导致404报错。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions