Explorar o código

add:切换新的http

Dozingfiretruck %!s(int64=3) %!d(string=hai) anos
pai
achega
1c2e3051b1
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      xmake.lua

+ 2 - 1
xmake.lua

@@ -420,7 +420,8 @@ if with_luatos then
     
     -- http
     add_includedirs(luatos.."components/network/libhttp",{public = true})
-    add_files(luatos.."components/network/libhttp/luat_lib_http.c")
+    -- add_files(luatos.."components/network/libhttp/luat_lib_http.c")
+    add_files(luatos.."components/network/libhttp/luat_http_client.c")
 
     -- iotauth
     add_files(luatos.."components/iotauth/luat_lib_iotauth.c")