首页 > 解决方案 > 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);

赛义德。

标签: ccurllibcurl

解决方案


推荐阅读