发布

  • 17912 8772f3b50f

    Improve ApiConnection request error logging and connection handling (#9604)

    frostbyte_neo 发布于 2026-07-10 14:44:10 +00:00 | 29 次提交 在此版本后已推送到 master

    Request failures now log whether the configured timeout elapsed vs an
    external cancellation, the elapsed time, the full exception cause chain
    with HttpRequestError/SocketErrorCode details and the thread pool state,
    instead of only the top level exception message.

    The HttpClient is now built with a SocketsHttpHandler using a connect
    timeout, so connection establishment failures surface quickly instead of
    consuming the whole request timeout, and a pooled connection lifetime so
    DNS/load balancer changes and stale NAT state are picked up.

    Co-authored-by: Claude Fable 5 noreply@anthropic.com

    下载附件