Changes since 23.3.7
Fixes
-
Form a correct path for the project folder when on Windows (#16611)
Commit · Pull request · Issue -
Prevent deadlock on concurrent push disconnection (#16544)
Commit · Pull request · IssueIf the AtmospherePushConnection.disconnect method is invoked concurrently by multiple threads, a deadlock may happen if the servlet container somehow locks HTTP session, as closing AtmosphereResource may cause accesses to the HTTP session. For example, is a thread (A) is invalidating the HTTP session, thus closing Vaadin UIs and disconnecting push, and another thread (B) is also requesting a push disconnect, then B will be blocked when closing the atmosphere resource by the lock on the session held by A, but A is actually waiting to acquire the lock on AtmospherePushConnection held by B, causing the deadlock. This change allows a single thread to perform the disconnect operation, to avoid potential deadlocks.
-
Use OS path separator in stats plugin
Commit · Pull request · IssueWhen Webpack and Vite generate stats.json file, they use an hard-coded forward slash charachter to split the file identifier in path segments. This produces wrong results when running on Windows, as the identifier contains back slashes. This change uses node 'path.sep' as split chars.