We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
好像还是不行,用nc在8080端口跑一个服务不对客户端请求做任何响应(nc -lk 8080),但也不关闭连接,dio就卡在那里了。
nc -lk 8080
import 'package:dio/dio.dart'; void main() async { var url = 'http://127.0.0.1:8080'; print('start'); Dio dio = new Dio(BaseOptions(connectTimeout: 50, receiveTimeout: 50)); dio.head(url).then((response) { print(response); }).catchError((error) { print('$error'); }); }
The text was updated successfully, but these errors were encountered:
59a49e0
fixed in 2.0.21
Sorry, something went wrong.
thx
fix #211
19fd218
No branches or pull requests
好像还是不行,用nc在8080端口跑一个服务不对客户端请求做任何响应(
nc -lk 8080
),但也不关闭连接,dio就卡在那里了。The text was updated successfully, but these errors were encountered: