Skip to content

Windows: if shutdown timeout expires the background thread is not closed properly. #567

Description

@smibe

Description
On Windows WinHttp is used. WinhttpReceiveResponse has a default timeout of about 30 seconds. If we are running into the timoeout but in the meantime the application is closed the background thread is still running and the application hangs.

When does the problem happen
WinhttpReceiveResponse or any other WinHttp function is running into a timeout.

Environment

Windows (all versionns)
MSVC 19
SENTRY_BACKEND=none

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions