Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-216

Add proper handling for redirects when using HTTP Upgrade

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 3.2.0.Beta4
    • 3.2.0.Beta2
    • api
    • None

    Description

      Two possibilities: -

      1 - Provide a mechanism that allows a meaningful error message to be displayed to an end user so they can pick a more appropriate address.

      2 - Provide some way to actually handle the redirect.

      Overall this will most likely require passing back to the code calling XNIO rather than being silently handled within XNIO.

      As an example the WildFly CLI has different Remoting providers registered the http and https, also different Options for establishing the connection - for this reason it may be better to allow some form of 'RedirectException' to be passed back up and allow the client code to decide how to handle it.

      Attachments

        Activity

          People

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: