Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

chore: InfluxDBClient.close should also close udp socket#906

Open
yabberyabber wants to merge1 commit intoinfluxdata:master
base:master
Choose a base branch
Loading
fromyabberyabber:master

Conversation

@yabberyabber
Copy link

Currently, InfluxDBClient.close only works for http connections.
The function explicitly skips closing the udp_socket member. UDP
connections may not cost the system anything but leaving any
sort of socket open can cause certain dynamic analysis tools to
complain.

With this patch we explicitly close the socket which quiets our
linter's warnings.


Contributor checklist
  • Builds are passing
  • New tests have been added (for feature additions)

Currently, InfluxDBClient.close only works for http connections.The function explicitly skips closing the udp_socket member. UDPconnections may not cost the system anything but leaving anysort of socket open can cause certain dynamic analysis tools tocomplain.With this patch we explicitly close the socket which quiets ourlinter's warnings.
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@aviauaviauAwaiting requested review from aviauaviau is a code owner

@xginn8xginn8Awaiting requested review from xginn8xginn8 is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@yabberyabber

[8]ページ先頭

©2009-2025 Movatter.jp