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 expect 100 continue header handling #19904

Merged
merged 1 commit into from
Aug 10, 2016
Merged

Fix expect 100 continue header handling #19904

merged 1 commit into from
Aug 10, 2016

Conversation

jasontedor
Copy link
Member

@jasontedor jasontedor commented Aug 10, 2016

Due to a misordering of the HTTP handlers, the Netty 4 HTTP server
mishandles Expect: 100-continue headers from clients. This commit fixes
this issue by ordering the handlers correctly.

Closes #19834

Due to a misordering of the HTTP handlers, the Netty 4 HTTP server
mishandles Expect: 100-continue headers from clients. This commit fixes
this issue by ordering the handlers correctly.
@jasontedor jasontedor added >bug review :Distributed/Network Http and internode communication implementations v5.0.0-beta1 labels Aug 10, 2016
@jasontedor
Copy link
Member Author

The Netty docs make the issue clear here, these handlers are just in the wrong order.

@tlrx
Copy link
Member

tlrx commented Aug 10, 2016

LGTM

@rmuir
Copy link
Contributor

rmuir commented Aug 10, 2016

Is there a simple failing test we can make for this change?

@tlrx
Copy link
Member

tlrx commented Aug 10, 2016

@rmuir I created #19908 for that.

@jasontedor jasontedor merged commit f025c83 into elastic:master Aug 10, 2016
@jasontedor jasontedor deleted the expect-100-continue branch August 10, 2016 11:21
jasontedor pushed a commit that referenced this pull request Aug 10, 2016
* [Test] Add test for Netty4 HTTP support of header 100-continue

Related to #19904

* Update after David comments
@jasontedor
Copy link
Member Author

Thanks for reviewing @tlrx, and especially for adding a test in #19908.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Network Http and internode communication implementations v5.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Netty4 HTTP does not support "Expect: 100-continue" header
3 participants