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
{{ message }}
Repository navigation
bug on AnonymousSocks5Server.checkIoException(final Exception e) #56
when I use in window10 , jdk is jdk1.8.0_25, this is work fine.
but when I use in linux centos 6.5,jdk is 1.8.0_91,It throw a exception
Exception in thread "Thread-6" org.simplejavamail.mailer.internal.socks.common.SocksException: server crashed...
at org.simplejavamail.mailer.internal.socks.socks5server.AnonymousSocks5Server.checkIoException(AnonymousSocks5Server.java:91)
at org.simplejavamail.mailer.internal.socks.socks5server.AnonymousSocks5Server.run(AnonymousSocks5Server.java:76)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
at java.net.ServerSocket.implAccept(ServerSocket.java:545)
at java.net.ServerSocket.accept(ServerSocket.java:513)
at org.simplejavamail.mailer.internal.socks.socks5server.AnonymousSocks5Server.run(AnonymousSocks5Server.java:72)
... 1 more
I debug this ,find in windows ,e.getMessage() is "socket closed" ,but in linux , is "Socket closed"
Activity
bbottema commentedon Oct 12, 2016
Thanks, I will look into it.
#56 ignore case when checking error status
bbottema commentedon Nov 7, 2016
Released in v4.1.2