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
It seems like there's no way to force the ldf-client instance to close its connection to the server before the latter calls socket.destroy(). This triggers a ECONNRESET error - currently unhandled - that breaks the mocha suite.
Used https://github.com/hunterloftis/stoppable as a workaround. It augments native http.Server instances with a .stop() method that closes all connections, keep-alive ones included, but waits until each becomes idle (no in-flight requests) before doing so. Also see nodejs/node#2642.
It seems like there's no way to force the
ldf-client
instance to close its connection to the server before the latter callssocket.destroy()
. This triggers aECONNRESET
error - currently unhandled - that breaks the mocha suite.Related issue on
ldf-client
's repo: LinkedDataFragments/Client.js#39The text was updated successfully, but these errors were encountered: