Kaynağa Gözat

add:切换新的http

Dozingfiretruck 3 yıl önce
ebeveyn
işleme
1c2e3051b1
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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")