If the original function invocation takes longer than than the functions combined read_timeout and write_timeout the X-Duration-Seconds header is not set on the callback function
Expected Behaviour
X-Duration-Seconds should be set on the callback function
Steps to Reproduce (for bugs)
Create a function a , make is sleep for 10 seconds
Create a callback function b that prints the X-Duration-Seconds header
If the original function invocation takes longer than than the functions combined
read_timeout
andwrite_timeout
theX-Duration-Seconds
header is not set on the callback functionExpected Behaviour
X-Duration-Seconds
should be set on the callback functionSteps to Reproduce (for bugs)
a
, make is sleep for 10 secondsb
that prints theX-Duration-Seconds
headera
i.e. curl http://127.0.0.1:8080/async-function/a -d 'hello' -H 'X-Callback-Url: http://gateway:8080/function/b'