Commit Graph

3204 Commits

Author SHA1 Message Date
James E. King, III
3641b54352 THRIFT-4170: fix lua backwards compatibility
Client: lua
Patch: wlgys8 <147668916@qq.com>

This closes #669
This closes #1241
2017-04-06 17:49:05 -04:00
James E. King, III
33df4eb77a THRIFT-4166: fix recent VC2010 build regression and prevent it in the future
Client: cpp

This closes #1237
2017-04-06 08:45:17 -04:00
Changli Gao
257dceff5e THRIFT-4160 (pt. 2): Fix wrong numActiveProcessors_ when failing to notify any IO thread
Client: cpp

This closes #1239
We should decrease numActiveProcessors_ when failing to notify any
IO thread.
2017-04-05 19:29:24 -04:00
James E. King, III
7f5a8c28bc THRIFT-4164: update openssl cleanup to match current requirements and document TSSLSocketFactory lifetime requirements
Client: cpp

This closes #1235
2017-04-04 09:36:38 -04:00
James E. King, III
00d4252392 THRIFT-3978: tighten up pthread mutex implementation, removing asserts and replacing them with exceptions
Client: cpp

This closes #1228
2017-04-04 09:32:45 -04:00
Changli Gao
7e7a1a7c10 TSocket: Don't close connections when failing to read/write
Client: cpp

Sockets maybe registered to a event base of libevent, so the
following epoll_ctl(2) may fail due to EBADF, or may
delete other sockets. Chaos occurs.

This closes #1217
2017-04-02 23:37:14 -04:00
Changli Gao
bf42d55189 THRIFT-4161: TNonblockingServer: Fix using uninitialized event_
Client: cpp

When there are more than one IO threads, and we have failed to notify
one IO threads, then we have to close the connection. But the event_
in that connection isn't initialized. We should use setIdle() instead.

This closes #1216
2017-04-02 23:30:04 -04:00
Changli Gao
d4fa706dca THRIFT-4160: Fix use closed(freed) connections in non-blocking server
Client: cpp

When failing to add tasks into the thread manager, we close the
corresponding connections, then set the flags of these connections,
which have been already freed.

We should decrease the number of active processors.

This closes #1211
2017-04-02 23:24:54 -04:00
Chris Vasselli
df3223c85d THRIFT-3859: Add support for Unix Domain Sockets to TSocketServer and TSocketTransport.
Client: cocoa

TSocketServer and TSocketTransport have been refactored to support sockets created using either a port or a path.
Existing behavior for port-based socket transport is unchanged by this commit.

This closes #1031
2017-04-02 23:14:29 -04:00
Jens Geyer
90b6304901 THRIFT-4157 outdated readme about Haxe installation on Linux
Client: Haxe
Patch: Jens Geyer

This closes #1234
2017-04-02 16:06:08 +02:00
James E. King, III
c6ded922c5 THRIFT-4154: properly close socket whether it is persistent or not on close()
Client: php

This closes #1011
This closes #1233
2017-04-01 23:26:54 -04:00
James E. King, III
d5536d1ea0 THRIFT-3730: go server errors are logged twice
Client: go
Patch: zhujun2006 <stone1342006 at gmail dot com>

This closes #940
2017-04-01 11:21:12 -04:00
Jim Apple
117a5cca77 THRIFT-4138: Remove undefined behavior imported from Boost
Client: C++

There is undefined behavior in boost::lexical_cast that was fixed in
https://github.com/boostorg/lexical_cast/issues/21, but that fix is
only available in recent Boost releases. This patch removes all uses
of lexical_cast instead.

That removes the last undefined behavior, so this patch also makes
ubsan.sh unconditionally fail on undefined behavior.

This closes #1232
2017-04-01 10:51:48 -04:00
James E. King, III
5c3de6d3d2 THRIFT-4140: fix unsafe call to gmtime
Client: C++
Patch: Adriaan Schmidt <adriaan.schmidt@siemens.com>

This closes #1231
2017-04-01 10:46:25 -04:00
tpcwang
bede86a032 THRIFT-3944 TSSLSocket has dead code in checkHandshake
Client: C++

This closes #1110
2017-04-01 10:14:16 -04:00
James E. King, III
7bc943196d THRIFT-4151: disable pthread concurrency analysis code in standard builds
Client: C++

This closes #1229
2017-03-31 21:25:20 -04:00
Chao Sun
c063b30ecd THRIFT-4147: Rust: protocol should accept transports with non-static lifetime
Client: rs

This closes #1226
2017-03-30 17:28:58 -04:00
Flier Lu
1187060183 THRIFT-4113: export thrift::mem::TBufferTransport
Client: rs

This closes #1218
2017-03-30 17:25:10 -04:00
James E. King, III
177c37ce85 THRIFT-4069: perl library cleanup - namespaces, versioning, exception fixes
Client: perl

This closes #1220
2017-03-30 17:09:04 -04:00
kufd
1360270eb8 THRIFT-4126: implement required fields validation in php extension when validate compiler option is enabled
Client: php

This closes #1215
2017-03-30 16:42:11 -04:00
Jim Apple
147c2849af THRIFT-2026: Eliminate some undefined behavior in C/C++
Clients: glib, C++
Patch: Jim Apple <jbapple-impala@apache.org>

This closes #1214

This patch fixes some undefined behavior were found using Clang's
UndefinedBehaviorSanitizer (UBSan). To check for undefined behavior,
run /build/docker/scripts/ubsan.sh. This is run during CI builds, as
well.

The examples of the types of undefined behavior fixed in this commit
are:

1. Enumerations exhibit undefined behavior when they have values
   outside of a range dependent on the values of their enumerators, as
   specified in C++14's chapter 7.2 ("Enumeration declarations"),
   paragraph 8.

2. Left shift of negative values, used in zigzag encoding, is
   undefined behavior. See 5.8 ("Shift operators"), paragraph 2 for
   C++ and 6.5.7 ("Bitwise shift operators"), paragraph 4 for C99 and
   C11.
2017-03-25 08:16:18 -04:00
Jonathan Pearlin
6c08ac72c6 THRIFT-4130: Release connection back to managed pool.
Client: C++

This closes #1212
2017-03-22 20:33:20 -04:00
James E. King, III
847fae9388 THRIFT-3959: document that the go simple server is not simple
Client: go
Patch: JodeZer <jeffery1993@hotmail.com>

This closes #1213
2017-03-22 15:17:30 -04:00
Changli Gao
75386db8c0 THRIFT-4129: Fix fd leak when failing to dispatch new connections
Client: C++

This closes #1210
2017-03-22 15:03:37 -04:00
Yao Jin
6582757752 THRIFT-4029: add MANIFEST.in to include the extension files
Client: py

This closes #1206
2017-03-10 06:24:31 -05:00
James E. King, III
07f59971bd THRIFT-4081: appveyor retooling - added mingw64 build as a second job to the CI build process
This closes #1205
2017-03-10 06:18:33 -05:00
Gonzalo Aguilar Delgado
b79396f799 THRIFT-4108: c_glib ssl implementation fixes - remove global ssl context and more
Client: glib

This closes #1208
2017-03-06 19:09:06 -05:00
Buğra Gedik
36d1b0dea5 THRIFT-3891 TNonblockingServer configured with more than one IO threads does not always return from serve() upon stop()
Client: C++
Patch: additional changes by jking@apache.org to improve the test and stop clean in all cases

This closes #1080
This closes #1196
2017-02-27 23:44:35 -05:00
Christopher Tubbs
5038466e5e THRIFT-1805 Provide option for handling RTEs
Client: Java

Adds a Java option to the generator to generate code which lets Thrift
handle RuntimeExceptions from a service, and present them as
TApplicationException to the client.

This closes #1186
2017-02-27 23:38:44 -05:00
Yao Jin
e2bc972750 THRIFT-4102 remove useless code cause performance problem
Client: python

This closes #1203
2017-02-24 10:28:27 -05:00
Håkon Hitland
e66b8fcde3 THRIFT-3984 PHP7 extension causes segfault
The PHP 7 extension can sometimes free strings it does not own,
when serializing string map keys, or the name of called methods.
The latter case was somewhat migitated since the double-free has no
effect on interned strings.
Using ZVAL_STR_COPY instead of ZVAL_STR will increment the reference
count, making the following destructor call correct.

Fix memory leak in PHP 7

Fix memory leak when deserializing maps or sets.
zend_hash_update will add its own reference to the key, so we need to
destruct the key zval to not leak.
We don't need to destruct the value, the hash table will take ownership
of it.

This closes #1152
2017-02-23 11:43:45 -05:00
James E. King, III
37aac3bb58 THRIFT-3706: added cross test support for backwards compatible multiplexed server, added c_glib testBinary, fixed a number of glib object reference issues
Client: c_glib, java

This closes #1200
2017-02-22 12:46:04 -05:00
Adam Curtis
4361ecc3a1 THRIFT-3801 - Node Thrift client throws exception with multiplexer and responses that are bigger than a single buffer
Client: nodejs

This closes #773
This closes #1063
This closes #1202
2017-02-22 11:24:41 -05:00
D. Can Celasun
43fb34df28 THRIFT-4011 Sets of Thrift structs generate Go code that can't be serialized to JSON
Client: Go
Patch: D. Can Celasun <dcelasun@gmail.com>

This closes #1156
2017-02-21 22:32:49 +01:00
Gonzalo Aguilar Delgado
bc0082e023 THRIFT-3706: Implement multiplexed protocol client and test client for c_glib; test server for java; integrate into crosstest
Client: c_glib

This closes #1191
This closes #1199
2017-02-20 14:04:17 -05:00
James E. King, III
06190874c8 THRIFT-4084: Add a SSL/TLS negotiation check to crossfeature to verify SSLv3 is not active and that at least one of TLSv1.0 through 1.2 are accepted.
Client: csharp, d, go, nodejs, perl

This closes #1197
2017-02-20 08:52:11 -05:00
James E. King, III
239233afb6 THRIFT-4077: fix Appveyor warnings (VS2015) in PlatformSocket.h
Client: C++

This closes #1198
2017-02-20 08:04:12 -05:00
Vivek Jain
655b9b6ef8 THRIFT-3921: Add ostream operator<< functions for enums (working with THRIFT-4060)
Client: C++

This closes #1083
This closes #1194
2017-02-18 14:30:46 -05:00
Aleksey Pesternikov
400b346db2 THRIFT-2504: Add default processor to java multiplexed processor to handle older clients
Client: Java

This closes #114
This closes #1195
2017-02-18 13:58:21 -05:00
James E. King, III
377719c2d8 THRIFT-3272 (THRIFT-4066) fix perl SSL authentication support; fixed error in erlang test client using wrong key file and added CA
Client: Perl

This closes #1189
2017-02-15 14:33:20 -05:00
James E. King, III
b28160b9c3 THRIFT-2364: use oasis to build thrift for ocaml
Client: OCaml
Patch: Spiros Eliopoulos <seliopou@gmail.com>

This closes #1193
2017-02-15 14:23:44 -05:00
James E. King, III
0a660ee285 THRIFT-4084: only join threads if joinable
Client: cpp
Patch: Chris Grebeldinger <cgrebeld@gmail.com>

This closes #1188
2017-02-13 18:25:56 -05:00
James E. King, III
b4c190b6ea THRIFT-4060 add better support in the cpp generator for custom ostream operators on structures
Client: C++

This closes #1172
2017-02-13 16:39:59 -05:00
James E. King, III
36628a28e9 THRIFT-3369 Provide SSL/TLS client for c_glib
Client: c_glib
Patch: Gonzalo Aguilar Delgado <gaguilar@level2crm.com>

This closes #1185
2017-02-13 15:25:41 -05:00
Nobuaki Sukegawa
e8ba7877ba THRIFT-4026 TSSLSocket doesn't work with Python < 2.7.9
This closes #1166
2017-02-12 21:14:48 +09:00
Nobuaki Sukegawa
4626fd889d THRIFT-3938 Python TNonblockingServer does not work with SSL
This closes #1100
2017-02-12 21:11:36 +09:00
James E. King, III
bff044667c THRIFT-4075: better support for headers-only boost with mingw
Client: C++

This closes #1184
2017-02-11 01:18:03 -05:00
James E. King, III
e1832c3543 THRIFT-3622: remove auto_ptr use in the codebase because it is deprecated
Client: C++

This closes #1183
2017-02-10 13:03:10 -05:00
Swati Kumar
3590f1e7ca THRIFT-4072 php: TCurlClient - Add the possibility to send custom headers
Client: php

This closes #1178
2017-02-09 15:12:47 -05:00
James E. King, III
9019b280ea THRIFT-4065 fix SIGCHLD handling for perl ForkingServer and document restrictions
Client: perl

This closes #1176
2017-02-08 20:53:09 -05:00
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