dotnet / dotnet/aspnetcore

http_client's cancellation callback fires when there are no ongoing requests

Open
#35,517 4 comments 0 reactions 0 assignees View on GitHub
area-signalr feature-client-c++
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

The bug is lifetime management of a caller supplied http_client. The C++ client needs to hold on to a reference to the caller supplied http_client till negotiate request completes and clean up the supplied callback or hold onto the http_client till shutdown, otherwise will end up hitting access violations during shutdown if it relies on caller maintaining the lifetime of the http_client.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.