Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-410

OPTIONS call not returning available methods

    XMLWordPrintable

Details

    • Hide

      romans-air:perl winfinit$ curl -XOPTIONS http://127.0.0.1:6666 -vvvv

      • About to connect() to 127.0.0.1 port 6666 (#0)
      • Trying 127.0.0.1...
      • Adding handle: conn: 0x7fdbbb803a00
      • Adding handle: send: 0
      • Adding handle: recv: 0
      • Curl_addHandleToPipeline: length: 1
      • - Conn 0 (0x7fdbbb803a00) send_pipe: 1, recv_pipe: 0
      • Connected to 127.0.0.1 (127.0.0.1) port 6666 (#0)
        > OPTIONS / HTTP/1.1
        > User-Agent: curl/7.30.0
        > Host: 127.0.0.1:6666
        > Accept: /
        >
        < HTTP/1.1 200 OK
        < Date: Tue, 27 May 2014 18:51:55 GMT
      • Server Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/0.9.8y mod_cluster/1.3.1.dev DAV/2 is not blacklisted
        < Server: Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/0.9.8y mod_cluster/1.3.1.dev DAV/2
        < Content-Location: index.html.en
        < Vary: negotiate
        < TCN: choice
        < Allow: GET,HEAD,POST,OPTIONS
        < Content-Length: 0
        < Content-Type: text/html
        < Content-Language: en
        <
      • Connection #0 to host 127.0.0.1 left intact
      Show
      romans-air:perl winfinit$ curl -XOPTIONS http://127.0.0.1:6666 -vvvv About to connect() to 127.0.0.1 port 6666 (#0) Trying 127.0.0.1... Adding handle: conn: 0x7fdbbb803a00 Adding handle: send: 0 Adding handle: recv: 0 Curl_addHandleToPipeline: length: 1 - Conn 0 (0x7fdbbb803a00) send_pipe: 1, recv_pipe: 0 Connected to 127.0.0.1 (127.0.0.1) port 6666 (#0) > OPTIONS / HTTP/1.1 > User-Agent: curl/7.30.0 > Host: 127.0.0.1:6666 > Accept: / > < HTTP/1.1 200 OK < Date: Tue, 27 May 2014 18:51:55 GMT Server Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/0.9.8y mod_cluster/1.3.1.dev DAV/2 is not blacklisted < Server: Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/0.9.8y mod_cluster/1.3.1.dev DAV/2 < Content-Location: index.html.en < Vary: negotiate < TCN: choice < Allow: GET,HEAD,POST,OPTIONS < Content-Length: 0 < Content-Type: text/html < Content-Language: en < Connection #0 to host 127.0.0.1 left intact
    • Low

    Description

      options call returning just standard registered methods, that is because mod_cluster doesn't register methods through httpd api ap_method_register().

      by using apache api we can get free validation, and faster checks against method_number() instead of method name and strcmp().

      Attachments

        Activity

          People

            rhn-engineering-jclere Jean-Frederic Clere
            winfinit_jira Roman Jurkov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: