Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(request-termination) delayed response #3513

Merged
merged 1 commit into from
Jun 15, 2018

Conversation

bungle
Copy link
Member

@bungle bungle commented Jun 5, 2018

Summary

Fix request-termination delayed response

@bungle bungle force-pushed the fix/request-termination-delayed branch 2 times, most recently from b924ea2 to 50dbf40 Compare June 5, 2018 16:27
return ngx.exit(status_code)
else
return responses.send(status_code, message)
coroutine.yield()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as the azure-functions plugin


else
ngx.header[constants.HEADERS.SERVER] = nil
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This plugin should already have tests ensuring that this header is set/unset when terminating a request, and I am not seeing them. Perhaps this underlying implementation change warrants adding those tests.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

@bungle bungle force-pushed the fix/request-termination-delayed branch from 50dbf40 to 32658da Compare June 5, 2018 22:19
@bungle bungle force-pushed the fix/request-termination-delayed branch 4 times, most recently from 226f7fe to 4e3d7ad Compare June 15, 2018 13:27
@thibaultcha thibaultcha merged commit 1dea9ec into next Jun 15, 2018
@thibaultcha thibaultcha deleted the fix/request-termination-delayed branch June 15, 2018 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants