优化http出错抛出更详细的错误信息 (#1900)

* 优化http出错抛出更详细的错误信息

* 优化http err_info写法
This commit is contained in:
华仔
2024-04-10 13:40:41 +08:00
committed by GitHub
parent 1d47bfa0b6
commit 22df64244a
4 changed files with 42 additions and 8 deletions

View File

@@ -2,8 +2,12 @@ local skynet = require "skynet"
local socket = require "http.sockethelper"
local internal = require "http.internal"
local dns = require "skynet.dns"
local string = string
local table = table
local pcall = pcall
local error = error
local pairs = pairs
local httpc = {}