Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2886

Fix regression where body factory is not used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 5.0.0
    • 5.0.0
    • HTTP
    • None

    Description

      body factory not worked

      my records.config:

      CONFIG proxy.config.body_factory.enable_customizations INT 1
      CONFIG proxy.config.body_factory.enable_logging INT 0
      CONFIG proxy.config.body_factory.response_suppression_mode INT 0
      CONFIG proxy.config.body_factory.template_sets_dir STRING /etc/trafficserver/body_factory
      

      test:
      www.test1.com not in my remap.config

      curl -v -x127.0.0.1:80 http://www.test1.com/index.html
      * About to connect() to proxy 127.0.0.1 port 80 (#0)
      *   Trying 127.0.0.1... connected
      * Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
      > GET http://www.test1.com/index.html HTTP/1.1
      > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
      > Host: www.test1.com
      > Accept: */*
      > Proxy-Connection: Keep-Alive
      > 
      < HTTP/1.1 404 Not Found
      < Date: Thu, 12 Jun 2014 06:03:43 GMT
      < Connection: close
      < Via: http/1.1 utn-cz-1-1-s18p1 (ApacheTrafficServer/5.0.0 [c s f ])
      < Cache-Control: no-store
      < Content-Type: text/html
      < Content-Language: en
      < Content-Length: 34
      < 
      * Closing connection #0
      Your requested URL was not found.
      

      Attachments

        1. TS-2886.patch
          2 kB
          Qiang Li

        Issue Links

          Activity

            People

              zwoop Leif Hedstrom
              tufang14 Qiang Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: