René's URL Explorer Experiment


Title: refactor: add `ErrMessageTooBig` sentinel error for limited reads by DanielleMaywood · Pull Request #535 · coder/websocket · GitHub

Open Graph Title: refactor: add `ErrMessageTooBig` sentinel error for limited reads by DanielleMaywood · Pull Request #535 · coder/websocket

X Title: refactor: add `ErrMessageTooBig` sentinel error for limited reads by DanielleMaywood · Pull Request #535 · coder/websocket

Description: Minimal and idiomatic WebSocket library for Go. Contribute to coder/websocket development by creating an account on GitHub.

Open Graph Description: This change allows detecting when a message exceeds the maximum allowed size during reads via errors.Is(err, ErrMessageTooBig). Previously, this condition required string matching against the error...

X Description: This change allows detecting when a message exceeds the maximum allowed size during reads via errors.Is(err, ErrMessageTooBig). Previously, this condition required string matching against the error...

Opengraph URL: https://github.com/coder/websocket/pull/535

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:48fcfdc7-d81a-c423-d95a-c1dc1a12c61b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id988A:BACBA:1A668B0:24A63FE:6B04443D
html-safe-nonce980b9b63ce1a53abc88db4a0f73f9ab623d3c8ba6cfd233539dff613e5ef0ec1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODhBOkJBQ0JBOjFBNjY4QjA6MjRBNjNGRTo2QjA0NDQzRCIsInZpc2l0b3JfaWQiOiI1OTgzNTA5NjU5ODc1ODIwNjA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc053c5d55609f92a4f963d8f49487d814a65df9c416604b0a9cd50ba6fb904bc
hovercard-subject-tagpull_request:2748657170
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/websocket/535/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ec0a7ae71d66f215c2f4df2083107a68998f36ba2365aa9d22e6fb777e250ba7/coder/websocket/pull/535
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ec0a7ae71d66f215c2f4df2083107a68998f36ba2365aa9d22e6fb777e250ba7/coder/websocket/pull/535
og:image:altThis change allows detecting when a message exceeds the maximum allowed size during reads via errors.Is(err, ErrMessageTooBig). Previously, this condition required string matching against the error...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDanielleMaywood
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
turbo-cache-controlno-cache
go-importgithub.com/coder/websocket git https://github.com/coder/websocket.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id144590177
octolytics-dimension-repository_nwocoder/websocket
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id144590177
octolytics-dimension-repository_network_root_nwocoder/websocket
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
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/websocket/pull/535#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fwebsocket%2Fpull%2F535
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fwebsocket%2Fpull%2F535
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fwebsocket
Reloadhttps://github.com/coder/websocket/pull/535
Reloadhttps://github.com/coder/websocket/pull/535
Reloadhttps://github.com/coder/websocket/pull/535
coderhttps://github.com/coder
websockethttps://github.com/coder/websocket
Codehttps://github.com/coder/websocket
Issues59 (59)https://github.com/coder/websocket/issues
Pull requests27 (27)https://github.com/coder/websocket/pulls
Actionshttps://github.com/coder/websocket/actions
Security and qualityhttps://github.com/coder/websocket/security
Insightshttps://github.com/coder/websocket/insights
https://github.com/coder/websocket
DanielleMaywoodhttps://github.com/DanielleMaywood
masterhttps://github.com/coder/websocket/tree/master
danielle/type-error-returnhttps://github.com/coder/websocket/tree/danielle/type-error-return
Conversationhttps://github.com/coder/websocket/pull/535
Commits3 (3)https://github.com/coder/websocket/pull/535/commits
Checkshttps://github.com/coder/websocket/pull/535/checks
Files changedhttps://github.com/coder/websocket/pull/535/files
refactor: add ErrMessageTooBig sentinel error for limited readshttps://github.com/coder/websocket/pull/535#top
DanielleMaywoodhttps://github.com/DanielleMaywood
masterhttps://github.com/coder/websocket/tree/master
danielle/type-error-returnhttps://github.com/coder/websocket/tree/danielle/type-error-return
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
Aug 15, 2025https://github.com/coder/websocket/pull/535#issue-3325122281
Please reload this pagehttps://github.com/coder/websocket/pull/535
Please reload this pagehttps://github.com/coder/websocket/pull/535
https://github.com/DanielleMaywood
refactor: replace fmt.Errorf with MessageTooBigErrorhttps://github.com/coder/websocket/pull/535/commits/e96e02a00642fcc64ac10b2aa0eb8c7174bddff1
e96e02ahttps://github.com/coder/websocket/pull/535/commits/e96e02a00642fcc64ac10b2aa0eb8c7174bddff1
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
August 15, 2025 12:07https://github.com/coder/websocket/pull/535#event-19175282926
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
johnstcnhttps://github.com/johnstcn
mafredrihttps://github.com/mafredri
August 15, 2025 12:07https://github.com/coder/websocket/pull/535#event-19175284364
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Aug 15, 2025 https://github.com/coder/websocket/pull/535#pullrequestreview-3123710791
View reviewed changes https://github.com/coder/websocket/pull/535/files/e96e02a00642fcc64ac10b2aa0eb8c7174bddff1
johnstcnhttps://github.com/johnstcn
https://github.com/coder/websocket/pull/535#pullrequestreview-3123710791
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@mafredrihttps://github.com/mafredri
Please reload this pagehttps://github.com/coder/websocket/pull/535
read.gohttps://github.com/coder/websocket/pull/535/files/e96e02a00642fcc64ac10b2aa0eb8c7174bddff1#diff-2afeb2e02182ad5bb61e988b290013cdc0e5dd12981568a89dec415caafab361
Please reload this pagehttps://github.com/coder/websocket/pull/535
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
DanielleMaywoodhttps://github.com/DanielleMaywood
Aug 15, 2025https://github.com/coder/websocket/pull/535#event-19175308136
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Aug 15, 2025 https://github.com/coder/websocket/pull/535#pullrequestreview-3123789712
View reviewed changes https://github.com/coder/websocket/pull/535/files/e96e02a00642fcc64ac10b2aa0eb8c7174bddff1
mafredrihttps://github.com/mafredri
https://github.com/coder/websocket/pull/535#pullrequestreview-3123789712
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/websocket/pull/535
read.gohttps://github.com/coder/websocket/pull/535/files/e96e02a00642fcc64ac10b2aa0eb8c7174bddff1#diff-2afeb2e02182ad5bb61e988b290013cdc0e5dd12981568a89dec415caafab361
Please reload this pagehttps://github.com/coder/websocket/pull/535
read.gohttps://github.com/coder/websocket/pull/535/files/e96e02a00642fcc64ac10b2aa0eb8c7174bddff1#diff-2afeb2e02182ad5bb61e988b290013cdc0e5dd12981568a89dec415caafab361
Please reload this pagehttps://github.com/coder/websocket/pull/535
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
Aug 15, 2025https://github.com/coder/websocket/pull/535#issuecomment-3191501777
https://github.com/coder/coder/blob/205eb29e60cc3b3519b4ff0247d191b0c87e4d75/codersdk/wsjson/decoder.go#L39-L41https://github.com/coder/coder/blob/205eb29e60cc3b3519b4ff0247d191b0c87e4d75/codersdk/wsjson/decoder.go#L39-L41
Please reload this pagehttps://github.com/coder/websocket/pull/535
https://github.com/DanielleMaywood
refactor: replace MessageTooBigError with ErrMessageTooBighttps://github.com/coder/websocket/pull/535/commits/c44f12f2ac7c6363176eef98f1c96fbb572bf9b7
c44f12fhttps://github.com/coder/websocket/pull/535/commits/c44f12f2ac7c6363176eef98f1c96fbb572bf9b7
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 1, 2025https://github.com/coder/websocket/pull/535#event-19443298328
https://github.com/mafredri
add backwards compatibility and testhttps://github.com/coder/websocket/pull/535/commits/bc076072c77beb587989b17f24ed3aeb13a35b6d
bc07607https://github.com/coder/websocket/pull/535/commits/bc076072c77beb587989b17f24ed3aeb13a35b6d
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 4, 2025https://github.com/coder/websocket/pull/535#event-19503648821
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Sep 5, 2025 https://github.com/coder/websocket/pull/535#pullrequestreview-3188429037
View reviewed changes https://github.com/coder/websocket/pull/535/files/bc076072c77beb587989b17f24ed3aeb13a35b6d
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
7d7c644https://github.com/coder/websocket/commit/7d7c644330e727379c3e33fddc154ac208b925f3
Sep 5, 2025https://github.com/coder/websocket/pull/535#event-19524157274
https://github.com/mafredri
mafredrihttps://github.com/mafredri
September 5, 2025 08:21https://github.com/coder/websocket/pull/535#event-19524241388
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 23, 2026 https://github.com/coder/websocket/pull/535#ref-pullrequest-4727770295
fix(loki-stream): reconnect when websocket is unexpectedly closed traPtitech/NeoShowcase#1287 https://github.com/traPtitech/NeoShowcase/pull/1287
https://github.co/hiddenchars
https://github.com/coder/websocket/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fwebsocket%2Fpull%2F535
https://github.com/mafredri
mafredri https://github.com/mafredri
https://github.com/coder/websocket/pull/535/files/bc076072c77beb587989b17f24ed3aeb13a35b6d
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
https://github.com/coder/websocket/pull/535/files/e96e02a00642fcc64ac10b2aa0eb8c7174bddff1
Please reload this pagehttps://github.com/coder/websocket/pull/535
https://github.com/mafredri
mafredri https://github.com/mafredri
https://github.com/DanielleMaywood
DanielleMaywood https://github.com/DanielleMaywood
Please reload this pagehttps://github.com/coder/websocket/pull/535
https://github.com/DanielleMaywood
https://github.com/mafredri
https://github.com/johnstcn
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-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.