Skip to content

[Bug]: 错误码重叠问题 #502

@xxxxmaker

Description

@xxxxmaker

What happened?

TRA_CRYPTO_ERROR_BASE定义为0x100
h3级别的错误码xqc_h3_err_code_t,定义的也为0x1xx大小。
二者都会赋值给conn->err,触发重复错误码,无法区分错误。
ps:有没有考虑h3级别的错误码记录机制重构一下,大部分错误码都没有记录至conn->err,只是作为日志进行了打印。

Steps To Reproduce

代码中搜索即可

Relevant log output

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