Skip to content

req.is_connection_closed() in high concurrency test leads to Segmentation fault #2130

@WatsonYang1999

Description

@WatsonYang1999

Hi, I am using httplib v0.18.7 to implement a customized threadpool that can check if requests' connections are closed (using Request.is_connection_closed.
When using jmeter to test my server, the program crashed in is_socket_alive.
Following is the gdb stack.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions