Commit Graph

3204 Commits

Author SHA1 Message Date
James E. King, III
3a8bbbd4a6 THRIFT-3896 fix map type with string key can not access deserialized by php extension
Client: php
Patch: feidong@anjuke.com

This closes #1062
2017-02-06 12:57:21 -05:00
James E. King, III
a3d6be906b THRIFT-4068 fix comment in java server socket code
Client: Java
Patch: pigbrain <hyundong.lee@nhnent.com>

This closes #1177
2017-02-04 00:23:55 -05:00
James E. King, III
de9c330b24 THRIFT-4007: TTransport.py micro-optimization: don't call len(chunk) twice
Client: Python
Patch: Nate Jensen <nathan.jensen@raytheon.com>

This closes #1121
2017-02-01 07:16:28 -05:00
James E. King, III
2d6060d882 THRIFT-4046 fix PlatformSocket.h for mingw64/msys2 and provide instructions for building with cmake under that toolchain
Client: cmake
Patch: James E. King, III <jking@apache.org>

This closes #1171
2017-01-31 16:17:53 -05:00
Tom Davis
34bd992bc3 THRIFT-4062 Remove debug print from TServiceClient
Client: Java
Patch: Tom Davis <tom@recursivedream.com>

This closes #1173
2017-01-31 21:31:58 +01:00
Jens Geyer
feea47852c THRIFT-3000 .NET implementation has trouble with mixed IP modes
Client: C#
Patch: Jens Geyer, based on https://github.com/apache/thrift/pull/377

This closes #1167
2017-01-31 21:22:06 +01:00
James E. King, III
8656670fe2 THRIFT-4044 work around an hspec-core 2.4.0 library issue causing all build job #17 on Travis CI to fail
Client: Haskell

This closes #1168
2017-01-28 16:00:09 -05:00
James E. King, III
de3e17ad39 THRIFT-3854 add a way in java to clear TFramedTransport read buffers
Client: Java
Patch: Chris Lockfort <clockfort@palantir.com>

This closes #1164
This closes #1081
2017-01-27 23:36:31 -05:00
Chandler May
988b3e9bde THRIFT-4042 set zip_safe=False in python build to prevent egg ExtractionError
Client: Python

This closes #1165
2017-01-27 23:33:19 -05:00
James E. King, III
96be8c8d94 THRIFT-3550 add some information about thrift to the perl library README directing folks to the official web site for more info 2017-01-27 11:45:57 -05:00
James E. King, III
f3490c5f8e THRIFT-3550 make a script to build perl cpan module and update perl dependencies for cpan 2017-01-27 09:43:18 -05:00
James E. King, III
cf25489402 Build fails using Java 1.8 with Ant < 1.9
Client: Java
Patch: Adinata <mail.dieend@gmail.com>

This closes #1060
2017-01-25 20:34:04 -05:00
Allen George
8b96bfbf1e THRIFT-2945 Add Rust support
Client: Rust
Patch: Allen George <allen.george@gmail.com>

This closes #1147
2017-01-26 01:34:16 +01:00
James E. King, III
6fe7fa1b7e THRIFT-3892 support OpenSSL before 0.9.8f during build
Client: C++
Patch: Udit Raikwar <udit043@users.noreply.github.com>

This closes #1057
2017-01-25 09:43:24 -05:00
James E. King, III
3d6e2a5071 THRIFT-3926 There should be an error emitted when http status code is not 200
Client: nodejs
Patch: lifei <lifei@bytedance.com>

This closes #1086
2017-01-24 23:31:54 -05:00
Volodymyr Gotra
b62247e0ea THRIFT-4039 Update of Apache Thrift .Net Core lib
Client: NetCore
Patch: Volodymyr Gotra <vgotra@gmail.com>

This closes #1163

Changes:
- Added framed transport, updated docs, updated global.json with SDKversion
- Added usage to multiplexer to tutorial
- Changed sdk to current sdk 1.0.0-preview2-1-003177
2017-01-25 00:04:45 +01:00
James E. King, III
55f976e0de THRIFT-4040 Add real cause of TNonblockingServerSocket error to exception
Client: Java
Patch: Dmitry Roenko <savraz@gmail.com>

This closes #1116
2017-01-23 09:06:27 -05:00
gzshi
4194562c60 THRIFT-4038 socket check: checking an unsigned number against >= 0 never fails
Client: C++
Patch: gzshi <shgzone.hust@gmail.com>

This closes #1153
2017-01-22 13:23:28 +01:00
James E. King, III
7edc8faefd THRIFT-3873: fix various compiler warnings and overflow errors
THRIFT-3847: change VERSION to PACKAGE_VERSION to avoid conflicts with third party or OS headers

This closes #1128
2017-01-20 10:12:06 -05:00
Jens Geyer
5f723cd539 THRIFT-4024 Skip() should throw on unknown data types
Client: C#, NETCore, Haxe, Delphi, Go
Patch: Jens Geyer

This closes #1155
2017-01-11 20:50:38 +01:00
Volodymyr Gotra
b587a12a11 THRIFT-3933 Microsoft .Net Core library port and generator for this library
Client: .NET Core
Patch: Volodymyr Gotra <vgotra@gmail.com> PR #1088, with significant improvements by Jens Geyer <jensg@apache.org> PR #1149

This closes #1088
This closes #1149
2017-01-04 19:40:30 +01:00
Mark Erickson
3c55440230 THRIFT-4019: Dart Makefiles should also clean pubspec.lock
Client: Dart
Patch: Mark Erickson <merickson@apache.org>

This closes #1150
2017-01-04 10:11:06 -06:00
Jens Geyer
540e346d6e THRIFT-4016 testInsanity() impl does not conform to test spec in ThriftTest.thrift
Client: Delphi
Patch: Jens Geyer
2016-12-28 15:13:48 +01:00
Jens Geyer
60ac165aeb THRIFT-4008 broken ci due to upstream dependency versioning break
Client: Haskell
Patch: Jens Geyer

This closes #1145
2016-12-28 15:13:36 +01:00
Jens Geyer
fa133629a2 THRIFT-4015 Fix wrongly spelled "Thirft"s
Client: Perl + NodeJS
Patch: Jens Geyer
2016-12-26 11:35:43 +01:00
Jens Geyer
19066b75d0 THRIFT-4014 align C# meta data in AssemblyInfo.cs
Clöient: C#
Patch: Jens Geyer
2016-12-26 11:33:03 +01:00
Simon South
30a8b65dce THRIFT-3968: Deserializing empty string/binary fields
Client: C (GLib)
Patch: Simon South <simonsouth@apache.org>

Deserialize empty strings as they are instead of returning NULL.
Expand test cases to clarify existing behavior when deserializing empty
binary fields.
2016-12-22 06:29:17 -05:00
ciarancourtney
db3a92ebcf THRIFT-4009 Use @implementer instead of implements in TTwisted.py
Client: Python
Patch: ciarancourtney <ciaran.courtney@cylon.com>

This closes #1142
2016-12-21 21:08:24 +01:00
jfarrell
842b14f42f THRIFT-4008: broken ci due to upstream dependency versioning break
Client: hs
Patch: jfarrell

Pin vector dependency in the lib/hs cabal file to ensure the upstream
latest version is not used due to issues with it.
2016-12-19 14:39:43 -05:00
Romain Théry
71e678a9d4 THRIFT-4006 Added removeEventListener method to TSocket.as
Client: AS3
Patch: Romain Théry <rthery@ankama.com>

This closes #1140
2016-12-17 19:51:35 +01:00
Mark Erickson
0d9b713b17 THRIFT-3981 Enable analyzer strong mode in Dart library
Client: Dart
Patch: Mark Erickson <merickson@apache.org>

This closes #1135
2016-12-13 22:20:03 -06:00
Richard Artoul
c3a3f653b6 THRIFT-3998 Document ability to add custom tags to thrift structs
Client: Go
Patch: Richard Artoul <richardartoul@gmail.com>

This closes #1053
2016-12-10 01:54:54 +01:00
BCG
7ab125a253 THRIFT-3301 Java generated code uses imports that can lead to class name collisions with IDL defined types
Client: Java
Patch: Benjamin Gould

This closes #1120
2016-12-03 01:00:52 +01:00
Gary Gregory
84d6af4cf9 THRIFT-3964 Unsupported mechanism type ????? due to dependency on default OS-dependent charset
Client: Java
Patch: Gary Gregory <ggregory@apache.org>

This closes #1134
2016-11-19 16:56:31 +01:00
Håkon H. Hitland
2a89bd94ac THRIFT-3977 PHP extension creates undefined values when deserializing sets
Client: PHP
Patch: Håkon H. Hitland <haakon@likedan.net>

This closes #1133
2016-11-17 21:36:06 +01:00
Håkon Hitland
b7a213c818 THRIFT-3348 PHP TCompactProtocol bool&int64 readvalue bug
Client: PHP
Patch: Håkon Hitland <hakon.hitland@zedge.net>

This closes #1132
2016-11-17 21:21:08 +01:00
James E. King, III
4337983d15 THRIFT-3955 TThreadedServer Memory Leak
Client: C++
Patch: tzongw@gmail.com

This closes #1117
2016-11-14 12:39:33 -05:00
James E. King, III
220d5f8422 THRIFT-3953 TSSLSocket::close should handle exceptions from waitForEvent because it is called by the destructor
Client: C++
Patch: ted.wang@ni.com

This closes #1118
2016-11-14 11:19:56 -05:00
James E. King, III
7656793d0d THRIFT-3961 terminate the connection to the client if an exception occurs while processing a message
Client: C++
Patch: Claudius Heine <ch@denx.de>

This closes #1125
2016-11-14 10:30:05 -05:00
James E. King, III
c544975d91 THRIFT-3038 clean up remaining volatile issues
Client: C++

This closes #1129
2016-11-13 12:00:37 -05:00
James E. King, III
df89913b8a THRIFT-3932 fixed ThreadManager concurrency issues, added more tests in that area, did a little refactoring and prettying up along the way
Client: C++

This closes #1103
2016-11-12 15:16:30 -05:00
James E. King, III
ea5ea8b4c8 THRIFT-3947 use sockaddr_storage with getsockname for future transport compatibility (ipv6)
Client: Lua

This closes #1127
2016-11-12 15:12:33 -05:00
Gary Gregory
fd832242bb THRIFT-3962 Ant build.xml broken on Windows for Java library
Client: Java
Patch: Gary Gregory <ggregory@apache.org>

This closes #1126
2016-11-10 22:56:47 +01:00
Jim King
f793c2b3aa THRIFT-3957 TConnectedClient does not disconnect from clients when the receive timeout is reached.
Client: C++
Patch: Claudius Heine <ch@denx.de>

This closes #1122
2016-11-10 15:08:21 -05:00
tpcwang
af81cf0c61 THRIFT-3942 Make TSSLSocket honor send and receive timeouts
Client: C++
Patch: tpcwang <tpc.wang@gmail.com>

This closes #1108
2016-10-13 23:02:53 +02:00
James E. King, III
36200904e7 THRIFT-3943: resolve some high severity outstanding defects identified by coverity scan
Clients: C++, Lua
Patch: James E. King, III <jim.king@simplivity.com>

This closes #1109
2016-10-13 22:59:20 +02:00
tpcwang
d1c0d33199 Fix WinXP version of thrift_poll to not use destructed time_out 2016-10-04 09:34:37 -07:00
Nobuaki Sukegawa
b0dadbde6a THRIFT-3902 TFramedTransport.open throws NullPointerException
This closes #1105
2016-10-03 01:04:31 +09:00
James E. King, III
4bbfe6120e THRIFT-3878: fix interop with newer OpenSSL libraries
This closes #1102
2016-10-01 23:40:03 +09:00
James E. King, III
4d39ac5240 THRIFT-3936: fix compile error on VS2013 and earlier from changes introduced during 0.10.0 development (snprintf)
This closes #1099
2016-10-01 23:39:46 +09:00
Matej Kupljen
e349c345d3 THRIFT-3935 Incorrect skipping of map and set
Client: c_glib
Patch: Matej Kupljen <matej@cloudmondo.com>
2016-09-29 20:46:26 +02:00
Nobuaki Sukegawa
042ce7e7c8 THRIFT-3798 THttpClient does not use proxy from http_proxy, https_proxy environment variables
Fix CI failure due to PEP8 violation

This closes #1097
2016-09-29 02:44:46 +09:00
Paul
2df9c20dc7 THRIFT-3855 Replaced complex CompareAndSwapInt64 with syncOnce.
Client: Go
Paul <pavel.finkelshtein@gmail.com>

This closes #1094
2016-09-26 22:05:19 +02:00
Martin Wilck
1ac0a80aa0 THRIFT-3798 THttpClient does not use proxy from http_proxy, https_proxy environment variables
Client: Python
Patch: Martin Wilck <mwilck@arcor.de>
2016-09-26 21:20:01 +02:00
Nobuaki Sukegawa
900569c442 THRIFT-3919 C# TTLSServerSocket does not use clientTimeout
This closes #1078
2016-09-26 02:40:51 +09:00
visoeclipse
22ec64f88a THRIFT-3844 thrift_protocol cannot compile in 7.0.7
This closes #1021 and closes #971
2016-09-26 01:42:02 +09:00
myroslav.kosinskyi
dd9885e322 THRIFT-3839 Performance issue with big message deserialization using php extension
This closes #1014
2016-09-26 01:42:02 +09:00
John Thomas
eacbd65f1d Ensuring that HTTP failures will clear the http transport outbuf var
This closes #1048
2016-09-26 01:42:02 +09:00
Nobuaki Sukegawa
a400c690eb THRIFT-3748 Node.js Deserialization of lists of lists is broken
This closes #957
2016-09-26 01:42:02 +09:00
Nobuaki Sukegawa
11da87e6f3 THRIFT-2835 Add possibility to distribute generators separately from thrift core, and load them dynamically
Client: Compiler
Patch: Nobuaki Sukegawa, rebased by dtmuller

Also fixed by dtmuller:
* Add plugin namespace for erlang language binding
* Fix unit test test_const_value
* Don't clear type cache with every t_program conversion
* Type "wb" may not be supported by popen on non-Windows platforms
* Fix constness of AST type signatures
2016-09-26 01:42:01 +09:00
jfarrell
04e6f62c8f THRIFT-1108: SSL support for the Ruby library
Client: ruby
Patch: Mansi Nahar

Add ssl support to ruby lib.
2016-09-20 15:27:54 -04:00
jfarrell
311c98455a THRIFT-948: SSL socket support for PHP
Client: php
Patch: Mansi Nahar

Adds TSSLServerSocket and TSSLSocket to PHP
2016-09-20 13:30:16 -04:00
zhangxin
54f49f8635 THRIFT-3931 TSimpleServer: If process request encounter UNKNOWN_METHOD, don't close transport.
Client: Go
Patch: zhangxin <xin.zhangwebapi@ele.me>

This closes #1090
2016-09-19 22:37:19 +02:00
jfarrell
205dc19556 THRIFT-3927: Emit an error instead of throw an error in the async callback
Client: node
Patch: lifei

Because the data event of a connection is async handled, throw an exception can not tell the code the error. emit the error should be the correct way to handle the errors.

Closes #1087
2016-09-15 23:38:58 -04:00
Nobuaki Sukegawa
d2b4f24836 THRIFT-3917 Check backports.ssl_match_hostname module version
This closes #1076
2016-09-04 18:49:23 +09:00
Nobuaki Sukegawa
d4eecda6b2 THRIFT-3911 Loosen Ruby dev dependency version requirements
This closes #1074
2016-09-04 18:49:22 +09:00
Nobuaki Sukegawa
bf9fa905d2 THRIFT-3910 Do not invoke pip as part of build process
This closes #1073
2016-09-04 18:49:21 +09:00
Nobuaki Sukegawa
21b6d9295a THRIFT-3909 Fix c_glib static lib CMake build
This closes #1072
2016-09-04 18:49:20 +09:00
Nobuaki Sukegawa
88c5ee71db THRIFT-3906 Run C# tests with make check
This closes #1069
2016-09-04 18:49:18 +09:00
Nobuaki Sukegawa
527637ac3c THRIFT-3827 Fix CompactProtocol readI64 function
cleanup (#1054)
2016-08-20 18:40:41 +09:00
lnn1123
77e5f3a3a3 THRIFT-3827 Fix CompactProtocol readI64 function
This closes #1008 and closes #1052
2016-08-20 18:37:53 +09:00
Jens Geyer
bcad91771b THRIFT-2156: fix errno handling in server socket
Client: C++
Patch: Jens Geyer

This closes #1055
2016-07-24 19:10:55 +02:00
Jim King
e5176241c3 THRIFT-2156: fix errno handling in server socket
Client: C++
Patch: Jim King <jim.king@simplivity.com>

This closes #1033
2016-07-24 19:10:01 +02:00
ZhiyuYin
47f9b9d7c8 THRIFT-3855 In the go simple server, if Stop() is called multiple times it hangs
Client: Go
Patch: ZhiyuYin <yinzhiyu@xiaomi.com>

This closes #1028
2016-07-23 15:15:18 +02:00
Nobuaki Sukegawa
e1b8540a0a THRIFT-3884 Fix Erlang compact protocol double endianess and boolean list
This close #1051
2016-07-23 16:52:53 +09:00
Веселов Андрей
8ab38b6b95 THRIFT-3820 Erlang: Detect OTP >= 18 to use new time correction
erlang:now/0 is deprecated BIF.
See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.

This closes #1000
2016-07-23 15:12:42 +09:00
Jim King
5871d2c9fb THRIFT-3038 Fix a couple races and removed volatile per analysis, replacing with atomics
This close #981
2016-07-23 15:12:38 +09:00
Jim King
1654fe99af THRIFT-3476: fix missing header
This closes #1032
2016-07-18 23:21:14 +09:00
Vince Foley
d150f8b41e THRIFT-3880 Erlang Compact protocol - boolean values inverted
This closes #1049
2016-07-18 23:21:00 +09:00
Jim King
b6983df867 THRIFT-3848: Perl ForkingServer must ignore SIGCHLD to avoid infinite loop
Client: Perl
Patch: Jim King <jim.king@simplivity.com>

This closes #1040
2016-07-17 18:00:24 +02:00
dtmuller
4300b72b2d THRIFT-3879 Undefined evaluation order causes incorrect processing in the C++ library JSON protocol
Client: C++
Patch: Daniel Mueller <dtmuller@web.de>

This closes #1050
2016-07-17 17:44:20 +02:00
Connor Gorman
f384076760 THRIFT-3851 Golang thrift continually adds the x/thrift content type
Client: Go
Patch: Connor Gorman <cgorman@medallia.com>

This closes #1026
2016-07-15 23:33:23 +02:00
Mark Erickson
4082ef8068 THRIFT-3869 Remove Dart packages during make clean
Client: Dart
Patch: Mark Erickson <mark.erickson@workiva.com>

This closes #1047
2016-07-15 23:04:38 +02:00
Jim King
5a3f855b4e THRIFT-3768 fix TThreadedServer refactoring issues with client lifetime guarantees
Client: C++
Patch: Jim King <jim.king@simplivity.com>

This closes #980
2016-07-08 22:08:22 +02:00
Jens Geyer
e5fbedd29f Revert "THRIFT-3768 fix TThreadedServer refactoring issues with client lifetime guarantees"
This reverts commit 0b433de5d5.
2016-07-08 22:00:37 +02:00
tpcwang
0af1aa1bd6 THRIFT-3753 TServerFramework::stop may fail to interrupt connected clients
Client: C++
Patch: tpcwang <tpc.wang@gmail.com>

This closes #959
2016-06-16 22:09:33 +02:00
Jim King
0b433de5d5 THRIFT-3768 fix TThreadedServer refactoring issues with client lifetime guarantees
Client: C++
Patch: Jim King <jim.king@simplivity.com>

This closes #977
2016-06-16 22:00:56 +02:00
Steve Cohen
7ea4a87fc5 THRIFT-3834 Erlang namespacing and exception metadata
Client: Erlang
Patch: Steve Cohen <steve@pinterest.com>

This closes #1027
2016-06-14 21:57:24 +02:00
Jim King
61b170845f THRIFT-3233 fix accounting of workers in thread manager
Client: C++
Patch: Jim King <jim.king@simplivity.com>

This closes #992
2016-06-14 21:56:00 +02:00
Nobuaki Sukegawa
4b7dbe3cf2 THRIFT-3825 Javascript test dependency is no longer available 2016-06-09 04:04:18 +09:00
Mark Erickson
e1abc8b2f3 THRIFT-3849 Port Go serializer and deserializer to Dart
Client: Dart
Patch: Keaton Carter <keaton.carter@workiva.com>

This closes #1023
2016-06-07 16:24:23 -05:00
Jens Geyer
7407e2e2f3 Revert "THRIFT-3834 Erlang namespacing and exception metadata"
This reverts commit c8deed8cba.
2016-06-07 21:42:09 +02:00
Steve Cohen
c8deed8cba THRIFT-3834 Erlang namespacing and exception metadata
Client: Erlang
Patch: Steve Cohen
2016-06-06 23:10:10 +02:00
Oleksii Prudkyi
39a09ac5e4 THRIFT-3833 haxe http server implementation (by embeding into php web server)
Client: Haxe
Patch: Oleksii Prudkyi <Oleksii.Prudkyi@gmail.com> + some modifications by Jens Geyer

This closes #1013
This closes #1020
2016-05-29 00:43:13 +02:00
Jens Geyer
26b36dc61e THRIFT-3843 integer issues with Haxe PHP targets cause ZigZag encoding to fail
Client: Haxe
Patch: Jens Geyer
2016-05-28 23:22:51 +02:00
Michael Scott Leuthaeuser
5f06802c73 THRIFT-3805 Golang server susceptible to memory spike from malformed message
Client: Go
Patch: Michael Scott Leuthaeuser <scott.leuthaeuser@gmail.com>
2016-05-28 13:31:33 +02:00
Mark Erickson
839b9320a8 THRIFT-3841 Dart compact protocol incorrectly serializes/deserialized doubles
Client: Dart
Patch: Brian Shannan <brian.shannan@workiva.com>

This closes #3841
2016-05-25 10:19:52 -05:00
Nobuaki Sukegawa
8cc9175ae8 THRIFT-3814 Fix contention in TNonblockingServerTest
This closes #1005
2016-05-15 00:24:41 +09:00
Randy Abernethy
d7f87aa5f2 THRIFT-3787: connection close code fix for ssl
CLIENT: Node
PATCH: JAMES REGGIO james.reggio@gmail.com

This closes #986
commit 449b1d711f91a9252b64351a71e44945e4432911
Author: James Reggio <james.reggio@gmail.com>
Date: 2016-04-13T23:33:40Z
THRIFT-3787 Fix Node.js Connection object error handling
The `connected` property on a Connection instances was not accurately
maintained if reconnection retries are not enabled.
Furthermore, reconnection retries are not possible with secure sockets,
so this commit returns early in that case, preventing long delays.
2016-05-12 22:02:58 -07:00
Randy Abernethy
9b954e6a46 THRIFT-3789: Add destroy connection feature to node
Client: Nodejs
Patch: James Reggio

Github Pull Request:
This closes #989
commit b2907fd207736ec95f37919528f6dc6990f007c8
Author: James Reggio <james.reggio@gmail.com>
Date: 2016-04-18T19:49:50Z
THRIFT-3789 Add `destroy` to Connection instance
This commit proxies the `destroy` method from the Thrift Connection
object to its underlying socket, akin to the existing `end` method.
Without `destroy`, it's possible for a failed TLS socket to hold the
Node.js process open. (Calling `end` is not sufficient to close the OS
handle because `end` sends a FIN packet, which is never acknowledged by
the server.)
2016-05-05 19:01:04 -07:00
BCG
ea0da97d44 THRIFT-3803 - Remove file attribute from include elements in XML generator
Client: XML/XSD
Patch: Benjamin Gould <bgould@users.noreply.github.com>

This closes #996
2016-04-29 23:29:29 +02:00
Jens Geyer
eed661313f THRIFT-3809 wrong/unused BINARY type code
Client: Go
Patch: Jens Geyer
2016-04-29 23:29:26 +02:00
Mahendran Kathirvel
7c3eac3ee2 THRIFT-3808 Missing DOUBLE in thrift type enumeration
Client: Go
Patch: Mahendran Kathirvel <astromahi@gmail.com>

This closes #1001
2016-04-29 23:29:24 +02:00
Kyle Johnson
e363a34e63 THRIFT-3794 Fixing exception types in library now that they have been split up
Client: Delphi
Patch: Kyle Johnson <kyle@powerworld.com>

This closes #993
2016-04-23 09:24:20 +02:00
Jens Geyer
e0e3240d64 THRIFT-3794 Split Delphi application, protocol and transport exception subtypes into separate exceptions
Client: Delphi
Patch: Kyle Johnson
2016-04-21 22:58:53 +02:00
Jens Geyer
ae985dda55 THRIFT-3790 Fix Delphi named pipe client to use timeout even when pipe doesn't yet exist
Client: Delphi
Patch: Kyle Johnson

The final fix.
2016-04-21 22:54:14 +02:00
Jens Geyer
653f0de481 THRIFT-3790 Fix Delphi named pipe client to use timeout even when pipe doesn't yet exist
Client: Delphi
Patch: Jens Geyer

Added separate "open" timeout to have the ability to decouple pipe connection timeouts from tramsmission timeouts.
2016-04-20 12:47:58 +02:00
Jens Geyer
bea9bbe7c6 THRIFT-3487 Full support for newer Delphi versions
Client: Delphi
Patch: Kyle Johnson

Slight refactoring plus some IFDEFs and the missing ASF header added by Jens Geyer
2016-04-20 00:43:48 +02:00
Jens Geyer
dd074e714a THRIFT-3792 Timeouts for anonymous pipes should be configurable
Client: Delphi
Patch: Kyle Johnson
2016-04-19 23:36:28 +02:00
Jens Geyer
b89b5b9d03 THRIFT-3790 Fix Delphi named pipe client to use timeout even when pipe doesn't yet exist
Client: Delphi
Patch: Kyle Johnson & Jens Geyer
2016-04-19 23:36:27 +02:00
Jens Geyer
5988f48006 THRIFT-3791 Delphi pipe client may fail even in a non-error condition
Client: Delphi
Patch: Kyle Johnson
2016-04-19 23:36:26 +02:00
Jens Geyer
9f7f11e73b THRIFT-3788 Compatibility improvements and Win64 support
Client: Delphi
Patch: Jens Geyer

Revised previous patch.
2016-04-14 23:20:52 +02:00
Nick
4f5229e4a7 THRIFT-3788 Compatibility improvements and Win64 support
Client: Delphi
Patch: Nick Homolibere

Tested on XE, XE5, XE8, XE10

This closes #987
2016-04-14 23:20:16 +02:00
Randy Abernethy
3ca89e60d2 THRIFT-2821: Add HTTP header support to JavaScript lib
Client: JavaScript lib
Patch: David Sautter

Adds a customHeaders field to the XHR transport options
supporting multiple key-value custom HTTP headers to pass
with the request.
2016-04-13 06:24:57 -07:00
Randy Abernethy
0ea6c1d5d7 THRIFT-3786: Node TLS emits 'connect' before connection is ready
Client: Node
Patch: James Reggio

This closes #985
commit b76bad70826d539ddfb26b5277ff3bc09ffa9803
Author: James Reggio <james.reggio@gmail.com>
Date: 2016-04-11T17:53:12Z
THRIFT-3786 Fix premature firing of `connect` event for secure sockets
2016-04-11 14:31:19 -07:00
Nobuaki Sukegawa
3aa461b97b Revert "THRIFT-3746 JSON protocol left in incorrect state on read errors"
This reverts commit 51850abb7e.
2016-04-10 18:18:10 +09:00
Mark Erickson
8b0b7e5eb4 THRIFT-3780 Use fixnum Int64 to write/read binary encoded i64
Client: Dart
Patch: Steven Osborne <steven.osborne@webfilings.com>

This closes #983
2016-04-07 21:12:25 -05:00
creker
ca714c4397 THRIFT-3467 Go Maps for Thrift Sets Should Have Values of Type struct{}
Client: Go
Patch: artem antonenko <sam901@yandex.ru>

This closes #976
2016-04-06 22:53:25 +02:00
Tyler Treat
51850abb7e THRIFT-3746 JSON protocol left in incorrect state on read errors
Client: Go
Patch: Tyler Treat <tyler.treat@webfilings.com>

This closes #955
2016-04-06 22:38:55 +02:00
Tyler Treat
cdc83335d6 THRIFT-3771 TBufferedTransport gets in invalid state on read/write errors
Client: Go
Patch: Tyler Treat

This closes #973
2016-04-01 20:53:37 +02:00
tpcwang
3bf5bf9933 THRIFT-3755 TDebugProtocol::writeString hits assert in isprint on Windows with debug CRT
This closes #960
2016-03-29 12:03:34 +09:00
Chandler May
6657b8337d THRIFT-3765 fix memory leak in python compact protocol extension
This closes #970
2016-03-29 12:03:34 +09:00
Mark Goldfinch
4ab9a88496 THRIFT-3764: Ensure PHP TSimpleJSONProtocol and TMultiplexedProtocol files included during "make install"
This closes #969
2016-03-29 12:03:34 +09:00
tpcwang
f98d59fc82 THRIFT-3757 Fix various compile warnings with VS2015
This closes #962
2016-03-29 12:03:34 +09:00
tpcwang
d42d8be78f THRIFT-3758 TApplicationException::getType and TProtocolException::getType should be const
This closes #963
2016-03-29 12:03:34 +09:00
Nobuaki Sukegawa
abbc8d0ec1 THRIFT-3763 Fix serialization of i64 larger than 2^53 for browserify
This closes #968
2016-03-29 12:03:34 +09:00
Nobuaki Sukegawa
1d9fd75712 Fix C# make dist entries 2016-03-20 00:28:33 +09:00
Nobuaki Sukegawa
73d16378c5 More make dist entries 2016-03-19 23:53:05 +09:00
Nobuaki Sukegawa
834f1b45c7 Add make dist entires for THRIFT-3402 2016-03-19 22:31:40 +09:00
Nobuaki Sukegawa
400ae6e76e THRIFT-3449 TBaseAsyncProcessor fb.responseReady() never called for oneway functions 2016-03-18 23:53:41 +09:00
Nobuaki Sukegawa
e134cbc6ff Update make dist entries 2016-03-18 22:37:02 +09:00
Tyler Treat
1d4a4393c9 THRIFT-3743 Java JSON protocol left in incorrect state when an exception is thrown during read or write operations
This closes #952
2016-03-18 22:37:02 +09:00
Josh Elser
b3a42dd050 THRIFT-3479 Avoid returning a message to a client on TException. 2016-03-18 22:37:02 +09:00
Nobuaki Sukegawa
a8765276d8 THRIFT-3680 Java async processor fails to notify errors to clients
This closes #903
2016-03-18 22:35:39 +09:00
Nobuaki Sukegawa
c3072227c0 Follow-up THRIFT-3112: key.cancel when error 2016-03-18 22:34:38 +09:00
John Sirois
bd964c7f34 THRIFT-3112 [Java] AsyncMethodCallback should be typed in generated AsyncIface
The parametrization brings the existing actual parametrization with
client call implementation objects to the fore and so this change
also fixes that parametrization to be a simple parametrization over
the return type as is done in the server-side AsyncProcessor code.

NB: This is a breaking change in both generated code and the client
libs.

This closes #840
2016-03-18 22:33:38 +09:00
Nobuaki Sukegawa
a4f9640321 THRIFT-3723 Fix Lua include path
This closes #934
2016-03-18 15:25:59 +09:00
Wang Yaofu
e432c6b828 THRIFT-3728 http transport for thrift-lua
This closes #938
2016-03-18 04:40:46 +09:00
Nobuaki Sukegawa
b819260c65 THRIFT-3736 C++ library build fails if OpenSSL does not surrpot SSLv3
This closes #944
2016-03-18 04:40:35 +09:00
Wang Yaofu
7f6ea4e7fe THRIFT-3744 The precision should be 17 (16 bits need after dot) after dot for double type.
This closes #948
2016-03-17 01:26:24 +09:00
Nobuaki Sukegawa
8e1fd86985 THRIFT-3739 Deprecation warning in codegen/base.d
This closes #946
2016-03-17 01:26:16 +09:00
Jens Geyer
1d20a370d2 THRIFT-3742 haxe php cli support
Client: Haxe
Patch: Oleksii Prudkyi + minor changes from Jens Geyer

This closes #950
2016-03-16 09:59:47 +02:00
Jens Geyer
aadcf34cbf THRIFT-3740 Fix haxelib.json classpath
Client: Haxe
Patch: Oleksii Prudkyi
2016-03-15 00:34:08 +02:00
Jens Geyer
ccce919abc THRIFT-3741 haxe test is broken
Client: Haxe
Patch: Oleksii Prudkyi
2016-03-15 00:33:05 +02:00
Chandler May
1fa273be50 THRIFT-2980 Accept external buffer in thrift_memory_buffer constructor
This closes #821
2016-03-13 19:15:18 +09:00
Nobuaki Sukegawa
74f583cf60 THRIFT-3724 Fix incorrect timeval conversion in libevent.d
This closes #936
2016-03-13 09:00:30 +09:00
Wang Yaofu
f9867ed19e THRIFT-3734 D To compare two string as lowercase.
it looks unexpected result got when parameter a is uppercase and b is lowercase.
split[0] is string of 'Content-Length', it contains character with uppercase.

This closes #942
2016-03-13 08:35:57 +09:00
Tyler Treat
5025a302c6 THRIFT-3735 JSON protocol left in incorrect state when an exception is thrown during read or write operations
Client: Go
Patch: Tyler Treat <tyler.treat@webfilings.com>

This closes #943
2016-03-11 23:23:50 +01:00
Liyin Tang
f5399b2f55 THRIFT-3714 Define TProtocolException in js/src/thrift.js
This closes #926
2016-03-11 00:06:03 +01:00
Jens Geyer
30ed90e065 THRIFT-3733 Socket timeout improvements
Client: Delphi
Patch: Jens Geyer
2016-03-10 20:12:49 +01:00
Jens Geyer
6f6aa8a406 THRIFT-3733 Socket timeout improvements
Client: Delphi
Patch: Jens Geyer

Socket timeout improvements, plus some code cleanup and preparation for "new" Delphi sockets.
2016-03-10 20:10:16 +01:00
Nobuaki Sukegawa
33331a3279 THRIFT-3731 Perl multiplex test is flaky
This closes #941
2016-03-10 11:34:49 +09:00
Nobuaki Sukegawa
3fe8b0fe85 THRIFT-3729 Restrict rake version
This closes #939
2016-03-09 19:55:48 +09:00
Helgi Kristvin Sigurbjarnarson
f2b7a4805f THRIFT-3726 Fix incorrect conditional in TMultiplexedProtocol.py
This closes #661
2016-03-09 17:23:48 +09:00
Nobuaki Sukegawa
356c998658 Add missing make dist entry 2016-03-09 10:36:12 +09:00
Jens Geyer
65b17466d5 THRIFT-3720 TTcpSocketStreamImpl.Read() returns 0 if not all requested bytes could be read
Client: Delphi
Patch: Jens Geyer
2016-03-09 00:09:54 +01:00
Pascal Bach
af9d2ac69e THRIFT-3704 Treat the case where we are not able to refill the buffer the same as the EOL case.
Client: C++
Transport: HTTP
2016-03-06 22:44:13 +01:00
Nobuaki Sukegawa
8b791b270e THRIFT-3711 Add D to cross language test
This closes #923
2016-03-06 09:45:42 +09:00
Nobuaki Sukegawa
5bac5ba8bf THRIFT-3712 TTornadoServer cannot handle IPv6 address
This closes #924
2016-03-06 09:45:34 +09:00
Nobuaki Sukegawa
d9b4425f68 follow-up: THRIFT-3599 Validate client IP address against cert's SubjectAltName
Client: Python
Patch: Nobuaki Sukegawa

Fix required version of Python or dependency

This closes #914
2016-03-05 22:53:48 +09:00
Chandler May
1ccd81bfbc THRIFT-3569 Add thrift_transport_read_all to facilitate large reads in c_glib.
Client: c_glib
Patch: Chandler May

This closes #849
2016-03-05 22:53:28 +09:00
Nobuaki Sukegawa
2cc4764d0e THRIFT-3713 lib/d/test/thrift_test_runner.sh is flaky on Jenkins
Client: Test (D)
Patch: Nobuaki Sukegawa

This closes #925
2016-03-05 22:53:28 +09:00
Nobuaki Sukegawa
4d28b60873 THRIFT-3695 Fix D test scripts
This closes #911
2016-03-02 23:44:23 +09:00
Nobuaki Sukegawa
327d1345b6 THRIFT-3693 Fix include issue in C++ TSSLSocketInterruptTest on Windows
This closes #910
2016-03-02 23:44:23 +09:00
Nobuaki Sukegawa
f7a8d946a0 THRIFT-3699 Fix integer limit symbol includes in Python C extension
This closes #915
2016-03-02 23:44:23 +09:00
Mark Erickson
b5f126f6d6 THRIFT-3637 Implement compact protocol for dart
This closes #916
2016-02-29 15:27:59 -06:00
Nobuaki Sukegawa
d479e23a1d THRIFT-3691 Run flake8 Python style check on Travis-CI
Client: Build (Python)
Patch: Nobuaki Sukegawa

This closes #907
2016-02-28 12:05:14 +09:00
laozhp
2655f4b536 THRIFT-3689 thrift_reconnecting_client start failed when server is not available
Client: Erlang
Patch: laozhp

When first time reconnect without a success call, line 214: Backoff = 2 * R, will cause exception, because R is undefined. Set reconn_time's default value to 0 resolved this.

This closes #895
2016-02-28 11:35:32 +09:00
Teddy Reed
937228e030 THRIFT-3667 C++: Add TLS SNI support to clients 2016-02-27 10:31:46 +01:00
Nobuaki Sukegawa
ce283d5664 THRIFT-3679 Add stdout log to testBinary in Java test server
Client: Test (Java)
Patch: Nobuaki Sukegawa

This closes #899
2016-02-27 16:55:55 +09:00
Nobuaki Sukegawa
3b4c5fadfd THRIFT-3678 Fix javadoc errors on JDK 8
Client: Java
Patch: Nobuaki Sukegawa

This closes #898
2016-02-27 16:55:55 +09:00
Nobuaki Sukegawa
aa7d0d5f2a THRIFT-3677 Improve CMake Java build
This closes #897
2016-02-27 16:55:55 +09:00
Jens Geyer
a61e50540e THRIFT-3668 range check error in compact protocol
Client: Delphi
Patch: Jens Geyer
2016-02-23 16:33:38 +01:00
Nobuaki Sukegawa
3e5b9c275e THRIFT-3663 CMake cpp test fails to build on system without zlib
Client: Build (C++)
Patch: Nobuaki Sukegawa

This closes #890
2016-02-22 23:27:01 +09:00
Nobuaki Sukegawa
a4e0c92fd4 THRIFT-3661 Use https to download meck in erlang test build
Client: Build (Ernalg)
Patch: Nobuaki Sukegawa

This closes #888
2016-02-22 23:26:27 +09:00
Nobuaki Sukegawa
f32bae7a89 THRIFT-3651 Make backports.match_hostname and ipaddress optional
Client: Python
Patch: Nobuaki Sukegawa

This closes #880
2016-02-22 23:25:32 +09:00
Tristen Georgiou
a72ffbea4d THRIFT-3649 Python TSaslClientTransport initializes TTransportException incorrectly
Client: Python
Patch: Tristen Georgiou modified by Nobuaki Sukegawa

This closes #879
2016-02-22 23:24:31 +09:00
Nobuaki Sukegawa
2303d978c0 THRIFT-3577 assertion failed at line 512 of testcontainertest.c
Client: Test (c_glib)
Patch: Nobuaki Sukegawa

This closes #882
2016-02-22 02:47:06 +09:00
Nobuaki Sukegawa
37a122271f THRIFT-3647 Fix php extension build warnings
Client: PHP
Patch: Nobuaki Sukegawa

This closes #878
2016-02-20 00:45:35 +09:00
Nobuaki Sukegawa
7efa4fb9b1 THRIFT-3646 Fix Python extension build warnings
Client: Python
Patch: Nobuaki Sukegawa

This closes #877
2016-02-20 00:45:35 +09:00
Nobuaki Sukegawa
b16a0a94fc THRIFT-3643 Perl SSL server crushes if a client disconnect without handshake
Client: Perl
Patch: Nobuaki Sukegawa

This closes #874
2016-02-20 00:15:52 +09:00
Wang Yaofu
19a3a2771a THRIFT-3631 JSON protocol implement for thrift-lua library.
THRIFT-3631 Lua-This is JSON protocol implement for thrift-lua library.
TJsonProtocol.lua is new source of lua for thrift JSON protocol.
2016-02-19 01:06:05 +09:00
Nobuaki Sukegawa
474ddbd06d THRIFT-3639 C# Thrift library forces TLS 1.0, thwarting TLS 1.2 usage
Client: C#
Patch: Nobuaki Sukegawa

This closes #871
2016-02-19 01:06:05 +09:00
Nobuaki Sukegawa
e1e09c7967 THRIFT-3641 Ruby client should try to connect to every result of getaddrinfo
Client: Ruby
Patch: Nobuaki Sukegawa

This closes #872
2016-02-19 01:06:05 +09:00
Wang Yaofu
0433d171f6 THRIFT-3636 Double precision is not fully preserved in C++ TJSONProtocol
Client: C++
Patch: Wang Yaofu

This closes #870
2016-02-17 23:55:28 +09:00
John Sirois
dc29eec5c6 THRIFT-3609 Remove or replace TestPortFixture.h.
Client: Test (C++)
Patch: John Sirois

Removed since it is no longer used.

This closes #869
2016-02-17 23:21:51 +09:00
Nobuaki Sukegawa
1c8b5cb152 THRIFT-3634 Fix Python TSocket resource leak on connection failure
Client: Python
Patch: Nobuaki Sukegawa

This closes #867
2016-02-17 23:21:51 +09:00
Jens Geyer
01a8983e24 THRIFT-3638 Fix haxelib.json
Client: Haxe
Patch: Jens Geyer
2016-02-16 01:09:50 +01:00
Nobuaki Sukegawa
66f5053140 THRIFT-3614 Improve logging of test_sslsocket.py
Suppress server exception log for expected connection failures
Client: Test (Python)
Patch: Nobuaki Sukegawa

This closes #866
2016-02-14 22:47:19 +09:00
Roshan George
949e242ec8 THRIFT-2877 Generate hashCode using primitives and static utility methods
Client: Java
Author: Roshan George <roshan@arjie.com>

The TBaseHelper.hashCode methods are the Java 8 implementations of hashCode for
those types.

This closes #448
2016-02-14 22:47:19 +09:00
John Sirois
919752ca2f THRIFT-3628 Fix lib/cpp/test/TServerIntegrationTest.cpp to use ephemeral ports.
Client: Test (C++)
Patch: John Sirois

This was already the case for most of the suite, which, besides the one
fixed constructor, retrieved the port to dynamically already.

This closes #859
2016-02-14 22:47:19 +09:00
John Sirois
9bd3530b97 THRIFT-3626 Fix lib/cpp/test/TSocketInterruptTest.cpp to use ephemeral ports.
Client: Test (C++)
Patch: John Sirois

Instead of using a fixed port, use an ephemeral port to improve
robustness and make way for parallelizability.

This change has an undesirable amount of repeated code but this fact is
not different from the prior so being a bit expedient here. Ideally
setup of a `TServerSocket` listening on an ephemeral port would be DRYed
up into a helper of some sort.

This closes #857
2016-02-14 22:47:19 +09:00
John Sirois
cab5600663 THRIFT-3624 Fix lib/cpp/test/TServerSocketTest.cpp to use ephemeral ports.
Client: Test (C++)
Patch: John Sirois

Instead of using a fixed port, use an ephemeral port to improve
robustness and make way for parallelizability.

This closes #855
2016-02-14 22:47:18 +09:00
John Sirois
b867b27c5d THRIFT-3621 Fix cpp/lib/test/TSSLSocketInterruptTest.cpp to use ephemeral ports.
Client: Test (C++)
Patch: John Sirois

Instead of using a fixed port, use an ephemeral port to improve
robustness and make way for parallelizability.

This change has an undesirable amount of repeated code but this fact is
not different from the prior so being a bit expedient here.  Ideally
setup of a `TSSLServerSocket` listening on an ephemeral port would be
DRYed up into a helper of some sort.

This closes #854
2016-02-14 22:47:18 +09:00
Jens Geyer
4733c4c535 THRIFT-3605 Have the compiler complain about invalid arguments and options
Client: Compiler (general)
Patch: Jens Geyer

This closes #862
2016-02-14 11:10:42 +01:00
John Sirois
8d289472c0 THRIFT-3625 Kill unused #include "TestPortFixture.h" in lib/cpp/test/TServerTransportTest.cpp.
Client: Test (C++)
Patch: John Sirois

This closes #856
2016-02-13 23:12:34 +09:00
John Sirois
9f0d9619d2 THRIFT-3621 Fix lib/cpp/test/SecurityTest.cpp to use ephemeral ports
Client: Test (C++)
Patch: John Sirois

Instead of using a fixed port, use an ephemeral port to improve
robustness and make way for parallelizability.

This closes #853
2016-02-13 23:12:34 +09:00
Nobuaki Sukegawa
6a0ca7ff27 THRIFT-3618 Python TSSLSocket deprecation message should print caller's location
Client: Python
Patch: Nobuaki Sukegawa

This closes #852
2016-02-13 23:12:34 +09:00
Nobuaki Sukegawa
7af189a236 THRIFT-3613 Port Python C extension to Python 3
Client: Python
Patch: Nobuaki Sukegawa

This closes #845
2016-02-13 23:12:34 +09:00
Nobuaki Sukegawa
6525f6ae87 THRIFT-3612 Add Python C extension for compact protocol
Client: Python
Patch: Nobuaki Sukegawa

This closes #844
2016-02-13 23:12:34 +09:00