Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was ful

オープン
#67 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp, flask
領域
networking

調査の方向性

レポートでは、エントリポイントとして http::Request::send が、Flask の /gg エンドポイントが示されています。まず、示されている30秒のタイムアウトで GET リクエストを繰り返し再現し、リクエストのライフサイクルを調査してください。ソケットバッファまたはキューの枯渇の原因が特定され、検証済みの修正または明確な maintainer 向けガイダンスが記録されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Im using this header to send a request to my flask (python) hosted webserver, but after alot of requests, i got this error in my flask console:
An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
which is can be solve immediately after i close my c++ program that requesting to the flask server and doesnt need to restart my webserver, which is lead to assumption its a error from my c++ program. The server and the c++ program are run on the same
server,same machine.

my code in c++ are simple just this

try {
		http::Request request{ "http://xxx.xxx.xxx.xxx:5000/gg" };
		// send a get request
		const auto response =
			request.send("GET", "", {}, std::chrono::milliseconds{ 30000 });
		result = string{ response.body.begin(), response.body.end() };
		

	}
	catch (const exception& e) {
		cout << "Request failed, error: " << e.what() << '\n';
	}
	```

I have read [this solution](https://stackoverflow.com/questions/17167977/httpwebrequest-issue-system-lacked-sufficient-buffer-space-or-because-a-queue-w), which it said should be enable keep alive, im not sure what is the correct solution and how to solve this issue.
主要言語
C++
スター
971
フォーク
200
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

elnormous/HTTPRequest のほかの issue

elnormous/HTTPRequest の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。