pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/influxdata/influxdb-python/pull/906

-0bd78641c0a1f3e0.css" /> chore: InfluxDBClient.close should also close udp socket by yabberyabber · Pull Request #906 · influxdata/influxdb-python · GitHub
Skip to content
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 merge 1 commit intoinfluxdata:masterfrom
yabberyabber:master
Open

chore: InfluxDBClient.close should also close udp socket#906
yabberyabber wants to merge 1 commit intoinfluxdata:masterfrom
yabberyabber:master

Conversation

@yabberyabber
Copy link
Copy Markdown

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. 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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy