René's URL Explorer Experiment


Title: fix(middleware/proxy): append RealIP to X-Forwarded-For for WebSocket requests by kawaway · Pull Request #2994 · labstack/echo · GitHub

Open Graph Title: fix(middleware/proxy): append RealIP to X-Forwarded-For for WebSocket requests by kawaway · Pull Request #2994 · labstack/echo

X Title: fix(middleware/proxy): append RealIP to X-Forwarded-For for WebSocket requests by kawaway · Pull Request #2994 · labstack/echo

Description: High performance, minimalist Go web framework. Contribute to labstack/echo development by creating an account on GitHub.

Open Graph Description: Description This PR fixes #2993 The proxy middleware's WebSocket path currently sets X-Forwarded-For only when the header is empty, dropping the proxy's own peer IP from the chain whenever ...

X Description: Description This PR fixes #2993 The proxy middleware's WebSocket path currently sets X-Forwarded-For only when the header is empty, dropping the proxy's own peer IP from the chain w...

Opengraph URL: https://github.com/labstack/echo/pull/2994

X: @github

direct link

Domain: github.com

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:f023ffde-2b54-2751-a4f3-6bd293afc47e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id81C2:D68F0:55161E:7327EB:6A62D769
html-safe-nonce797a544c153c38dd813fb3ce9395c0f5921bc1879a11517b15c4c225fee4e80c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUMyOkQ2OEYwOjU1MTYxRTo3MzI3RUI6NkE2MkQ3NjkiLCJ2aXNpdG9yX2lkIjoiNjIyMDAyODI0NzUyMTAyMzg0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb5b92af592a7d5f8cf16e8c16835095588df1c9ec58ed3e15d85b34af4d4f95b
hovercard-subject-tagpull_request:3814356522
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/labstack/echo/2994/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fcc79cec986e7c7a74639d0f8b976609f840f56c8e0643d7fdbba0d5a36f982a/labstack/echo/pull/2994
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fcc79cec986e7c7a74639d0f8b976609f840f56c8e0643d7fdbba0d5a36f982a/labstack/echo/pull/2994
og:image:altDescription This PR fixes #2993 The proxy middleware's WebSocket path currently sets X-Forwarded-For only when the header is empty, dropping the proxy's own peer IP from the chain whenever ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekawaway
hostnamegithub.com
expected-hostnamegithub.com
Nonedf33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd
turbo-cache-controlno-cache
go-importgithub.com/labstack/echo git https://github.com/labstack/echo.git
octolytics-dimension-user_id2624634
octolytics-dimension-user_loginlabstack
octolytics-dimension-repository_id31504491
octolytics-dimension-repository_nwolabstack/echo
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31504491
octolytics-dimension-repository_network_root_nwolabstack/echo
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
released41cd1bdb290013455c0ac430fa755621733f5eb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/labstack/echo/pull/2994#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flabstack%2Fecho%2Fpull%2F2994
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flabstack%2Fecho%2Fpull%2F2994
Sign up https://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=labstack%2Fecho
Reloadhttps://github.com/labstack/echo/pull/2994
Reloadhttps://github.com/labstack/echo/pull/2994
Reloadhttps://github.com/labstack/echo/pull/2994
Please reload this pagehttps://github.com/labstack/echo/pull/2994
labstack https://github.com/labstack
echohttps://github.com/labstack/echo
Please reload this pagehttps://github.com/labstack/echo/pull/2994
Notifications https://github.com/login?return_to=%2Flabstack%2Fecho
Fork 2.3k https://github.com/login?return_to=%2Flabstack%2Fecho
Star 32.6k https://github.com/login?return_to=%2Flabstack%2Fecho
Code https://github.com/labstack/echo
Issues 8 https://github.com/labstack/echo/issues
Pull requests 21 https://github.com/labstack/echo/pulls
Discussions https://github.com/labstack/echo/discussions
Actions https://github.com/labstack/echo/actions
Projects https://github.com/labstack/echo/projects
Wiki https://github.com/labstack/echo/wiki
Security and quality 2 https://github.com/labstack/echo/security
Insights https://github.com/labstack/echo/pulse
Code https://github.com/labstack/echo
Issues https://github.com/labstack/echo/issues
Pull requests https://github.com/labstack/echo/pulls
Discussions https://github.com/labstack/echo/discussions
Actions https://github.com/labstack/echo/actions
Projects https://github.com/labstack/echo/projects
Wiki https://github.com/labstack/echo/wiki
Security and quality https://github.com/labstack/echo/security
Insights https://github.com/labstack/echo/pulse
aldashttps://github.com/aldas
labstack:masterhttps://github.com/labstack/echo/tree/master
kawaway:masterhttps://github.com/kawaway/echo/tree/master
Conversationhttps://github.com/labstack/echo/pull/2994
Commits2 (2)https://github.com/labstack/echo/pull/2994/commits
Checkshttps://github.com/labstack/echo/pull/2994/checks
Files changedhttps://github.com/labstack/echo/pull/2994/files
fix(middleware/proxy): append RealIP to X-Forwarded-For for WebSocket requestshttps://github.com/labstack/echo/pull/2994#top
aldashttps://github.com/aldas
labstack:masterhttps://github.com/labstack/echo/tree/master
kawaway:masterhttps://github.com/kawaway/echo/tree/master
https://github.com/kawaway
kawawayhttps://github.com/kawaway
Jun 6, 2026https://github.com/labstack/echo/pull/2994#issue-4601852346
#2993https://github.com/labstack/echo/issues/2993
reverseproxy.go#L519-L531https://github.com/golang/go/blob/go1.26.3/src/net/http/httputil/reverseproxy.go#L519-L531
(*ProxyRequest).SetXForwardedhttps://github.com/golang/go/blob/go1.26.3/src/net/http/httputil/reverseproxy.go#L82-L96
Please reload this pagehttps://github.com/labstack/echo/pull/2994
https://github.com/kawaway
https://github.com/labstack/echo/pull/2994/commits/24bf2df1640aaaccfd26c0da006a26b52b728e0d
24bf2dfhttps://github.com/labstack/echo/pull/2994/commits/24bf2df1640aaaccfd26c0da006a26b52b728e0d
https://github.com/golang/go/blob/go1.26.3/src/net/http/httputil/reverseproxy.go#L519-L531https://github.com/golang/go/blob/go1.26.3/src/net/http/httputil/reverseproxy.go#L519-L531
https://github.com/golang/go/blob/go1.26.3/src/net/http/httputil/reverseproxy.go#L82-L96https://github.com/golang/go/blob/go1.26.3/src/net/http/httputil/reverseproxy.go#L82-L96
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Jun 6, 2026https://github.com/labstack/echo/pull/2994#issuecomment-4637534303
Please reload this pagehttps://github.com/labstack/echo/pull/2994
Codecovhttps://app.codecov.io/gh/labstack/echo/pull/2994?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labstack
01b45behttps://app.codecov.io/gh/labstack/echo/commit/01b45be8d112267ee2b94c86e2c57f02d1c4219e?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labstack
a811a1ehttps://app.codecov.io/gh/labstack/echo/commit/a811a1eb94d5f19f42b36ff90d7a8766a1e35d61?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labstack
☔ View full report in Codecov by Harnesshttps://app.codecov.io/gh/labstack/echo/pull/2994?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labstack
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labstack
Test Analyticshttps://docs.codecov.com/docs/test-analytics
Please reload this pagehttps://github.com/labstack/echo/pull/2994
https://github.com/aldas
aldashttps://github.com/aldas
Jun 6, 2026 https://github.com/labstack/echo/pull/2994#pullrequestreview-4441879567
View reviewed changes https://github.com/labstack/echo/pull/2994/files/24bf2df1640aaaccfd26c0da006a26b52b728e0d
aldashttps://github.com/aldas
https://github.com/labstack/echo/pull/2994#pullrequestreview-4441879567
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/labstack/echo/pull/2994
https://github.com/kawaway
Set up upstream per testhttps://github.com/labstack/echo/pull/2994/commits/a811a1eb94d5f19f42b36ff90d7a8766a1e35d61
a811a1ehttps://github.com/labstack/echo/pull/2994/commits/a811a1eb94d5f19f42b36ff90d7a8766a1e35d61
https://github.com/kawaway
kawawayhttps://github.com/kawaway
aldashttps://github.com/aldas
June 6, 2026 10:30https://github.com/labstack/echo/pull/2994#event-26418212522
https://github.com/kawaway
kawawayhttps://github.com/kawaway
Jun 6, 2026https://github.com/labstack/echo/pull/2994#issuecomment-4638256545
@aldashttps://github.com/aldas
a811a1ehttps://github.com/labstack/echo/commit/a811a1eb94d5f19f42b36ff90d7a8766a1e35d61
Please reload this pagehttps://github.com/labstack/echo/pull/2994
https://github.com/aldas
aldashttps://github.com/aldas
Jun 8, 2026 https://github.com/labstack/echo/pull/2994#pullrequestreview-4453180518
View reviewed changes https://github.com/labstack/echo/pull/2994/files/a811a1eb94d5f19f42b36ff90d7a8766a1e35d61
aldashttps://github.com/aldas
https://github.com/labstack/echo/pull/2994#pullrequestreview-4453180518
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/labstack/echo/pull/2994
https://github.com/aldas
aldashttps://github.com/aldas
6a390cbhttps://github.com/labstack/echo/commit/6a390cb5a791c12993140e00e66090e67511b9a0
Jun 8, 2026https://github.com/labstack/echo/pull/2994#event-26490924421
Please reload this pagehttps://github.com/labstack/echo/pull/2994
https://github.co/hiddenchars
https://github.com/labstack/echo/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%2Flabstack%2Fecho%2Fpull%2F2994
https://github.com/aldas
aldas https://github.com/aldas
https://github.com/labstack/echo/pull/2994/files/a811a1eb94d5f19f42b36ff90d7a8766a1e35d61
proxy middleware drops upstream X-Forwarded-For chain on WebSocket Upgrade requests https://github.com/labstack/echo/issues/2993
Please reload this pagehttps://github.com/labstack/echo/pull/2994
https://github.com/kawaway
https://github.com/aldas
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

Viewport: width=device-width


URLs of crawlers that visited me.