Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-6916

After upgrading HttpClient, the host header always contains the port which is a problem for Microsoft IIS

    Details

      Description

      We've introduced a patch a while ago in order to deal with a problem of Microsoft IIS, as explained on NMS-5884.

      That solution was working fine until we upgrade the HttpClient code required for the SeleniumMonitor, and now the Host header always contains the port, for example:

      Host: www.google.com:80
      

      The protocol specifies that the port is optional and when it is not specified, the default port for the chosen schema will be used. But, it is perfectly valid to specify the port even if it is the default port for the selected schema.

      IIS returns a 503 error if the default port is specified, which is clearly a problem of this particular web server.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: