Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6343810

connect in java/net/PlainSocketImpl.c should handle EALREADY

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      sparc
    • OS:
      solaris_9

      Backports

        Description

        In java/net/PlainSocketImpl.c line 347 there is a non-blocking connect() call.
        errno is only being checked for EINPROGRESS. This should be improved to also
        handle other error conditions. At least EALREADY. See the comments section for details.
        The connect is actually blocking.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  coffeys Sean Coffey
                  Reporter:
                  tviessma Thomas Viessmann (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: