Skip to content

Blockhound flags a blocking call when WebFlux serves a static resource #26631

@JanVdloock

Description

@JanVdloock

Using Spring Boot WebFlux 2.4.3, there are blocking calls, detected by BlockHound when properties are loaded during the call.
Program was run with JDK 11 on Windows 10.

A simple program is attached. It contains a few static images, but when a unexisting image is requested, BlockHound detects a blocking call when the framework reads a properties file, to find the configuration for the error handling.

See the test class in the attached program.

spring-reactor-webflux-blockhound properties.zip

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions