Commit Graph

885 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
8cc9175ae8 THRIFT-3814 Fix contention in TNonblockingServerTest
This closes #1005
2016-05-15 00:24:41 +09: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
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
b819260c65 THRIFT-3736 C++ library build fails if OpenSSL does not surrpot SSLv3
This closes #944
2016-03-18 04:40:35 +09: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
327d1345b6 THRIFT-3693 Fix include issue in C++ TSSLSocketInterruptTest on Windows
This closes #910
2016-03-02 23:44:23 +09:00
Teddy Reed
937228e030 THRIFT-3667 C++: Add TLS SNI support to clients 2016-02-27 10:31:46 +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
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
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
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
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
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
Nobuaki Sukegawa
9890c28b7e THRIFT-3568 THeader server crashes on readSlow
Client: C++
Patch: Nobuaki Sukegawa

This closes #807
2016-01-24 00:13:44 +09:00
Nobuaki Sukegawa
3d600bfec3 THRIFT-3576 Boost test --log_format arg does not accept lowercase
Client: Test (C++)
Patch: Nobuaki Sukegawa

This closes #814
2016-01-24 00:13:44 +09:00
Nobuaki Sukegawa
a837085ece THRIFT-3555 'configure' script does not honor --with-openssl=<path> for libcrypto for BN_init
Client: Build
Patch: Nobuaki Sukegawa

This closes #805
2016-01-24 00:13:44 +09:00
Sebastian Zenker
e917a278d8 THRIFT-3564: potential core dump in TQTcpServer
Client: C++
Patch: Sebastian Zenker
2016-01-19 02:48:07 +09:00
Sebastian Zenker
3506b66cc0 THRIFT-3566: fixed TQTcpServerTest - it was never executed and working
Client: C++
Patch: Sebastian Zenker

C++/Qt: TQTcpServerTest did never execute the actual test method test_communicate() as it wasn't declared as a Qt slot. The test gets now executed but it is broken because server and (synchronous) client cannot be executed in the same thread.
2016-01-19 02:48:07 +09:00
Sebastian Zenker
9c4193d4fc THRIFT-3565: C++: declared T{Async}Processor::getEventHandler() as const member functions
Client: C++
Patch: Sebastian Zenker

This closes #803
2016-01-19 02:48:07 +09:00
Sebastian Zenker
643f1eeee4 THRIFT-3563: C++/Qt: removed usage of macro QT_PREPEND_NAMESPACE()
Client: C++
Patch: Sebastian Zenker

This closes #801
2016-01-19 02:48:07 +09:00
Sebastian Zenker
9be7569ab4 THRIFT-3562: C++: removed unused TEventServer
Client: C++
Patch: Sebastian Zenker

This closes #800
2016-01-19 02:48:07 +09:00
Sebastian Zenker
235d49f45b THRIFT-3561: C++/Qt: make use of Q_DISABLE_COPY() to get rid of copy ctor and assignment operator
Client: C++
Patch: Sebastian Zenker

This closes #799
2016-01-19 02:48:07 +09:00
Roger Meier
c410494453 THRIFT-3208: Fix Visual Studio solution build failure due to renamed source 2016-01-10 16:34:44 +01:00
Roger Meier
11eac4484e THRIFT-3534 Link error when building with Qt5
Patch: Harald Fernengel
2016-01-10 16:30:31 +01:00
Nobuaki Sukegawa
c91bd74934 THRIFT-3437 Fixed MinGW-w64 build
A small follow-up fix:
Avoid redefinition of AI_ADDRCONFIG on non-Windows platforms.
2016-01-06 20:07:55 +09:00
jfarrell
a3dc3f8043 THRIFT-3518:TConcurrentClientSyncInfo files were missing for Visual Studio
Client: cpp
Patch: Xiaoshuang LU

Add missing files to Visual studio build
2016-01-05 21:10:01 -05:00