Commit Graph

3856 Commits

Author SHA1 Message Date
Jens Geyer
6e2a6983ec THRIFT-5048 EnumUtils<T>.ToString() throws for elements not known to the receiving end [ci skip]
Client: Delphi
Patch: Jens Geyer
2019-12-13 00:33:46 +01:00
Anton Golub
cf95fef9b8 THRIFT-5029: Fix Node.js lib entry point
Client: js
2019-12-12 22:30:07 +00:00
Elvis Pranskevichus
9c43962da8 Revert "Revert "THRIFT-4002: Make generated exception classes immutable by default""
This reverts commit 1234ddf8a5.
2019-12-12 13:50:42 +00:00
Elvis Pranskevichus
9320f891d7 Revert "Revert "Remove unnecessary TException.message hack""
This reverts commit 3d9f50d617.
2019-12-12 13:50:42 +00:00
Qinghui Xu
6e023df1de THRIFT-4889 Nonblocking server with sasl support
Client: Java
Patch: Qinghui Xu

This closes #1892
2019-12-10 23:57:35 +01:00
Qinghui Xu
3a0e1fd356 THRIFT-5008: Improve TSaslTransport logging
Client: Java
Patch: Qinghui Xu

This closes #1931
2019-12-10 23:25:15 +01:00
D. Can Celasun
3d9f50d617
Revert "Remove unnecessary TException.message hack"
This reverts commit 45a9827f0f.
2019-12-10 22:13:19 +00:00
D. Can Celasun
1234ddf8a5
Revert "THRIFT-4002: Make generated exception classes immutable by default"
This reverts commit b40f5c227f.
2019-12-10 22:13:06 +00:00
Elvis Pranskevichus
b40f5c227f
THRIFT-4002: Make generated exception classes immutable by default
Currently, the generated exception classes are not hashable under
Python 3 because of the generated `__eq__` method.  Exception objects
are generally expected to be hashable by the Python standard library.
Post-construction mutation of an exception object seems like a very
unlikely case, so enable hashing for all exceptions by making them
immutable by default.  This also adds a way to opt-out of immutability
by setting the `python.immutable` annotation to `"false"`.
2019-12-10 20:44:24 +00:00
Elvis Pranskevichus
45a9827f0f
Remove unnecessary TException.message hack
Thrift attempts to work-around the Python 2.7 DeprecationWarning
around `BaseException.message` by using a property.  This hack is
unnecessary since `message` is _also_ written as a regular attribute in
the `TException` constructor (and would be in any of its children),
hence the `BaseException_get_message()` wouldn't even be called.

This hack also stands in the way of making exception instances
immutable (which is a prerequisute to fixing THRIFT-4002).
2019-12-10 20:44:22 +00:00
Jens Geyer
ffb97e105c THRIFT-4990 Upgrade to .NET Core 3.1 (LTS)
Client: netstd
Patch: Jens Geyer

This closes #1961
2019-12-07 08:47:32 +01:00
Jens Geyer
e780855d33 THRIFT-5044 Improve serialization support for TApplicationExceptions and custom exceptions
Client: Delphi
Patch: Jens Geyer

This closes #1960
2019-12-05 09:03:10 +01:00
Julian Tescher
9c6c6bf81a THRIFT-5043 Make TBufferChannel clonable
Client: Rust
Patch: Julian Tescher

This closes #1956

It is useful for `TBufferChannel` to be `Clone` so that you can use it to read bytes that were written by a client for use cases like testing or sending over alternative transports like UDP.
2019-12-02 21:03:35 +01:00
Marcin Pajkowski
b34680f01a THRIFT-4915 Fix encoding/decoding doubles in TCompactProtocol
Client: Rust
Patch: Marcin Pajkowski

This closes #1957
2019-12-02 20:51:14 +01:00
Marcin Pajkowski
c63084193a THRIFT-5042 Fix failing tests
Client: Rust
Patch: Marcin Pajkowski

This closes #1958
2019-12-02 19:29:38 +01:00
Marcin Pajkowski
98ce2c8f2b THRIFT-4995 Use ToSocketAddrs for net addresses 2019-11-29 10:27:26 +01:00
Jens Geyer
a019cda66c THRIFT-5012 Centralize configuration aspects into a commonly used configuration object [ci skip]
Client: Delphi
Patch: Jens Geyer

This closes #1955
2019-11-28 00:52:47 +01:00
Jens Geyer
c140bb90b0 THRIFT-5036 buffered transport over sockets may run into unexpected timeouts [ci skip]
Client: Delphi
Patch: Jens Geyer
2019-11-27 22:24:12 +01:00
wineandcheeze
bf2cad9cfa THRIFT-5031: Fix TIOStreamTransport javadoc
Clarify input/output only transport.

Client: java

This closes #1948.
2019-11-25 21:40:52 +00:00
Andy Seaborne
622937162a THRIFT-5022: Fix TIOStreamTransport.isOpen for input or output only use
Client: java

This closes #1942.
2019-11-25 09:58:52 +00:00
Jens Geyer
5080645cb0 THRIFT-5027 Implement remaining read bytes checks
Client: netstd
Patch: Jens Geyer

This closes #1946
2019-11-23 22:40:53 +01:00
zembord
9d958a3caf THRIFT-5010 BinaryPrimitives.Read/WriteInt32BigEndian should be used to convert to/from network byte order
Client: netstd
Patch: Edward Zhuravlov

This closes #1944
2019-11-23 22:24:52 +01:00
Jens Geyer
eacd1d48c8 THRIFT-5021 Implement MAX_MESSAGE_SIZE and centralize limits into a TConfiguration class
Client: netstd
Patch: Jens Geyer

This closes #1943
2019-11-23 01:15:45 +01:00
Grégoire Seux
8ae80a7f84 THRIFT-4999: Raise proper exception on transport error
Client: ruby
Patch: Grégoire Seux

This closes #1924

Before this patch, any error on the http layer was ignored and usually
seen by the user as ProtocolException instead of TransportException
2019-11-21 22:43:21 +01:00
Jens Geyer
261cad3417 THRIFT-5020 Refactoring & minor fixes for netstd library
Client: netstd
Patch: Jens Geyer

This closes #1941
2019-11-21 22:26:09 +01:00
Duru Can Celasun
f4475ff76f
THRIFT-5019: Duplicate imports from multiple includes from a namespace
If a thrift file includes two files from the same namespace into a
separate file, the generated Go code has duplicate imports for that
namespace. This fixes that.

Client: go
2019-11-20 15:31:35 +00:00
Jens Geyer
225646b554 THRIFT-4862 C++ TBinaryProtocol crashes on port scan
Client: cpp
Patch: Michael Patrick

This closes #1939
2019-11-20 03:04:00 +01:00
Jens Geyer
528a0f0731 THRIFT-5015 WinHTTP QueryDataAvailable cannot be used to retrieve total response size
Client: Delphi
Patch: Jens Geyer
2019-11-18 20:17:03 +01:00
Jens Geyer
41f47aff7c THRIFT-5007 Implement MAX_MESSAGE_SIZE and remaining read bytes control
Client: Delphi
Patch: Jens Geyer

This closes #1932
2019-11-15 23:27:20 +01:00
Jens Geyer
ed99455e2e THRIFT-5009 Serializer implemtation lacks support for layered transports
Client: Delphi
Patch: Jens Geyer
2019-11-14 22:17:39 +01:00
Jens Geyer
2646bd65b5 THRIFT-5006 Implement DEFAULT_MAX_LENGTH at TFramedTransport
Client: Delphi
Patch: Jens Geyer
2019-11-13 09:34:58 +01:00
Jens Geyer
fad7fd3e5a THRIFT-5005 Refactoring of the Delphi libs [ci skip]
Client: Delphi
Patch: Jens Geyer
2019-11-13 09:34:58 +01:00
Jens Geyer
9f11c1e545 THRIFT-5004 Make exception implementations more consistent [ci skip]
Client: Delphi
Patch: Jens Geyer
2019-11-13 09:34:57 +01:00
Yuxuan 'fishy' Wang
24fa9d0728 THRIFT-4914: Add GetResponseHeadersFromClient helper function
This is the fourth and final part of THRIFT-4914, which handles the
client reading part in the response (server -> client direction).

Client: go

This closes #1926.
2019-11-09 22:21:09 +00:00
John Boiles
59694a796f THRIFT-5002: Fix argument containers for inherited functions
Fix a bug where remote.go client fails to compile when services 
extend other services and the parent service has a function that 
needs a container for its arguments.

Client:go

This closes #1925.
2019-11-09 19:22:26 +00:00
Yuxuan 'fishy' Wang
4c27181a06 THRIFT-4914: Add TResponseHelper
This is the third part of THRIFT-4914, which handles the server writing
part in the response (server -> client direction).

Define a new type, TResponseHelper, which only contains THeader related
functions for now, but can be extended for other functions in the
future.

In TSimpleServer, inject a TResponseHelper into the context object
passed into the handler functions. Handler function code could retrieve
the injected TResponseHelper to set headers to be written to the client.

Client: go

This closes #1923.
2019-11-09 19:20:09 +00:00
zembord
50caa4de84 THRIFT-4990: Upgrade to .NET Core 3.0
Client: netstsd
Patch: Edward Zhuravlov

This closes #1921
2019-11-08 19:24:59 +01:00
Yuxuan 'fishy' Wang
963812ae62 THRIFT-4984: Handle wrapped io.EOF errors
TCompactProtocol (which is used by THeaderTransport to read headers)
could wrap the underlying error with TProtocolException, which breaks
err == io.EOF test in some cases.

Client: go

This closes #1922.
2019-11-08 09:02:00 +00:00
Kevin Wojniak
596e25f9b0 Fix unknown pragma warnings on mingw
Client: cpp
Patch: Kevin Wojniak

This closes #1917

These pragmas are only valid for MSVC. Fixes warnings found in the logs:

> In file included from C:\projects\thrift\lib\cpp\test\processor\ProcessorTest.cpp:40:
731C:\projects\thrift\lib\cpp\test\processor\Handlers.h:143: warning: ignoring #pragma warning  [-Wunknown-pragmas]
732  143 |   #pragma warning( push )
733      |
734C:\projects\thrift\lib\cpp\test\processor\Handlers.h:144: warning: ignoring #pragma warning  [-Wunknown-pragmas]
735  144 |   #pragma warning (disable : 4250 ) //inheriting methods via dominance
736      |
737C:\projects\thrift\lib\cpp\test\processor\Handlers.h:172: warning: ignoring #pragma warning  [-Wunknown-pragmas]
738  172 |   #pragma warning( pop )
739      |
2019-11-06 01:11:55 +01:00
Yuxuan 'fishy' Wang
4653009035 THRIFT-4984: Ignore EOF errors in TSimpleServer, take 2
This is a different approach to take THRIFT-4984: Instead of checking
EOF errors in place, handle them in a consolidated, deferred function.

Also improve test error messages.

Client: go

This closes #1907.
2019-11-05 21:31:13 +00:00
Eugen Kandakov
f7b2197916 THRIFT-4994 changed this to self in forEach callback
Client: nodejs
Patch: Eugen Kandakov

This closes #1918
2019-11-04 22:00:24 +01:00
Qinghui Xu
24045b7211 Fix indentation
Use white space for indentation instead of tabulation.
2019-11-04 10:21:47 +01:00
xiongjieqing
a5b2bf5b0b THRIFT-4992 thrift lua TcompactProtocol bug fix #1881
Client: Lua
Patch: xiongjieqing <xiongjieqing@gmail.com>
2019-11-03 19:07:13 +01:00
Jens Geyer
c5fadee94a Revert "thrift lua TcompactProtocol bug fix"
This reverts commit 3adb44aa26.
2019-11-03 19:07:04 +01:00
xiongjieqing
3adb44aa26 thrift lua TcompactProtocol bug fix 2019-11-03 18:59:39 +01:00
Kevin Wojniak
cf73b66cd8 Remove unused exception variable
Client: Python
Patch: Kevin Wojniak

This closes #1912

Fixes MSVC warning seen in logs:
> [00:11:03] src\ext/protocol.tcc(177): warning C4101: 'ex': unreferenced
> local variable [C:\projects\build\MSVC2015\x86\lib\py\python_build.vcxproj]
2019-11-03 18:42:11 +01:00
Kevin Wojniak
bc75467e44 Fix "thruth" typo
Client: Go
Patch: Kevin Wojniak

This closes #1911
2019-11-03 18:39:38 +01:00
Jens Geyer
43a93f1e6e fix typo in cmake
Patch: Jens Geyer

This closes #1910
2019-11-03 18:34:24 +01:00
Jens Geyer
ec439548c5 THRIFT-4990 Switch to .NET core 3.0
Client: netstsd
Patch: Jens Geyer

This closes #1909
2019-11-02 17:34:23 +01:00
Jens Geyer
9ea48f362a Fix PHP style errors (by means of phpcbf) [ci skip] 2019-11-02 12:24:12 +01:00
Yuxuan 'fishy' Wang
e4870a3571 THRIFT-4985: Refactor logging in Go library
- Add a new Logger type to make logging configurable
- Use the new logger in TSimpleServer and TDebugProtocol
- Remove pointless log in TZlibTransport
- Remove panic recovery from TSimpleServer. Thrift shouldn't catch panics caused by caller-defined RPC handlers.

Client: go

This closes #1906.
2019-10-24 21:23:30 +01:00
Yuxuan 'fishy' Wang
c03e2aa196 THRIFT-4984: Ignore EOF error in TSimpleServer ReadFrame call
EOF isn't an error that should be bubbled up to the 
caller and we are already ignoring other EOF errors in 
TSimpleServer.processRequest [0].

Client: go

This closes #1904.

[0]: cecee50308/lib/go/thrift/simple_server.go (L265-L266)
2019-10-23 21:43:09 +01:00
Qinghui Xu
9cb1c794cd THRIFT-4252: Close sockets when shut down server
In TThreadPoolServer, threads are blocking in io with open sockets,
as long as clients don't close the connection, server threads are
never stopped even after a shutdown is called on server (because
they are blocked waiting for io).
To be able to stop all server threads properly, server should
proactively close sockets once a shutdown is initiated.
2019-10-23 20:45:33 +02:00
pengzhouhu
6e4c581fdd THRIFT-4949: Improve HTTP/1 server test case
Client: java

This closes #1886.
2019-10-21 15:21:11 +01:00
Jens Geyer
3f3567a114 THRIFT-4981 Remove deprecated netcore bindings from the code base
Client: netcore
Patch: Jens Geyer

This closes #1901
2019-10-20 16:21:29 +02:00
Jens Geyer
616df98f00 fix veralign.sh and bump version (again) 2019-10-20 00:12:14 +02:00
D. Can Celasun
76fa8c9a81
Update Java dependencies
Update most dependencies to their latest versions, replace findbugs with
spotbugs as the former is dead and was replaced with the latter.

Fixes THRIFT-4937.

Client: java
2019-10-18 15:15:45 +01:00
pengzhouhu
9f0548e05f THRIFT-4952 Modified ssl_read feedback value break all the time error.
Client: c_glib
Patch: pengzhouhu <pengzhouhu@huawei.com>

This closes #1869
2019-10-18 00:26:47 +02:00
Jens Geyer
5fe31ea7d7 bump version 2019-10-17 23:51:36 +02:00
Jens Geyer
4286054d3d Merge branch '0.13.0' 2019-10-17 23:49:41 +02:00
Jens Geyer
b75e88a33d FIX netstd assembly version 2019-10-17 23:47:40 +02:00
Jens Geyer
dd14e869ce Fix PHP style errors (by means of phpcbf) 2019-10-17 20:54:34 +02:00
Jens Geyer
e02559fd46 bump version
This closes #1899
2019-10-17 20:31:24 +02:00
Mario Emmenlauer
0f14e2f3f6 THRIFT-4977: Allow loading OpenSSL certificates from memory
Client: cpp

This closes #1860.
2019-10-15 10:25:10 +01:00
wineandcheeze
ab89b8b40e THRIFT-2530: Fix TIOStreamTransport#isOpen
isOpen should return false when close is called.

Client: java

This closes #1878.
2019-10-10 12:50:50 +01:00
Jens Geyer
224b43ec7e THRIFT-4874: Thrift 0.12.0 Source Distribution (.tar.gz) Contains Hardlinks - Extract Fails
Client: Build system
Patch: Jens Geyer

This closes #1894

The patch contains a modified version of tar.m4. The --hard-dereference option prevents from a situation, where symlinks (used in the compiler/src subtree) get converted into hard links.
2019-10-10 01:28:55 +02:00
wineandcheeze
904f5619a9 THRIFT-4858: Add error message to TTransportException
When the socket is closed (EOF of the inputstream), currently
TIOStreamTransport throws an TTransportException without message,
this is sometimes confusing for people maintaining a thrift server
(eg. apache hive).

Client: java

This closes #1876.
2019-10-09 09:27:23 +01:00
pengzhouhu
a152a0ad88 THRIFT-4945: Fix non-standard log output
Client: java

This closes #1862.
2019-10-08 23:18:30 +01:00
HIRANO Satoshi
8098428901 Add Node.js example for browsers
Client: js

This closes #1864.
2019-10-08 23:06:30 +01:00
Ben Evans
dfa74bc99e Upgrade to Gradle 5.6.2
This closes #1882.
2019-10-08 22:54:08 +01:00
Kengo Seki
5a8cd9d1fb THRIFT-4971: Fix lib/rb/spec/union_spec.rb so that CI succeeds
Client: Ruby
Patch: Kengo Seki

This closes #1891
2019-10-06 12:17:19 +02:00
Allen George
786c019476
Merge pull request #1870 from dbcfd/thrift-4953
THRIFT-4953: Missing Field Identifiers
2019-09-23 08:41:30 -04:00
pengzhouhu
2d03630b61 THRIFT-4950 fix bind print error and Macro call errors thrift_server_socket
Client: C_glib
Patch: pengzhouhu

This closes #1867
2019-09-22 11:38:29 +02:00
Guillaume Blanc
5e9203b2b2 THRIFT-4962 Fix deadlock in TimerManager::stop
Client: cpp
Author: Guillaume Blanc

This closes #1877
2019-09-21 14:40:15 +02:00
Ewan Higgs
b3745eea10 THRIFT-4932: Using a default string on a binary field results in invalid Java code.
Client: Java
Patch: Ewan Higgs

This closes #1875.
2019-09-20 16:15:04 +01:00
Danny Browning
77d96c18c3 THRIFT-4960 bare trait (dyn) warnings
Client: Rust
Patch: Danny Browning

This closes #1851
2019-09-11 23:35:26 +02:00
Vladimir Arkhipov
f1bc6aef7d Fix typo in xml comment
Client: C#
Patch: Vladimir Arkhipov

This closes #1874
2019-09-11 23:11:46 +02:00
Jens Geyer
b7bd211699 Prevent "Log file size too large" messages during CI tests 2019-09-11 22:52:40 +02:00
Jens Geyer
8ff8abd6f2 THRIFT-4957 testSanePartsOfCompactProtoTestStruct FAILED
Client: Java
Patch: Jens Geyer

This closes #1873
2019-09-11 00:41:49 +02:00
Danny Browning
236032a8af THRIFT-4953: Missing Field Identifiers
When identifiers are not specified, negative id will be converted to a valid
rust identifier.
2019-09-06 10:40:53 -06:00
Danny Browning
942bd8403b Bare Trait Warnings
Fixes bare trait (dyn) warnings in the library as well as generated code.
2019-09-06 10:28:24 -06:00
Jens Geyer
a715f701bf THRIFT-4944 Field IDs > 255 fail with compact protocol
Cliwent: Delphi
Patch: Jens Geyer
2019-08-28 22:56:35 +02:00
Jens Geyer
a4fc3d42e9 THRIFT-4907 strong named assemblies wanted
Client: netstd
Patch: Jens Geyer

This closes #1854
2019-08-25 14:04:58 +02:00
Alex-Rud
693e19cf48 THRIFT-4939 TThriftListImpl<T>.Sort() does not use comparer
Client: Delphi
Patch: Alex-Rud <Alex.van.rudik@gmail.com>
2019-08-25 00:20:55 +02:00
Issacpeng
81f5e10ec4 THRIFT-4865:Replace expired Charsets with StandardCharsets
Client: Java
Patch: Issacpeng <pengzhouhu@huawei.com>

This closes #1846
2019-08-24 16:13:34 +02:00
pengzhouhu
2ff4b13df4 THRIFT-4936 add depth limit type exception description
Client: C++
Patch: pengzhouhu

This closes #1852
2019-08-22 22:43:15 +02:00
Jens Geyer
9cf37be1f1 THRIFT-4919 THttpTransport.cs (netstd) and THttpClientTransport (netcore) have bad timeout code
Patch: Jens Geyer

This closes #1847
2019-08-20 21:28:38 +02:00
Yuxuan 'fishy' Wang
26ef904600 THRIFT-4914: Send context THeaders for client writes
Client: go

This is the second part of THRIFT-4914, which handles the client writing
part in the requests (client -> server direction).

In TStandardClient, when the context has write headers set, and the
protocol is THeaderProtocol, automatically extract all headers from the
context object and set to THeaderProtocol to send over the wire.

Client code can set headers into the context object by using the helper
functions in header_context.go.

Note that we have separated keys for read and write header key list, so
that for code that's both a server and a client (example: a server that
calls other upstream thrift servers), they don't automatically forward
all headers to their upstream servers, and need to explicitly set which
headers to forward.

In order to make auto forwarding easier, also add SetForwardHeaders
function to TSimpleServer, which will help the users to auto forward
selected headers.

This closes #1845.
2019-08-19 08:18:22 +01:00
Yuxuan 'fishy' Wang
b1002a71fb THRIFT-4914: Add THeader to context for server reads
Client: go

This is the first part of THRIFT-4914, which handles the server reading
part in the requests (client -> server direction).

In TSimpleServer, when the protocol is THeaderProtocol automatically
add all present headers into the context object before passing
it to processor, so the processor code can access headers from the
context directly by using the new helper functions added in
header_context.go.

This closes #1840.
2019-08-05 21:03:02 +01:00
Yuxuan 'fishy' Wang
6ae2b189ef THRIFT-4612: Avoid double wrapping THeaderTransport
Client: go

Previously the library didn't check against double wrapping, so when
NewTSimpleServerN was used with both THeaderTransportFactory and
THeaderProtocolFactory, inside THeaderProtocolFactory the transport 
was double wrapped with THeaderTransport.

Worse, the transport still appeared to work, because THeaderTransport 
is backwards compatible with TBinaryProtocol and TCompactProtocol
so the outer layer of THeaderTransport wrapper (the one directly accessible 
from the protocol) would assume the client doesn't support THeader and 
fallback. So when double wrapping happened, it appeared like everything 
was fine, except you couldn't get the headers from the protocol (because 
they were in the inner THeaderTransport, not the outer one that's directly 
accessible from the protocol), making it very hard to debug.

This commit adds protection against such double wrapping.

This closes #1839.
2019-08-05 12:59:08 +01:00
Craig Wickesser
bb311a772e Add pointer helpers for missing types 2019-07-27 16:48:57 -04:00
Yuxuan 'fishy' Wang
ebb6b2ed68 THRIFT-4612: Add THeaderTransportFactory to go library
Client: go

This was supposed to be in 4d46c11, but was forgotten.

Closes #1832.
2019-07-24 16:42:06 +01:00
guozhu cheng
4c847372eb THRIFT-4908: remove reader&writer in Golang's TBinaryProtocol
Client: go

This closes #1831.
2019-07-15 12:46:25 +01:00
Beluga Behr
286eee16b1 THRIFT-4849: Do not Ignore InterruptedException 2019-07-08 13:07:04 -04:00
fmalaguti
234e80e1b9 THRIFT-4844: createConnection ignores connect_timeout option 2019-07-08 13:06:21 -04:00
James E. King III
178891f7d6 THRIFT-4805: Fixed readme files 2019-07-08 09:56:59 -04:00
Mithun RK
c35ed736d2 THRIFT-4805: Suppress excessive logging of SASL TTransportExceptions in case of END_OF_FILE
Two fixes here:

1. Additional logic to properly catch and handle TTransportException.
   Currently, T(SASL)TransportException gets caught and handled in
   the wrong catch-block.
2. The fix for THRIFT-3769 mutes _all_ TTransportExceptions in TThreadPoolServer.
   This might mute legitimate failures. The intent of THRIFT-3769 (and
   THRIFT-2268) was to mute the noise caused by TTransportException.END_OF_FILE.
   This commit lets legitimate failures to be bubbled upwards.
2019-07-08 09:56:59 -04:00
Antoine Cœur
08a6eb6e1f THRIFT-4902: Swift 4 and 5 compatibility (#1827) 2019-07-08 06:42:09 -04:00
James E. King III
3131fe975c THRIFT-4904: Fix python unit test errors and exception escapes
Due to the way SSL layers on top of sockets, it was possible
to complete a connection and then have the server close it.
This would happen if the client is not checking certificates
but the server is.  The TSSLSocket unit test was enhanced to
do a read and a write as well as just connecting to ensure a
more complete test.

The TSocket read() and write() calls were leaking OSError,
socker.error, and ssl.Error exceptions.  These cases are now
wrapped into a TTransportException of the appropriate type,
and the original exception is added as an argument named inner.
2019-07-07 12:16:52 -04:00
James E. King III
93ff9b0053 Update language levels, fix erlang and rust in CI
- Include rebar3 in docker image so erlang builds in CI
- Include the correct path in docker image so rust builds in CI
- Updated common lisp (sbcl) to 1.5.3 in docker image
- Updated dlang to 2.087.0 in docker image
- Updated dart to 2.0.0 in xenial docker image
- Updated dart to 2.4.0 in bionic docker image
- Updated erlang to 22.0 in docker image
- Updated openjdk to 11.0.3 in docker image
- Updated node.js to 10.16 in docker image
- Updated rust to 1.34.0 in xenial docker image
- Updated rust to 1.35.0 in bionic docker image

THRIFT-4905: Disable hanging experimental dlang async ssl test
2019-07-07 12:16:52 -04:00
Shaoyu Zhang
1a2dee60b4 Use THRIFT_WRITE instead of ::write in TFileTransport.cpp 2019-07-01 20:15:03 -04:00
soroshsabz
6a61dfabbf THRIFT-4830: Add to_string helper function for cpp generator (#1765) 2019-07-01 20:13:54 -04:00
Gonzalo Aguilar Delgado
9b49c96a6a THRIFT-4842 - Fix memory leak on set property c_glib (#1773) 2019-07-01 20:13:09 -04:00
Kevin Wojniak
6c847d2d02 THRIFT-4878 - [c_glib] add unix domain socket support to ThriftSocket (#1807) 2019-07-01 20:11:56 -04:00
Kevin Wojniak
a392566e9b THRIFT-4896 - prevent cpp and c_glib include directories from leaking into other targets (#1821)
- enable the automake `nostdinc` option
- fix up include paths
2019-07-01 14:07:45 -04:00
John Boiles
d9019fc5a4 THRIFT-4797: Fix import collisions in Go
Client: go

This closes #1811.
2019-06-29 07:07:10 +01:00
Jens Geyer
bd1a273ab7 THRIFT-4898 Pipe write operations across a network are limited to 65,535 bytes per write.
Client: netstd
Patch: Jens Geyer

This closes #1823
2019-06-27 21:30:25 +02:00
Jens Geyer
62238d1a6c THRIFT-4886 More detailed error information for WinHTTP transport
Client: Delphi
Patch: Jens Geyer
2019-06-26 20:53:22 +02:00
Jens Geyer
1e808af7b3 THRIFT-4893 Enable automatic content encoding handling for gzip,deflate in the HTTP client
Client: netstd
Patch: Jens Geyer

This closes #1818
2019-06-22 10:27:57 +02:00
Jens Geyer
19505c3de3 THRIFT-4894 Enable automatic content encoding handling for gzip,deflate in the WinHTTP client
Client: Delphi
Patch: Jens Geyer
2019-06-22 01:03:55 +02:00
antbofh
95870f06cd THRIFT-4892: fixed data type conflict with simultaneous usage of bytes and str (#1804) 2019-06-21 15:33:55 -04:00
David Carlier
29ecfaba53 CPP generator test, catching exceptions by ref instead. 2019-06-21 07:30:13 -04:00
Mustafa Senol Cosar
3f0d444791 Implement episodic compilation for js code generation 2019-06-21 06:38:32 -04:00
Jens Geyer
433a649a36 THRIFT-4886 More detailed error information for WinHTTP transport
Client: Delphi
Patch: Jens Geyer
2019-06-19 23:32:19 +02:00
Yuxuan 'fishy' Wang
4d46c11244 THRIFT-4612: THeader support in go library
Client: go

Implement THeaderTransport and THeaderProtocol, with support of:

* clients:
  - headers
  - framedBinary
  - unframedBinary
  - framedCompact
  - unframedCompact
* transforms:
  - none
  - zlib
* info types:
  - key_value
* wrapped protocols:
  - TBinary
  - TCompact

The support list is in general on par of the THeader implementation in
the python library.

The cross-test passes, except ones related to cpp/nodejs http transport,
which were also failing for non-theader protocols.

This change also fixes two bugs:

1. A small issue in test/go/src/bin/testserver/main.go
2. A bug in TFrameTransport go implementation
2019-06-19 22:52:24 +02:00
Kyle Smith
823474ec89 THRIFT-4848: Add ability to set Content-Type,Accept headers in HTTP client
Client: netstd
Patch: Kyle Smith

This closes #1801
2019-06-14 22:42:15 +02:00
Jens Geyer
19fdca82c2 THRIFT-4886 More detailed error information for WinHTTP transport
Client: Delphi
Patch: Jens Geyer
2019-06-12 22:09:58 +02:00
Jens Geyer
b342bd9a61 THRIFT-4884 Add serialisation performance test for Delphi
Client: Delphi
Patch: Jens Geyer
2019-06-07 22:31:26 +02:00
Jens Geyer
83ff753777 THRIFT-4882 Autodetect proxy settings with WinHTTP
Client: Delphi
Patch: Jens Geyer
2019-06-07 22:26:55 +02:00
Jens Geyer
47f6317336 THRIFT-4881 Allow TLS1.1 and TLS1.2 even when not configured as systemwide default
Client: Delphi
Patch: Jens Geyer
2019-06-07 22:26:53 +02:00
Jens Geyer
936944384f THRIFT-4879 general performance improvements for netstd library
Client: netstd
Patch: Jens Geyer

Removing obsolete (and finally incorrect) assertion.
2019-06-05 22:03:14 +02:00
Jens Geyer
5a17b13ebc THRIFT-4879 general performance improvements for netstd library
Client: netstd
Patch: Jens Geyer

This closes #1808
2019-06-04 22:31:58 +02:00
James E. King III
057bebc1c3 Merge branch '0.12.1' 2019-05-26 14:59:04 -04:00
timestee
370d7513f0 spelling mistake, perhaps (#1803) [ci skip 2019-05-20 07:20:42 -04:00
Henrik Tudborg
c035eca3c6 hotfix: clear the offline queue when once written 2019-05-14 14:26:48 -04:00
Jeremy Mikkola
79c2337705 THRIFT-4845: Stop ignoring small timeouts
Client: php

CURLOPT_TIMEOUT requires a long [0], so it seems that small values
like 0.2 are being rounded to 0, resulting in a lack of any timeout.

This change uses CURLOPT_TIMEOUT_MS, which the PHP documentation
says was "added in cURL 7.16.2. Available since PHP 5.2.3."

[0] https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html
2019-05-14 06:15:48 -04:00
James E. King III
b261f3c0f1 THRIFT-4857: [java] added a unit test for TField 2019-05-13 16:53:57 -04:00
Garret Wilson
6b6a8279ab THRIFT-4857: Made Java TField class hash code consistent with equals.
Client: java
2019-05-13 16:53:57 -04:00
Sergey Yelin
4ffe76351e THRIFT-4583: Switch to rebar3
Client: erl
2019-05-13 06:52:19 -04:00
Sergey Elin
ce32ed7012 Report error for abnormal server termination only
Client: erl
2019-05-12 07:08:07 -04:00
Jens Geyer
a5dbb011fd THRIFT-4864 CI fails at netstd
Client: netstd
Patch: Jens Geyer

This closes #1798
2019-05-11 18:46:48 +02:00
James E. King III
522f873e1e Update and fix js dependencies 2019-05-10 18:47:27 -04:00
Jens Geyer
85431d9c6a THRIFT-4862 better ToString() support for enums and container types
Client: Delphi
Patch: Jens Geyer
2019-05-10 22:49:20 +02:00
Jens Geyer
8f7487e108 THRIFT-4862 better ToString() support for enums and container types
Client: Delphi
Patch: Jens Geyer

This closes #1795
2019-05-10 00:39:30 +02:00
Jens Geyer
14a9a120a8 THRIFT-4863 better indication of WinHTTP errors
Client: Delphi
Patch: Jens Geyer
2019-05-10 00:20:25 +02:00
James E. King III
ee8caca54e THRIFT-4861: Set minimum boost to 1.56 and stop using deprecated boost predef endian header
Client: cpp
2019-05-04 21:52:29 -04:00
Jens Geyer
27d8387c49 THRIFT-4860 Allow changing "User-Agent"
Client: netstd
Patch: Jens Geyer
2019-05-04 12:22:47 +02:00
Park June Chul
8d554f503e THRIFT-4859 Enables changing 'UserAgent'
Client: C#
Patch: Park June Chul <pjc0247@naver.com>

This closes #1787
2019-05-04 12:13:11 +02:00
Albert Hives
65d5f84507 renamed TClientTransport.cs file to match its class name TTransport.cs
Client: netstd
Patch: Albert Hives <ahives@hotmail.com>

This closes #1784
2019-05-03 23:10:16 +02:00
Beluga Behr
cc13de4f87 THRIFT-4851: Remove All Calls To printStackTrace
Client: Java
Patch: Beluga Behr <dam6923@gmail.com>

This closes #1783
2019-05-03 22:58:53 +02:00
Jens Geyer
366cc3dee0 THRIFT-4854 oneway calls do not work over HTTP
Client: netstd
Patch: Jens Geyer

This closes #1790
2019-04-28 23:51:34 +02:00
Jens Geyer
8f327f24ee THRIFT-4853 TServerFramedTransport is now obsolete and can be removed
Client: netstd
Patch: Jens Geyer

This closes #1789
2019-04-28 00:31:57 +02:00
Jens Geyer
2ff952b0af THRIFT-4816 JSONTransports Context.WriteAsync/ReadAsync are badly named
Client: netstd
Patch: Jens Geyer

This closes #1779
2019-04-19 16:07:29 +02:00
Jens Geyer
e26269e7b3
Merge pull request #1781 from dbcfd/4536-rust-stable
THRIFT-4536: Rust 1.34.0
2019-04-19 02:15:17 +02:00
Jens Geyer
2135a361a5 THRIFT-4834 CI error at Haskell: Failed to load interface for 'Network' (#1780) 2019-04-16 10:27:03 -04:00
Danny Browning
181d900a39 THRIFT 4536: Rust 1.34.0
Update dockerfiles to use rust stable, call out required rust version in
breaking changes.
2019-04-15 09:55:04 -06:00
Jens Geyer
0223091b70 THRIFT-4841 THTTPTransport relies on activeX component
Client: Delphi
Patch: Jens Geyer

This closes #1778
2019-04-06 09:53:09 +02:00
Jens Geyer
c9b1e29bc9 THRIFT-4843 http:// and https:// schemes are switched in test client
Client: Delphi
Patch: Jens Geyer
2019-04-04 00:02:03 +02:00
Kyle Smith
7b94dd4221 THRIFT-4839: Remove embedded buffering/framed options from TCP transports
Client: netstd
Patch: Kyle Smith + minor changes by Jens Geyer

This closes #1770
2019-03-27 00:17:55 +01:00
Danny Browning
ddec431b4a TryFrom stable
TryFrom is now stable, so use that. Additionally re-export OrderedFloat since
it is used by the generated code. Relax dependencies to reduce downstream
conflicts.
2019-03-22 14:38:36 -04:00
Jens Geyer
421444f2df THRIFT-4831 interface ITProtocolFactory should be class TProtocolFactory again
Client: netstd
Patch: Jens Geyer

This closes #1767
2019-03-21 09:03:13 +01:00
Jens Geyer
98c194103d THRIFT-4829 HTTP server transport lacks TransportFactory arguments
Client: netstd
Patch: Jens Geyer

This closes #1766
2019-03-21 09:01:50 +01:00
Kyle Smith
6378ff69a6 THRIFT-4825 Aligned the TTlsSocketServerTransport constructors with the TSocketServerTransport
Client: C#
Patch: Kyle Smith <ksmith@jrautomation.com>

This closes #1762
2019-03-15 22:55:26 +01:00
Jens Geyer
b11f63c552 THRIFT-4824 Logger deprecation warnings in tutorial
Client: netstd
Patch: Jens Geyer

this closes #1760
2019-03-15 22:01:37 +01:00
Jens Geyer
bf27637960 THRIFT-4822 Convert bool CTOR flags into enum type
Client: netstd
Patch: Jens Geyer

This closes #1759
2019-03-15 01:31:04 +01:00
Kyle Smith
cf51a84391 THRIFT-4821 Normalized the constructors in TServerSocketTransport to allow parity between the TcpListerer and port options.
Client: netstd
Patch: Kyle Smith

This closes #1758
2019-03-14 21:13:54 +01:00
Jens Geyer
22c412e42d THRIFT-4817 Add string CTOR to TTlsSocketTransport
Client: netstd
Patch: Jens Geyer

This closes #1753
2019-03-13 09:09:09 +01:00
James E. King III
17fa32f275 fix java build issue 2019-03-09 09:19:54 -05:00
Jens Geyer
8d21d80cd1 Release 0.12.1 2019-03-08 22:08:23 +01:00
James E. King III
c685cb05d4 THRIFT-4698: add haskell hackage sdist target and fix cabal file 2019-03-08 22:08:23 +01:00
James E. King III
52da9ab801 THRIFT-4750: as3 changes to build and publish to maven central 2019-03-08 22:08:21 +01:00
James E. King III
5ecaeb9d4a THRIFT-4746: changes for publishing 0.12.0 to maven; fix java debug vs. release build with cmake 2019-03-08 22:03:41 +01:00
James E. King III
5e649973eb THRIFT-4691: ensure CPAN module runs unit tests 2019-03-06 23:13:52 +01:00
Jens Geyer
92c660f541 additional test for TSimpleJSONProtocol 2019-03-06 23:13:09 +01:00
Jens Geyer
68ff6cddc0 THRIFT-4813 NamedPipes may not work in all cases
Client: netstd
Patch: Jens Geyer
2019-02-28 08:39:59 +01:00
Jens Geyer
a34f78385f THRIFT-4812 haxelib readme still points to old ASF git repo
Client: haxe
Patch: Jens Geyer
2019-02-25 23:21:18 +01:00
James E. King III
798e90aa87 THRIFT-4024, THRIFT-4783: throw when skipping invalid type (#1742)
* THRIFT-4024: make c_glib throw on unsupported type when skipping
* THRIFT-4783: throw on invalid skip (py)
* THRIFT-4024: make cpp throw on unsupported type when skipping
* THRIFT-4024: uniform skip behavior on unsupported type
2019-02-25 22:14:35 +01:00
Jens Geyer
1e41be40d8 THRIFT-4784 Thrift should throw when skipping over unexpected data
Client: as3
Patch: Jens Geyer
2019-02-25 22:14:33 +01:00
Jens Geyer
264a3f318e additional test for TSimpleJSONProtocol 2019-02-24 17:19:09 +01:00
David Mai
ddd2224e9c [THRIFT-4771] add nodejs THeaderProtocol support (#1743)
Client: nodejs
2019-02-22 06:37:49 -05:00
Josip Sokcevic
a4ee1f281b THRIFT-4807: Fix php segfault on reference pass
Client: php (extension)

When reference is passed to php extension, it's unreferenced (instead of
derefrenced). The next time one tries to use the same variable PHP
segaults. Even if not used again, php segfaults on
user_shutdown_function_call.
2019-02-22 06:21:28 -05:00
Tim Armstrong
6b3f7d92f9 Fix spelling errors in TSSLSocket.py 2019-02-14 19:17:01 -05:00
James E. King III
dbc1f8def5
THRIFT-4024, THRIFT-4783: throw when skipping invalid type (#1742)
* THRIFT-4024: make c_glib throw on unsupported type when skipping
* THRIFT-4783: throw on invalid skip (py)
* THRIFT-4024: make cpp throw on unsupported type when skipping
* THRIFT-4024: uniform skip behavior on unsupported type
2019-02-14 16:46:38 -05:00
James E. King III
393f6c93e1 THRIFT-3877: fix py/py3 server, java client with http transport
The java TestClient asks the server to runa  oneway request that
sleeps for 3 seconds.  If the java TestClient sees the duration
of the call exceed one second, it fails the test.  This means the
server did not participate in the "fire and forget" dynamics of
ONEWAY requests.  In this case the THttpServer was processing the
RPC before sending the transport response.  The fix was to enhance
the TProcessor so that the THttpServer has an opportunity to inspect
the message header before processing the RPC.

This is partly due to the violation of the THttpServer in the
layered architecture.  It is essentially implementing a combined
server and transport, whereas there should be a distinct server,
protocol, and transport separation.  Many languages seem to have
this problem where HTTP was introduced.
2019-02-11 17:46:30 -05:00
Jens Geyer
2b70c1df2b THRIFT-4784 Thrift should throw when skipping over unexpected data
Client: as3
Patch: Jens Geyer
2019-02-09 10:47:31 -05:00
James E. King III
9804ab983a THRIFT-4780: finish the server implementation of multi in python server
- Add default processor handling to python multi
2019-02-08 17:16:17 -05:00
cyy
647501693b THRIFT-4776:Modernize c++11 code by clang-tidy (#1732)
* use override
* use make_shared
* use emplace
* use range for
* fix error on MSVC
* replace boost functions with std functions
* fix static analyzer warnings
* check api return value
* initialize member
* check the return value of SSL_peek > 0
* add override
2019-02-08 00:40:59 -05:00
James E. King III
74a3e0923d THRIFT-4779: fix exception type in TMultiplexedProcessor 2019-02-08 00:34:01 -05:00
James E. King III
e44f6a9e06 THRIFT-4778: fix inheritance for protocol factories 2019-02-07 20:00:16 -05:00
cyy
a6a3a787ec THRIFT-4732:refine cmake scripts (#1688)
* add cmake support for clib and remove unused variables
* add targets for code analysis
* add wall to all compilers and add utf-8 options for msvc
2019-02-07 09:27:33 -05:00
Qinghui Xu
4a898564f9 THRIFT-4773: Provide root cause for sasl negotiation failure
Client: java
The error for sasl negotiation failure dropped the root cause, which makes troubleshooting sometimes difficult.
2019-02-06 16:07:19 -05:00
Jens Geyer
adde44b0f5 THRIFT-4772 fully enable server-side usage of framed/buffered transports
Client: netstd
Patch: Jens Geyer

This closes #1729
2019-02-05 09:08:24 +01:00
cyy
8fdb7587e6 THRIFT-4759:add thrift export to fix windows shared lib building (#1714)
* add THRIFT_EXPORT to fix windows shared lib building
* use shared libraries on vs2017 appveyor build, leave msvc2017 static link
2019-02-04 13:57:21 -05:00
James E. King III
71afec0ea3 THRIFT-4739: fix concurrency_test (test-only fix) 2019-02-02 22:10:41 -05:00
James E. King III
d77e097726 fix minor glib warning 2019-02-02 01:17:46 -05:00
Fokko Driesprong
1686c87024 THRIFT-4766: Fix JDK11 build (#1723)
* [THRIFT-4766] Enable JDK9 build
* THRIFT-4766: build on bionic using native jdk (java-11-openjdk)
Change from headless to the normal JDK. Maybe the libasound is pulled
in transitively.
2019-02-01 14:31:58 -05:00
James E. King III
3ec4031a4c THRIFT-4405: fix cygwin on appveyor 2019-02-01 11:13:49 -05:00
James E. King III
53bd0e6295 THRIFT-4745: fixes compiler warnings 2019-02-01 11:13:49 -05:00
James E. King III
f15b4152b9 THRIFT-4405: fix negative sequence id handling in python TCompactProtocol 2019-02-01 11:13:49 -05:00
James E. King III
973c8552e0 THRIFT-4405: fix parsing bug in cpp json header read if sequence ID wrapped around to negative 2019-02-01 11:13:49 -05:00
James E. King III
43f689d153 THRIFT-4405: fix c_glib seqid limited to min 0 instead of full int32_t range 2019-02-01 11:13:49 -05:00
James E. King III
f95620d2b1 THRIFT-4405: sanity tests relating to sequence numbers
- prove all servers return the sequence ID given
- prove that sequences that wrap around the int32_t space are handled ok
2019-02-01 11:13:49 -05:00
Jun
f6511c904b THRIFT-4767: Added TSocket/TSSLSocket support tcp keep-alive in python (#1725)
* THRIFT-4767: Added TSocket support tcp keep-alive in python
* TSSLSocket support tcp keep-alive
2019-01-31 23:07:58 -05:00
James E. King III
4f7d93d8c3 Update grunt-shell-spawn javascript dependency 2019-01-30 14:59:22 -05:00
Sebastian Zenker
042580f534 THRIFT-4762: Applied some C++11 refactorings to the runtime library and compiler (#1719)
* make use of C++11 override keyword
* added const specifier to TTransport::getOrigin()
* added more const correctness to the compiler
* make use of auto keyword
* replaced usage of NULL with nullptr
* make use of explicitly-defaulted function definition
* extended changelog
2019-01-29 09:48:12 -05:00
Jens Geyer
aa0c8b35d8 THRIFT-4723 Consolidate C#/netcore into new netstd language target
Client: netstd
Patch: Jens Geyer

This closes #1710
2019-01-28 23:12:28 +01:00
Joel 'Aaron' Cohen
1231930abd THRIFT-4760: Configure and install pkgconfig files when using cmake
Client: cpp
2019-01-28 09:36:41 -05:00
James E. King III
638c91f6be THRIFT-1549: properly unwrap and close TSSLSocket in python 2019-01-27 08:21:40 -05:00
James E. King III
29f7f8f32f THRIFT-4743: remove cpp compiler plugin support to simplify the project 2019-01-26 23:53:38 -05:00
James E. King III
3f559940c2 THRIFT-4757: fix npm identified security vulnerability in transient dependency on sync-exec 2019-01-26 09:35:46 -05:00
James E. King III
b96c43892a THRIFT-4717: fix up make clean with autoconf 2019-01-25 23:33:54 -05:00
James E. King III
8935c98046 THRIFT-4753: re-version master to next release 0.13.0 2019-01-25 23:33:54 -05:00
Mustafa Senol Cosar
129bb3e10d THRIFT-4675: Fix int64 constants generation for map keys 2019-01-25 10:03:37 -05:00
James E. King III
b1d63e7190 THRIFT-4750: as3 changes to build and publish to maven central 2019-01-24 12:20:30 -05:00
Florian Lonqueu-Brochard
22749ac376 THRIFT-4751: Missing imports in TProtocol (phpdoc related only)
Client: php
2019-01-24 07:57:20 -05:00
James E. King III
328e437f26 THRIFT-4698: add releading instructions to the haskell readme [ci skip] 2019-01-24 07:46:13 -05:00
James E. King III
98f379ece1 THRIFT-4746: changes for publishing java library to maven; fix java debug vs. release build with cmake 2019-01-23 09:24:32 -05:00
James E. King III
dd63da19fa
Merge pull request #1690 from cyyever/const_members
THRIFT-4740:Use std::chrono for timeout and add const to some methods.
2019-01-22 09:40:21 -05:00
Renan Cakirerk
c28a739b8c THRIFT-4747: The 'omitempty' tag should not be appended to optional fields that have a default value 2019-01-21 22:25:40 -05:00
Rob Becker
f1eadad76e THRIFT-4654 Minor fixes for dart 1 & 2 compatibility (backwards compatible) (#1617)
* THRIFT-4654 Minor fixes for dart 1 & 2 compatibility
* update dockerfiles for CI to test dart 2
* THRIFT-4654 update pubspec for tests
* THRIFT-4654 update dart test generator and readme to 1.24.3
* THRIFT-4654 update generated dart sdk to a range
* fix the dart tutorials
* Add .dart_tool directories to .gitignore
* THRIFT-4654: use dart 2.1.0 and fix cross test dart client timeout
2019-01-21 22:24:01 -05:00
cyy
9fed90104c fix static analyzer warings 2019-01-22 10:38:15 +08:00
cyy
f7a4ead00d fix warings 2019-01-22 10:38:14 +08:00
cyy
f6460fa00b change doc 2019-01-22 10:38:14 +08:00
cyy
72a878ebe3 change timeous_ms to unsigned type 2019-01-22 10:36:18 +08:00
cyy
c349cdb295 add override and const 2019-01-22 10:36:18 +08:00
cyy
fc222b3a87 remove useless assert code 2019-01-22 10:36:18 +08:00
cyy
c1bfe3d718 remove WIN XP macros 2019-01-22 10:36:18 +08:00
cyy
6a01d46df6 remove unused code 2019-01-22 10:36:18 +08:00
cyy
bfdbd0344b use chrono 2019-01-22 10:36:18 +08:00
cyy
d12dbed670 remove unused headers 2019-01-22 10:36:18 +08:00
cyy
7190ca7a3d remove unused headers 2019-01-22 10:36:17 +08:00
cyy
f83d3f90d6 add const to member functions 2019-01-22 10:36:17 +08:00
James E. King III
ef32bc10b7 THRIFT-4163: update cmake build type handling 2019-01-21 16:14:25 -05:00
Christoph Herold
1ad08ca91b THRIFT-3587 TTLSSocket now also uses ConnectHelper to allow for timeouts when opening the connection.
Client: C#
Patch: Christoph Herold

This closes #1698
2019-01-20 22:13:54 +01:00
Jens Geyer
8630eb9cf2 THRIFT-4741 Missing "inner" argument from one CTOR
Client: C#
Patch: Jens Geyer

This closes #1696
2019-01-20 11:35:17 +01:00
Jens Geyer
67df34afa7 THRIFT-4742 Typo "cannot read from null input stream" on write
Client: netcore
Patch: Jens Geyer

This closes #1697
2019-01-17 01:34:04 +01:00
Jens Geyer
ac9e9b1227 THRIFT-4741 Missing "inner" argument from one CTOR
Client: C#
Patch: Jens Geyer

This closes #1696
2019-01-17 01:33:24 +01:00
Mustafa Senol Cosar
f86845e8ed THRIFT-4675: Generate Int64 constants for js 2019-01-15 09:20:54 -05:00
James E. King III
010ccf0a0c
Merge pull request #1678 from BELUGABEHR/THRIFT-4725
THRIFT-4725: Change Return Type Signature of Process Methods
2019-01-14 16:54:59 -05:00
James E. King III
bbc1377874 THRIFT-4691: ensure CPAN module runs unit tests 2019-01-14 13:57:30 -05:00
Christian Bürckert
f61d9e5282 THRIFT-4737: fixed
THRIFT-4737: [added beforeSend to add customHeaders to jqXHR in jqRequest]
Client: [lib/js]

locally tested - custom headers where missing when using jq. So I added these lines to fix it.
2019-01-14 12:14:10 -05:00
junnplus
fe11c48ee1 THRIFT-4733: Fix test unix socket address already in use 2019-01-14 12:10:24 -05:00
Beluga Behr
e20ab3e237 THRIFT-4725: Change Return Type Signature of Process Methods 2019-01-14 11:22:02 -05:00
James E. King III
4eac57abcf THRIFT-4487: replace gettimeofday implementation on windows 2019-01-14 09:56:02 -05:00
James E. King III
234fb47229 THRIFT-4719: remove cocoa 2019-01-14 08:13:52 -05:00
James E. King III
1735542542 THRIFT-4735: Remove Qt4 build support 2019-01-13 09:01:52 -05:00
James E. King III
278528cf7b THRIFT-4732: windows cmake refinements and add windows docker build support 2019-01-11 20:47:00 -05:00
James E. King III
d7c11ada88 Fix swift version [ci skip] 2019-01-11 19:19:44 -05:00
cyy
ca8af9b48f THRIFT-4730: remove pthread code and refactor, ending up with just ThreadFactory 2019-01-11 09:13:12 -05:00
James E. King III
c9ac8d2953 THRIFT-4720: documenting breaking changes, minor cleanup 2019-01-09 17:05:34 -05:00
Ozan Can Altiok
caf7da9767 automatize the double rendering test 2019-01-07 10:45:27 -05:00
cyy
0140cbf567 remove unused variables 2019-01-07 08:11:37 -05:00
cyy
1f34504f43 remove unused boost headers 2019-01-07 08:11:37 -05:00
cyy
863262dad7 add static_assert message 2019-01-07 08:11:37 -05:00
cyy
77d26e2e5c replace boost unique_ptr with std::unique_ptr 2019-01-07 08:11:37 -05:00
cyy
7007506960 replace boost static_assert with static_assert 2019-01-07 08:11:37 -05:00
cyy
7f8aef7099 replace boost::atomic with std::atomic 2019-01-07 08:11:37 -05:00
cyy
0f43f95b89 revert noexcept changings 2019-01-07 08:11:37 -05:00
cyy
8cb3b68548 remove stdcxx namespace and use std directly 2019-01-07 08:11:37 -05:00
cyy
d65e91c476 remove stdcxx namespace and use std directly 2019-01-07 08:11:37 -05:00