Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19093

implement method for doing an HTTP GET in the mongo shell

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Shell
    • None

    Description

      httpinterface.js creates a DBClientConnection (via the shell's Mongo object) pointed at the server's web port, to check that the httpinterface is active. This worked in the past as DBClientConnection::connect (prior to SERVER-19035) would only open a socket.

      As a result of SERVER-19035, we needed to disable httpinterface.js, as the 'isMaster' command executed during connection will fail against the web interface.

      If we are going to use the shell to test the HTTP interface, we will need to add proper HTTP support in the shell.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: