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
The bug is pretty complex to solve :
I have to keep the connection open until all results (the item of the returned sequence) are fetched.
If you fetch all results, I can detect that sequence is at its end, and close the connection ; but if you do not use the result (you do not fetch until end), I can not detect you do not want anymore results, and have to keep the connection open.
But, the connection has a 5s timeout, so is closed after 5s of inactivity ; so it should be automatically closed.
I have changed the code to close the connection when the end of sequence is reached ; please have a test and let me know if it's OK for you. Well, it's not yet build...
It seems that there is bug in closing sockets.
The server using this module lists many CLOSE_WAIT related to BaseX Connection
The text was updated successfully, but these errors were encountered: