You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... but fails in 4.6.3 because PipedInputStream#readSide get bound to a short lived virtual thread and then fails PipedInputStream#checkStateForReceive(), resulting in a truncated stream.
Using @ExecuteOn(IO) does not solve the problem because do not change the (virtual) thread used to read the StreamedFile
Steps To Reproduce
No response
Environment Information
macOs 15.2, Ubuntu 22, Java 21
Example Application
No response
Version
4.6.3
The text was updated successfully, but these errors were encountered:
Expected Behavior
Using StreamedFile with PipedInputStream and PipedOutputStream as suggested in https://docs.micronaut.io/latest/guide/#transfers works fine in 4.5.x
Actual Behaviour
... but fails in 4.6.3 because PipedInputStream#readSide get bound to a short lived virtual thread and then fails PipedInputStream#checkStateForReceive(), resulting in a truncated stream.
Using @ExecuteOn(IO) does not solve the problem because do not change the (virtual) thread used to read the StreamedFile
Steps To Reproduce
No response
Environment Information
macOs 15.2, Ubuntu 22, Java 21
Example Application
No response
Version
4.6.3
The text was updated successfully, but these errors were encountered: