Skip to content

bug on AnonymousSocks5Server.checkIoException(final Exception e) #56

Closed

Description

@tuanqizhirou

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

  1. added this to the 4.1.2 milestone on Oct 12, 2016
  2. bbottema commented on Oct 12, 2016

    @bbottema
    Owner

    Thanks, I will look into it.

  3. added a commit that references this issue on Nov 7, 2016
  4. bbottema commented on Nov 7, 2016

    @bbottema
    Owner

    Released in v4.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions