When running at scale I got this exception on a regular basis:
1006789 [Thread-787738] ERROR org.globus.ftp.vanilla.FTPServerFacade - Exception occured in the exception handling code, so it cannot be properly propagated to the user
java.lang.IllegalArgumentException: This socket does not seem to exist in the socket pool.
at org.globus.ftp.dc.SocketPool.remove(SocketPool.java:78)
at org.globus.ftp.dc.GridFTPTransferSourceThread.shutdown(GridFTPTransferSourceThread.java:82)
at org.globus.ftp.dc.TransferSourceThread.run(TransferSourceThread.java:87)
When it happens the underlying socket has not chance of being closed. This PR solves it.
When running at scale I got this exception on a regular basis:
When it happens the underlying socket has not chance of being closed. This PR solves it.