proc: expose HTTP Origin header in process environment
authorJo-Philipp Wich <jo@mein.io>
Tue, 24 Apr 2018 18:03:19 +0000 (20:03 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 24 Apr 2018 18:03:19 +0000 (20:03 +0200)
commit393b59ef5d1d05fd00e102231e689f646c438582
tree09f3601fcf6fb13bef25f21df869b06d29cf989c
parent8109b957b668a90d4a9b00f1e9db3d8d7e491bf3
proc: expose HTTP Origin header in process environment

Map the "Origin:" header as $HTTP_ORIGIN environment variable for use by
request handling processes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
proc.c