Roger Meier
afc3777f9b
THRIFT-3069 fix socket leak if fcntl fails
...
This closes #419
commit 467f67d13248c433fc3a9b50882e39837dc62376
Author: Jim King <jim.king@simplivity.com>
Date: 2015-04-03T01:01:00Z
2015-04-14 21:50:31 +02:00
Roger Meier
efd14e7c25
THRIFT-3062 fix segfault on invalid port number
...
This closes #425
commit 9d5654389daab6ab6be6bdae110a1acede51e945
Author: Jim King <jim.king@simplivity.com>
Date: 2015-04-04T19:47:34Z
2015-04-14 21:06:14 +02:00
Jim King
1673adf94a
THRIFT-3094 fix broken cmake build of C++ library with alternate threading
2015-04-13 21:05:53 +02:00
Roger Meier
932c3ee66e
THRIFT-3061 eliminate potential for client to hang SSLSocket close
...
This closes #423
commit 5cb13f25ee6d292f2fde0051a2b7ee56b7884055
Author: Jim King <jim.king@simplivity.com>
Date: 2015-04-03T18:56:27Z
2015-04-12 22:11:04 +02:00
Roger Meier
5af78c8776
Revert "THRIFT-3014 AppVeyor support - fix format"
...
This reverts commit 81b3c440c6
.
commit included modified CMakeLists.txt files, as part from local test
2015-04-12 21:43:12 +02:00
Roger Meier
81b3c440c6
THRIFT-3014 AppVeyor support - fix format
2015-04-12 21:06:11 +02:00
Jim King
8ccd634946
THRIFT-3077 TFileTransport fix ignored ftruncate result
2015-04-07 23:23:31 +02:00
Lei Feiwei
b5ebcd199c
THRIFT-3080: use select() instead poll() for early windows compatibility.
2015-04-07 22:38:25 +02:00
abadcafe
38772c9c8d
THRIFT-3080: fix connection leak of C++ Nonblocking Server while huge number connections are accepted and unix socket stream fd is busy.
2015-04-07 22:38:25 +02:00
Jim King
7848d887e0
THRIFT-3086 fix a few minor valgrind identified issues
2015-04-07 20:46:48 +02:00
Roger Meier
3815e0b2dc
THRIFT-1025 C++ ServerSocket should inherit from Socket with the necessary Ctor to listen on connections from a specific host (similar to perl library)
...
add new test to CMakeLists.txt
2015-04-04 16:26:30 +02:00
Roger Meier
011445528f
THRIFT-1025 C++ ServerSocket should inherit from Socket with the necessary Ctor to listen on connections from a specific host (similar to perl library)
...
Patch: Jim King <jim.king@simplivity.com>
This closes PR: #417
2015-04-04 16:14:08 +02:00
Jens Geyer
434edf6d5d
THRIFT-3066 C++ TDenseProtocol assert modifies instead of checks
...
Client: C++
Patch: James E. King, III <jim.king@simplivity.com>
2015-04-03 12:52:01 +02:00
Roger Meier
6fc2115e18
THRIFT-2441 ccp: Cannot shutdown TThreadedServer when clients are still connected
2015-03-29 20:56:04 +02:00
Roger Meier
6f7399b355
cpp: remove unused variable g_socket_syscalls
2015-03-04 14:32:59 +01:00
Randy Abernethy
f702fed427
THRIFT-3020:Repair CPP11 init of member in TFramedTrans
...
Client: CPP
Patch: Zachary Sims
Github Pull Request:
This closes #384
commit dacbee68444aeded794ff445559367b538113c91
Author: Zachary Sims <z.sims@qsr.com.au>
Date: 2015-03-03T05:12:31Z
Removes C++11-style field initialisation in TBufferTransports.h
2015-03-03 08:14:12 -08:00
Konrad Grochowski
12b06e4f8c
THRIFT-2870 - C++: JSON protocol will read & write doubles using "C" locale
...
Client: C++
Patch: Simon Falsig
2015-02-23 17:19:33 +01:00
Roger Meier
0d964d8e52
THRIFT-2937 Allow setting a maximum frame size
...
Set maximum frame size to 256MB (same as TNonblockingServer)
Client: cpp
Patch: Cristian Klein & Roger Meier
2015-02-15 19:24:50 +01:00
Sergei Nikulov
283899bf9a
Use Boost C++ >= 1.53.0
2015-02-15 00:04:46 +01:00
Konrad Grochowski
3bc6424c76
THRIFT-2724 - Coding standards template added all over project
...
Client: All
Patch: Konrad Grochowski
This closes #371
2015-02-05 12:15:19 +01:00
Nobuaki Sukegawa
a0c5ab711e
THRIFT-2971 - C++ test and tutorial parallel build is unstable
2015-02-02 22:06:39 +01:00
Nobuaki Sukegawa
208738a6e3
THRIFT-2972 - Missing backstash in lib/cpp/test/Makefile.am
2015-02-02 22:04:29 +01:00
Randy Abernethy
da80afe740
THRIFT-2936 Minor memory leak in CPP SSL
...
Client: CPP
Patch: Cristian Klein
2015-01-09 14:32:24 -08:00
Nobuaki Sukegawa
8016af800f
THRIFT-2924 TNonblockingServer crashes when user-provided event_base is used
2015-01-04 16:50:59 +01:00
Nobuaki Sukegawa
c444fb581d
THRIFT-2925 CMake build does not work with OpenSSL nor anything installed in non-system location
...
This diff fixes them by correcting invalid CMake variable names:
* OPENSSL_... rather than OpenSSL_...
* LIBEVENT_... rather than Libevent_...
* Boost_INCLUDE_DIRS rather than Boost_INCLUDE_DIR
* LIBEVENT_INCLUDE_DIRS rather than LIBEVENT_INCLUDE_DIR
* ZLIB_INCLUDE_DIRS rather than ZLIB_INCLUDE_DIR
Note:
* OPENSSL_INCLUDE_DIR is correct (rather than ..._DIRS)
* Boost_INCLUDE_DIR exists and actually works for most cases but
Boost_INCLUDE_DIRS is the one desinged to be included
Also, library headers are now included as SYSTEM headers.
2015-01-03 10:08:09 +01:00
Jens Geyer
4461a2fc16
THRIFT-2910 libevent is not really optional
...
Client: C++
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes #337
2014-12-23 18:22:54 +01:00
Jens Geyer
2ac3a3c821
THRIFT-2912 Autotool build for C++ Qt library is invalid
...
Client: C++
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes #336
* Fix incorrect AC_PATH_PROGS usage
* Exclude generated source code from distribution
2014-12-23 18:18:58 +01:00
Nobuaki Sukegawa
6622877a09
THRIFT-2098 Add support for Qt5+
2014-12-21 16:36:47 +01:00
Nobuaki Sukegawa
6304a53414
THRIFT-2903 Qt4 library built with CMake does not work
2014-12-21 16:36:46 +01:00
Nobuaki Sukegawa
2825664f25
THRIFT-2893 CMake build fails with boost thread or std thread
...
Following changes are made to fix the build
* Add USE_..._THREAD compiler definitions correctly
* Link to boost_thread and boost_system when configured with boost thread
* Link to pthread if platform is posix and std thread is used
* Use PlatformThreadFactory in test code
2014-12-21 16:36:46 +01:00
Konrad Grochowski
38bf23404c
THRIFT-2907 - macro ntohll defined only when needed
...
Client: C++
Patch: Jon Parise
This closes #334
2014-12-20 13:23:27 +01:00
Konrad Grochowski
ec8d8778b5
THRIFT-2906 - linking with boost_unit_test_framework made more portable
...
Client: C++
Patch: Jon Parise
BOOST_TEST_LDADD Makefile variable added and should be used when linking
with boost_unit_test_framework
This closes #333
2014-12-20 12:50:30 +01:00
Pascal Bach
d5f87e1f21
CMake: Add CMake support for Thrift libraries
...
Currently the following libraries are supported:
- C++
- C_Glib
- Java (using Ant wrapper)
The compilers CMake file is adjusted to work with the new global CMakeLists.txt file.
Signed-off-by: Roger Meier <r.meier@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Also-by: Sergei Nikulov <sergey.nikulov@gmail.com>
2014-12-13 22:02:29 +01:00
Jon Parise
a195a2574e
THRIFT-2887 Respect --with-openssl when building C++ support.
2014-12-13 21:36:25 +01:00
Konrad Grochowski
3876ea70a2
make style applied
2014-12-09 15:24:56 +01:00
Nobuaki Sukegawa
d0d7a65581
THRIFT-2838 TNonblockingServer can bind to port 0 (i.e., get an OS-assigned port) but there is no way to get the port number
2014-12-07 17:00:02 +01:00
Konrad Grochowski
4c1fde226e
make style applied
2014-12-06 19:54:26 +01:00
Pascal Bach
3de6b8fe23
THRIFT-2873 Make TPipe and TPipeServer working with unicode on windows
...
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2014-12-06 16:30:03 +01:00
Konrad Grochowski
9db4b51b66
THRIFT-2876: C++ - tests: coping __isset structure in copy constructor
...
Client: C++
Patch: Nobuaki Sukegawa
Test verifies THRIFT-2526
This closes #303
2014-12-04 23:32:52 +01:00
Konrad Grochowski
6794698a12
THRIFT-2874: C++ - typo in TDenseProtocol comment fixed
...
Client: C++
Patch: Nobuaki Sukegawa
This closes #302
2014-12-04 23:22:41 +01:00
Konrad Grochowski
37b7a0afe0
THRIFT-2874: C++ - unused field removed from TBinaryProtocol
...
Client: C++
Patch: Nobuaki Sukegawa
This closes #301
2014-12-04 22:35:39 +01:00
Jens Geyer
fb05cf67db
THRIFT-2789 TNonblockingServer leaks socket FD's under load
...
Client: C++
Patch: Sergey <drigh@deviantart.com> and Qiao Mu <qiaomuf@gmail.com>
2014-12-04 21:52:28 +01:00
Konrad Grochowski
3b5dacba44
THRIFT-2849: spelling errors fixed using codespell tool
...
Client: All
Patch: Anatol Pomozov
This closes #281
2014-11-24 10:55:31 +01:00
Konrad Grochowski
16a23a6618
THRIFT-2729: C++ - .clang-format created and applied
...
Client: C++
Patch: Konrad Grochowski
make style command added
2014-11-18 11:39:10 +01:00
Konrad Grochowski
240120c843
Revert "THRIFT-2729: C++ - .clang-format created and applied"
...
This reverts commit 74260aa909
.
2014-11-18 11:33:31 +01:00
Konrad Grochowski
74260aa909
THRIFT-2729: C++ - .clang-format created and applied
...
Client: C++
Patch: Konrad Grochowski
make style command added
2014-11-18 10:02:08 +01:00
Konrad Grochowski
8c12b19eb7
THRIFT-2827: C++ - Remove unused tr1/functional include from ProcessorTest
...
Client: C++
Patch: Aiden Scandella
This closes #267
Include was unused yet was causing compilation problems on platforms
without c++11 tr1
2014-11-15 12:57:23 +01:00
Jens Geyer
a4b72eed2c
THRIFT-2803 TCP_DEFER_ACCEPT not supported with domain sockets
...
Client: C++
Patch: Jens Geyer
2014-11-06 21:14:04 +01:00
Konrad Grochowski
b3f5ffc42d
THRIFT-2801: cpp - compilation warnings removed from test suite
...
Client: C++
Patch: Konrad Grochowski
Unused parameters mostly
2014-11-06 19:32:59 +01:00
Roger Meier
6f28c04560
cpp: fix automake dependencies
2014-11-01 20:31:44 +01:00