Commit Graph

2891 Commits

Author SHA1 Message Date
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
John Sirois
ac06704a0c THRIFT-3616 Improve TSSLSocketTest robustness.
Client: Test (Python)
Patch: John Sirois

Previously a combination of fixed ports, fixed paths and delays was used
in all TSSLSocketTest tests that involved making a client-server
connection; now ephemeral ports, unique tmp files and no delays for
successful connection tests are all implemented. A delay still remains
for the failed connection tests to allow for SSL handshake initiation
but not wait too long.

This closes #850
2016-02-13 02:32:12 +09:00
John Sirois
9ed45e9a41 THRIFT-3608 lib/cpp/test/SecurityTest is flaky in jenkins Thrift-precommit build.
Client: Test (C++)
Patch: John Sirois

Previously, the deprecated `linux` symbol was tested, but under both g++
and clang++ using `-std=c++11` this deprecated symbol is not defined.
Test the accepted modern standard of `__linux__` instead to ensure the
SIGPIPE ignore is in-effect and the test runs stably.

This closes #848
2016-02-13 02:26:54 +09:00
Simon South
e71f20cd3e THRIFT-3556 c_glib file descriptor transport
Client: C (GLib)
Patch: Chandler May <cjmay4754@gmail.com>

This closes #810
2016-02-11 06:56:31 -05:00
Nobuaki Sukegawa
ce1c8abfa4 THRIFT-3615 Fix Python SSL client resource leak on connection failure
Client: Python
Patch: Nobuaki Sukegawa

This closes #847
2016-02-11 20:07:11 +09:00
Nobuaki Sukegawa
355116eb1d THRIFT-3614 Improve logging of test_sslsocket.py
Client: Test (Python)
Patch: Nobuaki Sukegawa

This closes #846
2016-02-11 20:07:02 +09:00
WangYaofu
c1a78ba6d5 THRIFT-3585 Compact protocol implementation for Lua
This closes #828
2016-02-04 22:20:00 +09:00
Phongphan Phuttha
3b89cc5305 THRIFT-3598 TBufferedTransport doesn't instantiate client connection
Client: Lua
Patch: Phongphan Phuttha

This closes #836
2016-02-04 22:20:00 +09:00
Nobuaki Sukegawa
f39f7dbd26 THRIFT-3599 Validate client IP address against cert's SubjectAltName 2016-02-04 22:20:00 +09:00
Nobuaki Sukegawa
25536ad83a THRIFT-2103 [python] Support for SSL certificates with Subject Alternative Names 2016-02-04 22:20:00 +09:00
Nobuaki Sukegawa
10308cb975 THRIFT-3596 Better conformance to PEP8
This closes #832
2016-02-04 14:28:24 +09:00
Nobuaki Sukegawa
f07b4a14df Adjust Python SSL test delay in an attempt to avoid flakiness on CI 2016-02-03 01:07:43 +09:00
Nobuaki Sukegawa
95c628eade THRIFT-3578 Make THeaderTransport detect TCompact framed and unframed
Client: C++
Patch: Nobuaki Sukegawa

This closes #819
2016-02-01 21:24:39 +09:00
Nobuaki Sukegawa
bcd8e3268e THRIFT-3420 C++: TSSLSockets are not interruptable
Fix typo that prevented retrying on EAGAIN etc.

This closes #815
2016-02-01 21:24:34 +09:00