• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TykTechnologies / tyk / 2748 / 2

Build:
DEFAULT BRANCH: master
Ran 09 Aug 2017 02:59PM UTC
Files 84
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Aug 2017 02:54PM UTC coverage: 43.818% (+0.08%) from 43.738%
LATEST_GO=true

push

travis-ci

buger
revproxy: don't append paths if we switched URLs

Because if we did, we may end up with a duplicate path.

We already partially fixed this with a path string comparison. However,
after some debugging, it was discovered that under some circumstances,
paths may be of the form "path" instead of "/path".

Use a stronger logic, and add tests for all combinations of RetainHost
and unexpected paths.

Reproducing the issue manually, before and after:

        DEBUG Outbound Request: http://192.168.0.148:8888/_count/_count

        DEBUG Outbound Request: http://192.168.0.148:8888/_count

Also move the scheme and host swapping, as they too modify req.URL when
it's already final. Although these were harmless, as they were replacing
instead of appending.

Fixes #962.

5947 of 13572 relevant lines covered (43.82%)

0.47 hits per line

Source Files on job 2748.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2748
  • Travis Job 2748.2
  • 3e902151 on github
  • Prev Job for LATEST_GO=true on master (#2738.2)
  • Next Job for LATEST_GO=true on master (#2750.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc