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

SOCKS support inadequate

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 1.1.5, 1.4.1, 1.4.2_05, 5.0
    • Fix Version/s: 5.0
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_2.5.1, solaris_2.6, windows_xp

      Description

      Name: rm29839 Date: 12/08/97


      It looks like SOCKS support, at least in the JDK1.1.3,
      is supported by settign system properties that
      describe the location of the SOCKS proxy. These
      are examined by PlainSocketImpl.java in the JDK
      implementation.

      This means that if I set these properties, they
      will be used for *all* connections that my application
      makes, even to my local host. That's no good.

      It would be much better if I could implement some
      interface, say, SocksDirector. If I have a class
      that implements this interface, I could tell the
      Socket-level code about it, and each time it's
      about to make a connection, it could query my class
      to see what socks host/port to use for this connection,
      if any.
      (Review ID: 21381)
      ======================================================================
      ###@###.### 10/29/04 18:22 GMT

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jccollet Jean-Christophe Collet (Inactive)
              Reporter:
              rmandelsunw Ronan Mandel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: