forked from apache/thrift
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from sumwale/snappy/0.14.1
Porting changes from snappy/0.12.0, based off bf867bc skipping the following changes since they are already in thrift 0.14.1: - Changing to C++11 noexcept from empty throw() - Allow for localhost-only bind for client sockets (C++) - Fixing maven repo URLs to use https Full set of changes applied: - Add "skip_async" property to java generator - This skips generation of asynchronous interfaces for those who are not using them. - Add "struct_separate_files" property to C++ generator - This generates classes in separate files, one class per file, instead of everything in a single file (similar to what other generators like java do by default). - This allows for clean separation of classes and allows override of specific classes by hand-written code if required. - This patch also changes the constants generation to use static consts for primitive types (int, bool, long, short, byte, double). - Add couple of options to skip C++ generator features - "no-recursion-limit" option to skip checks for maximum recursion limit while writing objects - "no-concurrent-client" option to skip concurrent client code generation - Adding public getters for TSocket timeout settings - Removing unnecessary TBase with virtual TBase - Fixing build on older compilers (gcc < 4.5). - Fix java plugin's gradle install task - Add TSSLSocketFactory::setInExit() to allow skipping calls to SSL_shutdown (e.g. useful during global destructor cleanup where SSL_shutdown can lead to unexpected crashes)
- Loading branch information
Showing
11 changed files
with
410 additions
and
115 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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