-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46373/
-----------------------------------------------------------
(Updated 五月 30, 2016, 10:24 a.m.)
Review request for mesos, Benjamin Mahler and Greg Mann.
Changes
-------
rebase the code
Bugs: mesos-5060
https://issues.apache.org/jira/browse/mesos-5060
Repository: mesos
Description
-------
[MESOS-5060]
The patch did the following changes:
1. Fix the length logic in files.cpp.
2. Add some tests to test the /files/read.json endponit with
negative length.
Diffs (updated)
-----
src/files/files.cpp 074d31c116c1b9ff96262c3e0c776f38aea53d16
src/tests/files_tests.cpp 08f357b4c6138cfcad1fa01157922e0e5e3b12e1
Diff: https://reviews.apache.org/r/46373/diff/
Testing
-------
make
make check
request 'files/read.json' endpoint with negative offset or length argument
Thanks,
zhou xing