Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use AsynchronousFileChannel + DataBufferUtils in WebFlux resource resolver/transformer chain [SPR-15773] #20328

Closed
spring-issuemaster opened this issue Jul 14, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Jul 14, 2017

Rossen Stoyanchev opened SPR-15773 and commented

Several classes in the the WebFlux static resource handling read directly from the InputStream for static resources -- CssLinkResourceTransformer, AppCacheManifestTransformer, and ContentVersionStrategy. Those need to change to open an AsynchronousFileChannel and pass that to DataBufferUtils#read just like ResourceEncoder and ResourceRegionEncoder do.


Issue Links:

  • #20329 Provide control over thread resources used for file I/O in WebFlux ("is depended on by")

Referenced from: commits 57221ab, b0422d0, d56fedc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.