Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-1572

OAIUtil Class has Potentially Blocking Code

XMLWordPrintable

    • Icon: Defect Defect
    • Resolution: Done
    • Icon: Minor Minor
    • 1.1.0
    • 1.0.0
    • Codebase
    • None

      The openStream() method in java.net.URL is potentially blocking and needs to be changed.

      There are nice short term changes:
      http://stuffthathappens.com/blog/2007/09/10/urlopenstream-might-leave-you-hanging/

      The long term change would be to use HTTPClient.

              nhook Nathan Hook
              nhook Nathan Hook
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: