René's URL Explorer Experiment


Title: leak udp port as not catch InternalError when "selector.wakeup();" · Issue #318 · dnsjava/dnsjava · GitHub

Open Graph Title: leak udp port as not catch InternalError when "selector.wakeup();" · Issue #318 · dnsjava/dnsjava

X Title: leak udp port as not catch InternalError when "selector.wakeup();" · Issue #318 · dnsjava/dnsjava

Description: in NioUdpClient.sendrecv method, when IOException happened,channel will be closed,so the os can reuse the udp port. but, when execute "selector.wakeup();" , it may throw a InternalError which is a Throwable Error, not a IOException. thus...

Open Graph Description: in NioUdpClient.sendrecv method, when IOException happened,channel will be closed,so the os can reuse the udp port. but, when execute "selector.wakeup();" , it may throw a InternalError which is a ...

X Description: in NioUdpClient.sendrecv method, when IOException happened,channel will be closed,so the os can reuse the udp port. but, when execute "selector.wakeup();" , it may throw a InternalError w...

Opengraph URL: https://github.com/dnsjava/dnsjava/issues/318

X: @github

direct link

Domain: redirect.github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"leak udp port as not catch InternalError when \"selector.wakeup();\" ","articleBody":"in NioUdpClient.sendrecv method, when IOException happened,channel will be closed,so the os can reuse the udp port.\r\nbut, when execute \"selector.wakeup();\" , it may throw a InternalError which is a Throwable Error, not a IOException.\r\nthus the channel will not be closed any more, it will occupy the udp port forever, when times on, there will no port can be used.\r\n\r\nbelow is the code:\r\n\r\nstatic CompletableFuture\u003cbyte[]> sendrecv(\r\n    // some other code here\r\n    try {\r\n      final Selector selector = selector();\r\n      channel = DatagramChannel.open();\r\n      channel.configureBlocking(false);\r\n       \r\n      // some other code here\r\n\r\n      channel.connect(remote);\r\n      pendingTransactions.add(t);\r\n      registrationQueue.add(t);\r\n      selector.wakeup();\r\n    } catch (IOException e) {\r\n      if (channel != null) {\r\n        try {\r\n          channel.close();\r\n        } catch (IOException ioe) {\r\n          // ignore\r\n        }\r\n      }\r\n      f.completeExceptionally(e);\r\n    }\r\n\r\n    return f;\r\n  }\r\n\r\n","author":{"url":"https://github.com/goodjin","@type":"Person","name":"goodjin"},"datePublished":"2024-03-29T08:08:17Z","url":"https://github.com/dnsjava/dnsjava/issues/318"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:126331bf-18f3-86e2-9302-668a8e0ae979
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD192:1476E9:344193:479696:6B060158
html-safe-nonce898623df2d7893a1ef6702fe6cbecf9c469ebc237c40ac2c311df1b4d5ae1b02
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTkyOjE0NzZFOTozNDQxOTM6NDc5Njk2OjZCMDYwMTU4IiwidmlzaXRvcl9pZCI6IjQ3OTU2NDQ1NTkwNDY4NjkzMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3bbd35c42afc128e27fc5697217248efd93bf6543cd9d274e16bae0c61068036
hovercard-subject-tagissue:2214892278
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/dnsjava/dnsjava/318/issue_layout
twitter:imagehttps://opengraph.githubassets.com/40e65e036f47df1190b8d30db4b2753ae9d5f0cc06059f5c438a9a2272ccc30d/dnsjava/dnsjava/issues/318
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/40e65e036f47df1190b8d30db4b2753ae9d5f0cc06059f5c438a9a2272ccc30d/dnsjava/dnsjava/issues/318
og:image:altin NioUdpClient.sendrecv method, when IOException happened,channel will be closed,so the os can reuse the udp port. but, when execute "selector.wakeup();" , it may throw a InternalError which is a ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegoodjin
hostnamegithub.com
expected-hostnamegithub.com
Nonec214754a6652274794ed4e054a7b71be999d69843f103ba54893001d45010ece
turbo-cache-controlno-preview
go-importgithub.com/dnsjava/dnsjava git https://github.com/dnsjava/dnsjava.git
octolytics-dimension-user_id6755615
octolytics-dimension-user_logindnsjava
octolytics-dimension-repository_id17084567
octolytics-dimension-repository_nwodnsjava/dnsjava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17084567
octolytics-dimension-repository_network_root_nwodnsjava/dnsjava
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7d164a4e71eb333b2b17fd5b17e18efb7855505c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://redirect.github.com/dnsjava/dnsjava/issues/318#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fissues%2F318
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fissues%2F318
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=dnsjava%2Fdnsjava
Reloadhttps://redirect.github.com/dnsjava/dnsjava/issues/318
Reloadhttps://redirect.github.com/dnsjava/dnsjava/issues/318
Reloadhttps://redirect.github.com/dnsjava/dnsjava/issues/318
dnsjavahttps://redirect.github.com/dnsjava
dnsjavahttps://redirect.github.com/dnsjava/dnsjava
Codehttps://redirect.github.com/dnsjava/dnsjava
Issues16 (16)https://redirect.github.com/dnsjava/dnsjava/issues
Pull requests3 (3)https://redirect.github.com/dnsjava/dnsjava/pulls
Actionshttps://redirect.github.com/dnsjava/dnsjava/actions
Security and quality8 (8)https://redirect.github.com/dnsjava/dnsjava/security
Insightshttps://redirect.github.com/dnsjava/dnsjava/insights
https://redirect.github.com/dnsjava/dnsjava
New issuehttps://redirect.github.com/login?return_to=https://github.com/dnsjava/dnsjava/issues/318
New issuehttps://redirect.github.com/login?return_to=https://github.com/dnsjava/dnsjava/issues/318
leak udp port as not catch InternalError when "selector.wakeup();" https://redirect.github.com/dnsjava/dnsjava/issues/318#top
https://redirect.github.com/ibauersachs
v3.6https://github.com/dnsjava/dnsjava/milestone/14
https://github.com/goodjin
goodjinhttps://github.com/goodjin
on Mar 29, 2024https://github.com/dnsjava/dnsjava/issues/318#issue-2214892278
ibauersachshttps://redirect.github.com/ibauersachs
completedhttps://redirect.github.com/dnsjava/dnsjava/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
04186e4https://github.com/dnsjava/dnsjava/commit/04186e441a0b93e75c7d54ed291b742eeaa3b7b7
on Apr 7, 2024https://github.com/dnsjava/dnsjava/issues/318#event-12384188660
ibauersachshttps://redirect.github.com/ibauersachs
v3.6https://github.com/dnsjava/dnsjava/milestone/14
on Apr 7, 2024https://github.com/dnsjava/dnsjava/issues/318#event-12384195734
ibauersachshttps://redirect.github.com/ibauersachs
on Apr 7, 2024https://github.com/dnsjava/dnsjava/issues/318#event-12384195753
spweihttps://redirect.github.com/spwei
on Jul 30, 2024https://github.com/dnsjava/dnsjava/issues/318#event-13688653543
Handle selector errors to close UDP socketshttps://github.com/spwei/dnsjava/commit/04186e441a0b93e75c7d54ed291b742eeaa3b7b7
https://docs.github.com/articles/closing-issues-via-commit-messages
04186e4https://github.com/spwei/dnsjava/commit/04186e441a0b93e75c7d54ed291b742eeaa3b7b7
Sign up for freehttps://redirect.github.com/signup?return_to=https://github.com/dnsjava/dnsjava/issues/318
Sign in to commenthttps://redirect.github.com/login?return_to=https://github.com/dnsjava/dnsjava/issues/318
ibauersachshttps://redirect.github.com/ibauersachs
v3.6https://github.com/dnsjava/dnsjava/milestone/14
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.