-
Notifications
You must be signed in to change notification settings - Fork 280
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
Conversation
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.
Can one of the admins verify this patch? |
jenkins okay to test |
jenkins ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Test PASSed. |
@dcrankshaw : Thanks a lot! 👍 |
Thanks for the bug fix! |
…#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.
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)
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)
* 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
…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
…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
…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
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.