Skip to content

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

@bxjg1987

Description

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

这可能会引起死锁

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