forked from facebook/watchman
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: fix the protocol handling by adopting json for both the requests and the response. This also allows us to remove the dependency on libevent (which is honestly a bit of a cluster... to handle portably), so now all our dependencies are either in the base system or are included in our source code. This depends on D645447 for the integration test pieces. We always return a JSON object response that includes our version number. Errors will always have an "error" object field that holds the text of the error. The rest of the commands are still transitional when it comes to their response format, but I'll be updating the README as I review/revise each of those. I've pulled in version 2.4 of the Jansson JSON library, which is compatibly MIT licensed. Doc on it can be found here: http://www.digip.org/jansson/doc/2.4/ Test Plan: `make integration` Reviewers: jakubv, keegancsmith, zoel CC: pieter, fugalh, security-diffs@lists Differential Revision: https://phabricator.fb.com/D645534
- Loading branch information
Showing
25 changed files
with
4,939 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.