René's URL Explorer Experiment


Title: fix: Sync-flush gzip so flushed stream data reaches the client by thced · Pull Request #134 · extenda/openapi-httpserver-java · GitHub

Open Graph Title: fix: Sync-flush gzip so flushed stream data reaches the client by thced · Pull Request #134 · extenda/openapi-httpserver-java

X Title: fix: Sync-flush gzip so flushed stream data reaches the client by thced · Pull Request #134 · extenda/openapi-httpserver-java

Description: GzipCoding.encode returned a GZIPOutputStream without syncFlush, so flush() only flushed the underlying socket and left everything written so far inside the deflater. A streamed response (e.g. application/x-ndjson) that flushed an event delivered only the 10-byte gzip header to a client sending Accept-Encoding: gzip, until the deflater's buffer filled or the stream closed. Progressive and long-poll streams stalled. Create the GZIPOutputStream with syncFlush so a flush writes everything so far in a decodable form. Whole bodies are coded without a flush, so they pay nothing for it. Document the flush contract on ContentCoding.encode and in the README. Add GzipCodingTest covering flush output and a closed-stream round trip, and a GzipIT test that a flushed event of a gzipped stream reaches the client before the stream ends.

Open Graph Description: GzipCoding.encode returned a GZIPOutputStream without syncFlush, so flush() only flushed the underlying socket and left everything written so far inside the deflater. A streamed response (e.g. appl...

X Description: GzipCoding.encode returned a GZIPOutputStream without syncFlush, so flush() only flushed the underlying socket and left everything written so far inside the deflater. A streamed response (e.g. appl...

Opengraph URL: https://github.com/extenda/openapi-httpserver-java/pull/134

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:12e8e0d5-67b1-1e3b-2b53-44367d48a51f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB8B0:173067:3C884F:54837E:6AECFD0F
html-safe-nonce6a29c403268aee24db4784a508178a63353a5143ef571bb21cd0c1c1b4fae8ba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEIwOjE3MzA2NzozQzg4NEY6NTQ4MzdFOjZBRUNGRDBGIiwidmlzaXRvcl9pZCI6IjQ1ODYzMDE1NjUyMDYwNjg0OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace9dd45c093ba09159294ff92727f668006776997554dcd17c1dd0e0422fe04ce
hovercard-subject-tagpull_request:4907436960
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/extenda/openapi-httpserver-java/pull/134/files
twitter:imagehttps://avatars.githubusercontent.com/u/1101587?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1101587?s=400&v=4
og:image:altGzipCoding.encode returned a GZIPOutputStream without syncFlush, so flush() only flushed the underlying socket and left everything written so far inside the deflater. A streamed response (e.g. appl...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None76be9fd7856c8274dcfc751356c6c2dc12374a9696cbae1046752a000b9a5ca9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/extenda/openapi-httpserver-java git https://github.com/extenda/openapi-httpserver-java.git
octolytics-dimension-user_id5753979
octolytics-dimension-user_loginextenda
octolytics-dimension-repository_id882991450
octolytics-dimension-repository_nwoextenda/openapi-httpserver-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id882991450
octolytics-dimension-repository_network_root_nwoextenda/openapi-httpserver-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3ae5cc8182dfd6f403dc93a15ed8017d5ee795b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/extenda/openapi-httpserver-java/pull/134/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fextenda%2Fopenapi-httpserver-java%2Fpull%2F134%2Ffiles
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%2Fextenda%2Fopenapi-httpserver-java%2Fpull%2F134%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=extenda%2Fopenapi-httpserver-java
Reloadhttps://github.com/extenda/openapi-httpserver-java/pull/134/files
Reloadhttps://github.com/extenda/openapi-httpserver-java/pull/134/files
Reloadhttps://github.com/extenda/openapi-httpserver-java/pull/134/files
extendahttps://github.com/extenda
openapi-httpserver-javahttps://github.com/extenda/openapi-httpserver-java
Codehttps://github.com/extenda/openapi-httpserver-java
Issueshttps://github.com/extenda/openapi-httpserver-java/issues
Pull requests2 (2)https://github.com/extenda/openapi-httpserver-java/pulls
Actionshttps://github.com/extenda/openapi-httpserver-java/actions
Security and qualityhttps://github.com/extenda/openapi-httpserver-java/security
Insightshttps://github.com/extenda/openapi-httpserver-java/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fextenda%2Fopenapi-httpserver-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fextenda%2Fopenapi-httpserver-java%2Fissues%2Fnew%2Fchoose
thcedhttps://github.com/thced
masterhttps://github.com/extenda/openapi-httpserver-java/tree/master
fix/gzip-streaming-flushhttps://github.com/extenda/openapi-httpserver-java/tree/fix/gzip-streaming-flush
Conversation 1 https://github.com/extenda/openapi-httpserver-java/pull/134
Commits 1 https://github.com/extenda/openapi-httpserver-java/pull/134/commits
Checks 5 https://github.com/extenda/openapi-httpserver-java/pull/134/checks
Files changed https://github.com/extenda/openapi-httpserver-java/pull/134/files
Please reload this pagehttps://github.com/extenda/openapi-httpserver-java/pull/134/files
fix: Sync-flush gzip so flushed stream data reaches the client https://github.com/extenda/openapi-httpserver-java/pull/134/files#top
Show all changes 1 commit https://github.com/extenda/openapi-httpserver-java/pull/134/files
3548979 fix: Sync-flush gzip so flushed stream data reaches the client claude Oct 17, 2026 https://github.com/extenda/openapi-httpserver-java/pull/134/commits/3548979f3d7da9bf2a20eefc44fb53b8cfc137c8
Clear filters https://github.com/extenda/openapi-httpserver-java/pull/134/files
Please reload this pagehttps://github.com/extenda/openapi-httpserver-java/pull/134/files
Please reload this pagehttps://github.com/extenda/openapi-httpserver-java/pull/134/files
README.md https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
ContentCoding.java https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-5ed9f40492182d87630fa884bae18780570bd314b462699899e81478433143e6
GzipCoding.java https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-65112568b92ea77392ea807743e77cbd6bce078a786e74ee61e85d3ca832d5fd
GzipIT.java https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-f6739f5efb0844223c045fd6feb5c237a3e08e6e10a50b93651772fd10ae77a8
GzipCodingTest.java https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-7fb3098a4d47b8fbc9b8c9614ae24e0ff8a1af36bf6bc68192d075a982a42189
README.mdhttps://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/extenda/openapi-httpserver-java/blob/3548979f3d7da9bf2a20eefc44fb53b8cfc137c8/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/extenda/openapi-httpserver-java/pull/134/{{ revealButtonHref }}
https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
src/main/java/com/retailsvc/http/ContentCoding.javahttps://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-5ed9f40492182d87630fa884bae18780570bd314b462699899e81478433143e6
View file https://github.com/extenda/openapi-httpserver-java/blob/3548979f3d7da9bf2a20eefc44fb53b8cfc137c8/src/main/java/com/retailsvc/http/ContentCoding.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/extenda/openapi-httpserver-java/pull/134/{{ revealButtonHref }}
https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-5ed9f40492182d87630fa884bae18780570bd314b462699899e81478433143e6
src/main/java/com/retailsvc/http/internal/GzipCoding.javahttps://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-65112568b92ea77392ea807743e77cbd6bce078a786e74ee61e85d3ca832d5fd
View file https://github.com/extenda/openapi-httpserver-java/blob/3548979f3d7da9bf2a20eefc44fb53b8cfc137c8/src/main/java/com/retailsvc/http/internal/GzipCoding.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/extenda/openapi-httpserver-java/pull/134/{{ revealButtonHref }}
https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-65112568b92ea77392ea807743e77cbd6bce078a786e74ee61e85d3ca832d5fd
src/test/java/com/retailsvc/http/GzipIT.javahttps://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-f6739f5efb0844223c045fd6feb5c237a3e08e6e10a50b93651772fd10ae77a8
View file https://github.com/extenda/openapi-httpserver-java/blob/3548979f3d7da9bf2a20eefc44fb53b8cfc137c8/src/test/java/com/retailsvc/http/GzipIT.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/extenda/openapi-httpserver-java/pull/134/{{ revealButtonHref }}
https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-f6739f5efb0844223c045fd6feb5c237a3e08e6e10a50b93651772fd10ae77a8
https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-f6739f5efb0844223c045fd6feb5c237a3e08e6e10a50b93651772fd10ae77a8
https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-f6739f5efb0844223c045fd6feb5c237a3e08e6e10a50b93651772fd10ae77a8
https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-f6739f5efb0844223c045fd6feb5c237a3e08e6e10a50b93651772fd10ae77a8
https://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-f6739f5efb0844223c045fd6feb5c237a3e08e6e10a50b93651772fd10ae77a8
src/test/java/com/retailsvc/http/internal/GzipCodingTest.javahttps://github.com/extenda/openapi-httpserver-java/pull/134/files#diff-7fb3098a4d47b8fbc9b8c9614ae24e0ff8a1af36bf6bc68192d075a982a42189
View file https://github.com/extenda/openapi-httpserver-java/blob/3548979f3d7da9bf2a20eefc44fb53b8cfc137c8/src/test/java/com/retailsvc/http/internal/GzipCodingTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/extenda/openapi-httpserver-java/pull/134/{{ revealButtonHref }}
Please reload this pagehttps://github.com/extenda/openapi-httpserver-java/pull/134/files
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.