Skip to content
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

Close keep-alived connections #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

methane
Copy link

@methane methane commented Oct 19, 2016

fixes #3

Client ごとに Transport を作り直す方式による修正です。
(go fmt の結果無関係な所まで変更が入ってますがご容赦ください)

@methane
Copy link
Author

methane commented Oct 19, 2016

なお、この方式の場合はシナリオごとにコネクションを張り直すので、
ポート枯渇回避のためには tcp_tw_reuse=1 が必要になります。

cocodrips pushed a commit to cocodrips/isucon6-qualify that referenced this pull request Aug 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ベンチマーカーのコネクションリーク
1 participant