Skip to content

Commit

Permalink
Merge branch 'master' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
gszr committed Oct 2, 2020
2 parents 46a167d + 2f5196d commit 7b9a743
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ code, other repos are also under active development:
running Kong in Docker.
- [Kong Packages](https://github.com/Kong/kong/releases): Pre-built packages
for Debian, Red Hat, and OS X distributions (shipped with each release).
- [Kong Gojira](https://github.com/Kong/gojira): a tool for
testing/developing multiple versions of Kong using containers.
- [Kong Vagrant](https://github.com/Kong/kong-vagrant): A Vagrantfile for
provisioning a development-ready environment for Kong.
- [Kong Homebrew](https://github.com/Kong/homebrew-kong): Homebrew Formula
Expand Down Expand Up @@ -142,6 +144,15 @@ Kit (PDK) Reference](https://docs.konghq.com/latest/pdk/).
You can use Docker / docker-compose and a mounted volume to develop Kong by
following the instructions on [Kong/kong-build-tools](https://github.com/Kong/kong-build-tools#developing-kong).

#### Kong Gojira

[Gojira](https://github.com/Kong/gojira) is a CLI that uses docker-compose
internally to make the necessary setup of containers to get all
dependencies needed to run a particular branch of Kong locally, as well
as easily switching across versions, configurations and dependencies. It
has support for running Kong in Hybrid (CP/DP) mode, testing migrations,
running a Kong cluster, among other [features](https://github.com/Kong/gojira/blob/master/doc/manual.md).

#### Vagrant

You can use a Vagrant box running Kong and Postgres that you can find at
Expand Down
5 changes: 5 additions & 0 deletions kong/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,11 @@ function Kong.log()
ctx.KONG_BODY_FILTER_TIME = ctx.KONG_BODY_FILTER_ENDED_AT -
ctx.KONG_BODY_FILTER_START
end

if ctx.KONG_PROXIED and not ctx.KONG_WAITING_TIME then
ctx.KONG_WAITING_TIME = ctx.KONG_LOG_START -
(ctx.KONG_BALANCER_ENDED_AT or ctx.KONG_ACCESS_ENDED_AT)
end
end
end

Expand Down

0 comments on commit 7b9a743

Please sign in to comment.