Commit Graph

3253 Commits

Author SHA1 Message Date
Alex Şuhan
20116c6c0c THRIFT-3821 Check for overflow on buffer resize in TMemoryBuffer
Client: C++

This closes #1326
2017-08-12 20:03:19 -07:00
James E. King, III
c60b69b376 THRIFT-4284: remove extraneous character
Client: js

This closes #1330
2017-08-12 16:19:04 -07:00
James E. King, III
237a394add THRIFT-3974: fix ThreadSanitizer identified issues
Client: C++

This closes #1331
2017-08-12 16:15:59 -07:00
Gregor Reitzenstein
a718ad4837 Renames Thrift.cabal to fix THRIFT-3963
Client: hs

This closes #1265
2017-08-10 23:21:30 -04:00
Josip Sokcevic
3f07967a79 THRIFT-4248: Import cstring in TSSLSocket
Client: C++

strncpy, memcmp, memset are used in TSSLSocket so cstring needs to be
imported.

This closes #1307
2017-08-10 23:12:51 -04:00
Håkon Hitland
2f03618a6c THRIFT-4274: Catch OSError in TSSLServerSocket.accept()
Client: py

This closes #1321

wrap_socket can raise OSError instead of SSLError when receiving an
invalid connection attempt, which if not caught crashes TSimpleServer
and causes the feature tests to fail.
2017-08-10 15:39:09 -04:00
James E. King, III
82ae9575cd THRIFT-2221: detect C++11 and use std namespace for memory operations (smart_ptr)
Client: C++

This closes #1328
2017-08-10 13:27:21 -04:00
Divya Thaluru
808d143245 THRIFT-4276:Add SSL support to the C++ Nonblocking Server
Client: C++ Lib
Patch: Divya Thaluru

Github Pull Request:

    This closes #1251
2017-08-06 16:36:36 -07:00
David Hull
e544a89924 THRIFT-4266 Erlang library throws during skipping fields of composite type (maps, lists, structs, sets)
Client: Erlang
Patch: David Hull <david.hull@openx.com>

This closes #1316
2017-08-05 14:04:21 +02:00
David Hull
0eda909573 THRIFT-4270 Generate Erlang mapping functions for const maps and lists
Client: Erlang
Patch: David Hull <david.hull@openx.com>

This closes #1320
2017-08-02 22:20:42 +02:00
David Hull
ec2a252136 THRIFT-4269 Don't append '.' to Erlang namespace if it ends in '_'.
Client: Erlang
Patch: David Hull <david.hull@openx.com>

This closes #1319
2017-08-01 00:38:55 +02:00
David Hull
ed9e75f625 THRIFT-4268 Erlang library emits debugging output in transport layer
Client: Erlang
Patch: David Hull <david.hull@openx.com>

This closes #1317
2017-07-27 23:02:02 +02:00
Jens Geyer
f790445d7c THRIFT-4262 Invalid binding to InterlockedCompareExchange64() with 64-bit targets Client: Delphi Patch: Jens Geyer 2017-07-26 22:16:09 +02:00
taozle
5c302e02c4 THRIFT-4260 Go context generation issue. Context is parameter in Interface not in implementation
Client: Go
Patch: taozle <zhangliyang26@gmail.com>

This closes #1312
2017-07-25 00:17:30 +02:00
taozle
c0d384a38c THRIFT-4236 Support context in go generated code
Client: Go
Patch: taozle <zhangliyang26@gmail.com>

This closes #1309
2017-07-22 19:42:48 +02:00
D. Can Celasun
0dd823580c THRIFT-4219 remove http GET functions, Thrift only uses POST
Client: Go
Patch: D. Can Celasun <dcelasun@gmail.com>

This closes #1287
2017-07-11 23:10:05 +02:00
Zachary Wasserman
5e9209ff0f THRIFT-4237 Fix effective deadlock introduced by original patch
Client: Go
Patch: Zachary Wasserman <zachwass2000@gmail.com>

This closes #1304
2017-07-08 15:35:42 +02:00
Eric Conner
b56ead3115 THRIFT-2642 Recursive structs don't work in python
Client: Python
Patch: Eric Conner <eric@pinterest.com>

Fix whitespace for flake8.

This closes #1305
2017-07-07 20:51:00 +02:00
Eric Conner
c34653f751 THRIFT-2642 Recursive structs don't work in python
Client: Python
Patch: Eric Conner <eric@pinterest.com>

This closes #1293
2017-07-06 22:59:10 +02:00
liduo04
49e5103920 THRIFT-4245 Golang TFramedTransport's writeBuffer increases if writes to transport failed
Client: Go
Patch: liduo04 <pirdol@qq.com>

This closes #1303
2017-07-05 21:59:07 +02:00
taozle
5b4c6bfc62 THRIFT-4236: Add context support for go server.
Client: Go
Patch: taozle <zhangliyang26@gmail.com>

This closes #1298
2017-07-01 17:23:56 +02:00
Zachary Wasserman
c0a7050c0a THRIFT-4237 Fix data races in Go TServerSocket
Client: Go
Patch: Zachary Wasserman <zachwass2000@gmail.com>

This closes #1300
2017-07-01 16:05:10 +02:00
Zachary Wasserman
c1794358bb THRIFT-4243 Fix Go TSimpleServer race on wait in Stop() method
Client: Go
Patch: Zachary Wasserman <zachwass2000@gmail.com>

This closes #1302
2017-07-01 16:01:12 +02:00
Zachary Wasserman
b771cbedd6 THRIFT-4240 Fix use of sync.Once in Go TSimpleServer Stop() method
Client: Go
Patch: Zachary Wasserman <zachwass2000@gmail.com>

This closes #1301
2017-07-01 16:00:02 +02:00
Stig Bakken
c0e353500d THRIFT-4238 JSON generator: make annotation-aware
Client: json
Autor: Stig Bakken <stig@zedge.net>

This closes #1299
2017-07-01 15:51:14 +02:00
Zachary Wasserman
b8ee72de5b THRIFT-4222 Support Unix Domain Sockets in Golang TServerSocket
Client: Go
Patch: Zachary Wasserman <zachwass2000@gmail.com>

This closes #1284
2017-06-07 22:45:54 +02:00
Klaus Trainer
48ea3cde08 THRIFT-4218: Set TCP_NODELAY for PHP client socket
Client: PHP
Patch: Klaus Trainer

This closes #1283
2017-06-06 13:59:53 +02:00
D. Can Celasun
8da0e720bb THRIFT-4215 Golang TTransportFactory Pattern Squelches Errors
Client: Go
Patch: D. Can Celasun <can@dcc.im>

This closes #1285
2017-06-05 14:22:06 +02:00
Jens Geyer
197b062993 THRIFT-4217 HttpClient should support gzip and deflate
Client: C#
Patch: Jens Geyer
2017-05-31 11:44:34 +02:00
Jens Geyer
695115952d THRIFT-4217 HttpClient should support gzip and deflate
Client: C#
Patch: Jens Geyer

This closes #1282
2017-05-31 09:07:26 +02:00
Jens Geyer
c71bdf85c9 THRIFT-4210 include Thrift.45.csproj into CI runs
Client: C#
Patch: Jens Geyer

This closes #1277
2017-05-27 21:10:32 +02:00
Jens Geyer
5608e43ec8 THRIFT-4208 C# NamedPipesServer not really working in some scenarios Client: C# Patch: Jens Geyer 2017-05-27 11:26:20 +02:00
Jens Geyer
888b577ea6 THRIFT-4209 warning CS0414 in T[TLS]ServerSocket.cs
Client: C#
Patch: Jens Geyer
2017-05-27 11:26:19 +02:00
libinbin
a576896398 THRIFT-4203 thrift server stop gracefully
Client: Go
Patch: libinbin <libinbin@17paipai.cn>

This closes #1271
2017-05-18 23:24:52 +02:00
Jens Geyer
d1380d5299 THRIFT-4190 Improve C# TThreadPoolServer defaults (part 2 of 2)
Client: C#
Patch: Jens Geyer

This closes #1268
2017-05-14 12:57:11 +02:00
D. Can Celasun
b67cad46e4 THRIFT-4197 Implement transparent gzip compression for HTTP transport
Client: Go
Patch: D. Can Celasun <can@dcc.im>

This closes #1266
2017-05-13 13:58:02 +02:00
Sho Nakatani
9a745aa4a9 THRIFT-4198 Ruby should log Thrift internal errors to global logger
Client: Ruby
Patch: Sho Nakatani <lay.sakura@gmail.com>

This closes #1252
2017-05-13 00:28:32 +02:00
Allen George
5862099f37 THRIFT-4196 Support recursive types in Rust
Client: rs
Patch: Allen George <allen.george@gmail.com>

This closes #1267
2017-05-13 00:01:05 +02:00
Allen George
bc1344d55f THRIFT-4186 Add travis build for Rust
Client: rs
Patch: Allen George <allen.george@gmail.com>

This closes #1260
2017-05-11 01:35:33 +02:00
Roshan George
3966a56a87 THRIFT-4193 Lower the default maxReadBufferBytes for non-blocking servers
Client: Java
Patch: Roshan George <rgeorge@liveramp.com>

This closes #1264
2017-05-11 01:26:22 +02:00
Jens Geyer
224c334e50 THRIFT-4190 Improve C# TThreadPoolServer defaults
Client: C#
Patch: Jens Geyer

This closes #1262
2017-05-08 16:53:15 +02:00
Jens Geyer
c54a90d12d THRIFT-4189 Framed/buffered transport Dispose() does not dispose the nested transport
Client: C#
Patch: Jens Geyer
2017-05-06 00:58:05 +02:00
Allen George
0e22c362b9 THRIFT-4176: Implement threaded server for Rust
Client: rs

* Create a TIoChannel construct
* Separate TTransport into TReadTransport and TWriteTransport
* Restructure types to avoid shared ownership
* Remove user-visible boxing and ref-counting
* Replace TSimpleServer with a thread-pool based TServer

This closes #1255
2017-04-27 08:46:02 -04:00
Jens Geyer
9db23b7be3 THRIFT-4183: Named pipe client blocks forever on Open() when there is no server at the other end
Client: C#
Patch: Jens Geyer

This closes #1258
2017-04-27 00:29:52 +02:00
Deniss Afonin
3311a9b237 THRIFT-4177 fix java deep copy
Client: Java

Java compiler produces deep copy constructor that could make shallow copy accidentally.

This closes #1254
2017-04-19 12:38:14 -04:00
771545803@qq.com
2d65c2365f THRIFT-3832: fix lnk 200 error on windows when compile as lib
This closes #1250
2017-04-10 08:55:19 -04:00
Mario Emmenlauer
3db41faf4e THRIFT-4159: enable some Windows sources also on MSYS2
This closes #1248
2017-04-08 00:31:35 -04:00
Allen George
92e1c409c7 THRIFT-4099: Derive Hash trait for Rust structs
Client: rs

This closes #1246
2017-04-07 09:24:41 -04:00
Kazuki Matsuda
b909a3897b THRIFT-3627 fix missing basic code style consistency of JavaScript.
Client: js

This closes #858
This closes #1243
2017-04-06 19:12:28 -04:00
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