refactor process_request to not drop req (#1375)
authorTony Sun <tony.sun427@gmail.com>
Tue, 19 Jun 2018 16:49:24 +0000 (09:49 -0700)
committerGitHub <noreply@github.com>
Tue, 19 Jun 2018 16:49:24 +0000 (09:49 -0700)
commitf3a0f427af544664fe5c11105b8cd6d13f0a5339
treec76979bc3d2e34b88392d86e1c8cbea0128f353b
parenta13efba0d61c52b11e555915742de7b3ae1b75e6
refactor process_request to not drop req (#1375)

Previously, when we fail authorization but pass authentication, we use
the old HttpReq which drops user_ctx. This change leaves user_ctx.
src/chttpd/src/chttpd.erl