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 a bug that QueryFrontend adds a garbage to http response #415

Merged
merged 2 commits into from
Feb 23, 2018

Conversation

withsmilo
Copy link
Collaborator

Currently QueryFrontend sends ['http header' + 'content' + '\n'] as a http response to the outer side. Our team found some error cases occurred by wrong value(content.length()) of Content-Length in the 'http header'. To fix it, '\n' must be removed from the http response.

Currently QueryFrontend sends ['http header' + 'content' + '\n'] as a http response to the outer side.
Our team found some error cases occurred by wrong value(content.length()) of Content-Length in the 'http header'.
To fix it, '\n' must be removed from the http response.
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@dcrankshaw
Copy link
Contributor

jenkins okay to test

@dcrankshaw
Copy link
Contributor

jenkins ok to test

Copy link
Contributor

@dcrankshaw dcrankshaw left a comment

Choose a reason for hiding this comment

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

lgtm

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1041/
Test PASSed.

@dcrankshaw dcrankshaw merged commit a128128 into ucbrise:develop Feb 23, 2018
@withsmilo withsmilo deleted the fix_query_frontend_bug branch February 23, 2018 03:00
@withsmilo
Copy link
Collaborator Author

@dcrankshaw : Thanks a lot! 👍

@dcrankshaw
Copy link
Contributor

Thanks for the bug fix!

gtfierro pushed a commit to gtfierro/clipper that referenced this pull request Feb 27, 2018
…#415)

Currently QueryFrontend sends ['http header' + 'content' + '\n'] as a http response to the outer side.
Our team found some error cases occurred by wrong value(content.length()) of Content-Length in the 'http header'.
To fix it, '\n' must be removed from the http response.
withsmilo pushed a commit to withsmilo/clipper that referenced this pull request Oct 6, 2018
Currently ManagementFrontend sends ['http header' + 'content' + '\n'] as a http response to the outer side.
Our team found some error cases occurred by wrong value(content.length()) of Content-Length in the 'http header'.
To fix it, '\n' must be removed from the http response.

I found the same bug in QueryFrontend and pull-requested it already. (ucbrise#415)
withsmilo pushed a commit to withsmilo/clipper that referenced this pull request Mar 22, 2019
Currently ManagementFrontend sends ['http header' + 'content' + '\n'] as a http response to the outer side.
Our team found some error cases occurred by wrong value(content.length()) of Content-Length in the 'http header'.
To fix it, '\n' must be removed from the http response.

I found the same bug in QueryFrontend and pull-requested it already. (ucbrise#415)
simon-mo pushed a commit that referenced this pull request Mar 28, 2019
* Fix a bug that ManagementFrontend adds a garbage to http response

Currently ManagementFrontend sends ['http header' + 'content' + '\n'] as a http response to the outer side.
Our team found some error cases occurred by wrong value(content.length()) of Content-Length in the 'http header'.
To fix it, '\n' must be removed from the http response.

I found the same bug in QueryFrontend and pull-requested it already. (#415)

* Add a timer to container_test
rkooo567 pushed a commit to rkooo567/clipper that referenced this pull request Apr 27, 2019
…brise#582)

* Fix a bug that ManagementFrontend adds a garbage to http response

Currently ManagementFrontend sends ['http header' + 'content' + '\n'] as a http response to the outer side.
Our team found some error cases occurred by wrong value(content.length()) of Content-Length in the 'http header'.
To fix it, '\n' must be removed from the http response.

I found the same bug in QueryFrontend and pull-requested it already. (ucbrise#415)

* Add a timer to container_test
rkooo567 pushed a commit to rkooo567/clipper that referenced this pull request Apr 28, 2019
…brise#582)

* Fix a bug that ManagementFrontend adds a garbage to http response

Currently ManagementFrontend sends ['http header' + 'content' + '\n'] as a http response to the outer side.
Our team found some error cases occurred by wrong value(content.length()) of Content-Length in the 'http header'.
To fix it, '\n' must be removed from the http response.

I found the same bug in QueryFrontend and pull-requested it already. (ucbrise#415)

* Add a timer to container_test
rkooo567 pushed a commit to rkooo567/clipper that referenced this pull request Apr 28, 2019
…brise#582)

* Fix a bug that ManagementFrontend adds a garbage to http response

Currently ManagementFrontend sends ['http header' + 'content' + '\n'] as a http response to the outer side.
Our team found some error cases occurred by wrong value(content.length()) of Content-Length in the 'http header'.
To fix it, '\n' must be removed from the http response.

I found the same bug in QueryFrontend and pull-requested it already. (ucbrise#415)

* Add a timer to container_test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants