-
-
Notifications
You must be signed in to change notification settings - Fork 718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
发起http请求报错,tbox 1.7.5 报错 #264
Comments
Title: Initiate an http request and report an error, tbox 1.7.5 reports an error |
你那是 read 报错,这个是非阻塞接口 要结合 wait 来用。参考 bread 的实现。。或者直接用 bread |
Your read error is reported, this is a non-blocking interface and should be used in combination with wait. See the implementation of bread. . Or just use bread |
Failed to initialize HTTP.\ 跟read/bread函数没有关系 |
报错: |
你都跑进 read 报错了。。除非你 open 没判断返回,失败后,继续调用 read , 但是跟你一开始贴的代码完全对不上。。凡事贴错误,贴代码 得对上。 Line 972 in 553c324
这里报 read error 是你 open 没判断返回值。。
至于 open 为什么失败,自己调下你们的服务器,看下为什么会无法连接 |
你自己翻下 demo 代码,和实现源码,自己调下。。tbox 我没空维护。 |
You can download the demo code and implementation source code yourself and adjust them yourself. . I don't have time to maintain tbox. |
这一行报错,http.c 972行 tb_assert_and_check_return_val(http->bopened, -1);
这个报错,怎么修改代码?
The text was updated successfully, but these errors were encountered: