Upgrading dependency to Thrift 0.12.0

This commit is contained in:
Renan DelValle 2018-11-27 18:03:50 -08:00
parent 3e4590dcc0
commit 356978cb42
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
1302 changed files with 101701 additions and 26784 deletions

View file

@ -44,9 +44,9 @@ target libraries need to be installed and how to achieve this.
Haxe on Linux
---------------
For Linux platforms it is recommended not to download the
binaries manually, instead use the Haxe installation shell
script which can be found at `http://www.openfl.org/download`.
For Linux platforms it is recommended to use the distro-specific package
manager, where possible. More detailed information can be found at the
Haxe Linux download section: http://haxe.org/download/linux
If you run into the error message
@ -69,10 +69,10 @@ Thrift Haxe bindings
Thrift Haxe bindings can be set up via the `haxelib` tool
either from the official ASF repo, or via the github mirror.
- To set up any **stable version**, choose the appropriate branch (e.g. `0.9.3`):
- To set up any **stable version**, choose the appropriate branch (e.g. `0.10.0`):
- `haxelib git thrift https://git.apache.org/thrift.git 0.9.3 lib/haxe`
- `haxelib git thrift https://github.com/apache/thrift.git 0.9.3 lib/haxe`
- `haxelib git thrift https://git.apache.org/thrift.git 0.10.0 lib/haxe`
- `haxelib git thrift https://github.com/apache/thrift.git 0.10.0 lib/haxe`
- To set up the current **development version**, use the `master` branch:

View file

@ -4,7 +4,7 @@
"license": "Apache",
"tags": ["thrift", "rpc", "serialization", "cross", "framework"],
"description": "Haxe bindings for the Apache Thrift RPC and serialization framework",
"version": "0.10.0",
"version": "1.0.0-dev",
"releasenote": "Licensed under Apache License, Version 2.0. The Apache Thrift compiler needs to be installed separately.",
"contributors": ["Apache Software Foundation (ASF)"],
"dependencies": { },

View file

@ -95,7 +95,7 @@ class TProtocolUtil {
prot.readListEnd();
default:
trace("Unknown field type ",type," in skipMaxDepth()");
throw new TProtocolException(TProtocolException.UNKNOWN, "Unknown field type ${type}");
}
prot.DecrementRecursionDepth();

View file

@ -121,6 +121,11 @@ class TSimpleServer extends TServer {
logDelegate(e); // Unexpected
}
if(client != null && !runOnce)
{
client.close();
}
// Fire deleteContext server event after client disconnects
if (serverEventHandler != null) {
serverEventHandler.deleteContext(connectionContext, inputProtocol, outputProtocol);

View file

@ -17,7 +17,6 @@
# under the License.
#
THRIFT = $(top_builddir)/compiler/cpp/thrift
THRIFTCMD = $(THRIFT) --gen haxe -r
THRIFTTEST = $(top_srcdir)/test/ThriftTest.thrift
AGGR = $(top_srcdir)/contrib/async-test/aggr.thrift