mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Mazumdar <an...@apache.org>
Subject Review Request 54342: Made the `deserializer()` not validate the Agent API calls too.
Date Sat, 03 Dec 2016 19:19:12 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54342/
-----------------------------------------------------------

Review request for mesos and Vinod Kone.


Repository: mesos


Description
-------

It was weird that the `deserializer()` was validating the agent
calls itself. Note that this was wrong as we were _always_
returning `BadRequest` if `readAll()` fails. It can also
fail if the client went away while it was sending the body.


Diffs
-----

  src/slave/http.cpp 8b104ce9ca6e72a1e76943f0d68a0541a45e39f6 

Diff: https://reviews.apache.org/r/54342/diff/


Testing
-------

make check


Thanks,

Anand Mazumdar


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message