Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AipServiceBase.SendRequet在使用同步的方式调用异步方法 #27

Open
bxjg1987 opened this issue Jul 24, 2023 · 0 comments
Open

Comments

@bxjg1987
Copy link

protected string SendRequet(AipHttpRequest aipRequest)
        {
            return Utils.StreamToString(SendRequetRaw(aipRequest).ReadAsStreamAsync().Result, aipRequest.ContentEncoding);
        }

这可能会引起死锁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant