c - libcurl 丢弃带有此错误的请求 Pipe is full, skip (5)
问题描述
Libcurl 表现良好,但是当我发送大量请求并启用调试时会转储这些错误。我试图在网上找到答案,但没有提到这个错误。
* No connections available in cache
* No connections available.
* Found bundle for host 10.0.0.31: 0x555555d91b50 [can pipeline]
* Pipe is full, skip (5)
* Pipe is full, skip (5)
* Pipe is full, skip (5)
* Pipe is full, skip (5)
* Pipe is full, skip (5)
* Pipe is full, skip (5)
* Pipe is full, skip (5)
* Pipe is full, skip (5)
有没有人遇到过这个问题,可能导致这个问题以及如何解决这个问题。任何帮助将不胜感激。
从我设置 CURLMOPT_PIPELINING 的代码
curl_multi_setopt(g.multi, CURLMOPT_MAX_TOTAL_CONNECTIONS, 512L);
curl_multi_setopt(g.multi, CURLMOPT_PIPELINING, 1L);
赛义德。
解决方案
推荐阅读
- powershell - 变量未在此处的双引号字符串中扩展
- sql - ORA-00903: 从 USER 中选择时表名无效
- multithreading - Go 内存模型发生在之前(具有共享状态的通道)
- javascript - 使用多重过滤器过滤对象数组
- ios - 录入本地通知后无法在特定视图控制器中打开应用程序
- bash - 用于读取 .csv 文件以创建/移动内容的 Bash 脚本
- java - BigQuery 没有获取在 java 中设置的属性
- java - Eclipse Junit 为 getter 和 setter 正确编写测试
- reactjs - 覆盖的渲染方法上缺少道具类型的 ESLint 错误
- mongodb - mongodb如何使用数组中的元素进行嵌套查询