vert.x icon indicating copy to clipboard operation
vert.x copied to clipboard

Do not lock the handler calls in AsyncFile

Open vietj opened this issue 7 years ago • 1 comments

Currently the AsyncFile implementation calls the file handlers in a synchronized block. This synchronization is only useful for reading the handler and should not be used when calling them.

vietj avatar Oct 14 '19 08:10 vietj

Cool, the commit fixed the issue I observed in Vert.X 3.7.1 when pumping an AsyncFile into HttpServerResponse in another Vertx Context thread ( not the conn's Context thread.). :+1:

BorisJineman avatar Apr 07 '20 04:04 BorisJineman