| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Console.Error as before
|
|
|
|
|
| |
Client: netstd
Patch: Jens Geyer
|
|
|
|
|
|
|
| |
Client: netstd
Patch: Konstantin Pozdniakov & Jens Geyer
This closes #2284
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Client: Java
Patch: David Mollitor
This closes #2254
|
|
|
|
|
|
|
| |
Patch: Mario Emmenlauer
Client: netstd
This closes #2282
|
|\
| |
| | |
THRIFT-5306: Rust code and generated code no longer has clippy warnings (Rust 1.40)
|
| |
| |
| |
| |
| |
| |
| |
| | |
(Rust 1.40)
Client: rs
NOTE: Also properly update the min/max supported Rust versions
|
| |
| |
| |
| |
| |
| | |
Patch: Pooja Chandak
This closes #2271
|
| |
| |
| |
| |
| |
| |
| | |
Client: py
Patch: stiga-huang
This closes #2269
|
| |
| |
| |
| |
| |
| | |
Patch: wangliming07 <wangliming07@58.com>
This closes #2268
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
is reached
Client: Delphi
Patch: Jens Geyer
|
|
|
|
|
|
|
|
|
| |
This adds an Automatic-Module-Name entry to the Thrift jar manifest
in order to provide Thrift with a stable module name when used in a
JPMS modular context. The name chosen here is "org.apache.thrift",
which matches the symbolic name used for OSGi.
See: http://branchandbound.net/blog/java/2017/12/automatic-module-name/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also comes from the discussion of
https://github.com/apache/thrift/pull/1992#issuecomment-705903922.
I think TDebugProtocol is a better fit for this feature than creating a
new TProtocol implementation.
The DuplicateTo field is not added to TDebugProtocolFactory because I
don't think it makes sense from the factory setup. In vast majority
cases users would need direct access to the underlying TMemoryBuffer to
make it useful, which is easier this way than an additional
TTransportFactory plus TProtocolFactory to make TDebugProtocolFactory
way too complicated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Client: go
In go library's TSimpleJSONProtocol and TJSONProtocol implementations,
we use slices as stacks for context info, but didn't do proper boundary
check when peeking/popping, result in it might panic with using -1 as
slice index in certain cases of calling Write*End without matching
Write*Begin before.
Refactor the code to properly implement the stack, and return a
TProtocolException instead on those cases.
Also add unit tests for all protocols. The unit tests shown that
TCompactProtocol.[Read|Write]StructEnd would also panic with unmatched
Begin calls, so fix them as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Client: go
This is a follow up to 4db7a0af13ac9614e3e9758d42b2791040f4dc7e.
Because of the Go runtime bug [1], the previous default value of 1ms is
not a great default as it could cause excessive cpu usage. Use 5ms
instead as a balance between being useful and not causing too much cpu
overhead.
It's still configurable.
[1]: https://github.com/golang/go/issues/27707
|
|
|
|
|
|
|
| |
Client: cpp
Patch: Jens Geyer
This closes #2250
|
|
|
|
|
|
|
| |
Client: java
Patch: David Mollitor
This closes #2253
|
|
|
|
|
|
|
| |
Client: Lua
Patch: Jeffrey Han
This closes #2252
|
|
|
|
|
|
|
| |
Client: md
Patch: Kashirin Alex
This closes #2241
|
|
|
|
|
|
|
| |
Client: rs
Patch: guanjialin <1406147701@qq.com>
This closes #2228
|
|
|
|
|
|
|
| |
Client: php
Patch: Stoyan Markov
This closes #2230
|
|
|
|
|
|
|
|
|
| |
Client: c_glib
Patch: wangyunjian
This closes #2207
Signed-off-by: wangyunjian <wangyunjian@huawei.com>
|
|
|
|
|
|
|
| |
Client: c_glib
Patch: Christopher Chavez
This closes #2249
|
| |
|
|
|
|
|
|
|
|
|
| |
b67cad4 introduced transparent gzip support for the HTTP transport but
calling gzip.NewWriter() with every request causes a large number of
memory allocations [1] and can create GC pressure.
Avoid this by using a sync.Pool for gzip writers.
[1] https://old.reddit.com/r/golang/comments/9uejp4/usage_of_syncpool_for_gzipwriter_in_http_handlers/e94jh8c/
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and setters
Client: php
Patch: Das Dedipyaman
This closes #2245
Update field access for getters_setters flag. FFields are private if getters_setters are set, otherwise, public.
|
|
|
|
|
|
|
|
|
|
| |
and setters
Client: php
Patch: Das Dedipyaman
This closes #1859
This closes #2238
|
|
|
|
|
|
|
|
|
| |
Client: go
Cleanup the default NewTSerializer and NewTDeserializer implementations
to save an unnecessary allocation, and provide
NewTSerializerPoolSizeFactory and NewTDeserializerPoolSizeFactory for
easier non-default pool usages.
|
|
|
|
|
|
|
| |
Client: go
In Go library code, allow setting the underlying protoID to a
non-default (TCompactProtocol) one for THeaderTransport/THeaderProtocol.
|
|\
| |
| | |
Fix abstract unix socket name
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For the abstract unix socket address type, the string in the
'sun_path' field of the 'sockaddr_un' struct, is a not null-terminated
string (see unix(7)).
Fix the lentgh calculation of the 'sun_path' field to not add
the termination null byte.
|
| |
| |
| |
| |
| |
| |
| | |
Client: cpp
Patch: David Mollitor
This closes #2138
|
| | |
|
|\ \
| | |
| | | |
THRIFT-5249 Fix Failed to run FastbinaryTest.py
|
| | | |
|
|\ \ \
| | | |
| | | | |
THRIFT-5237 Implement MAX_MESSAGE_SIZE and consolidate limits into a TConfiguration class(JAVA)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Client: c_glib
Patch: wangyunjian
This closes #2049
Signed-off-by: wangyunjian <wangyunjian@huawei.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Client: c_glib
Patch: Zezeng Wang
This closes #2067
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
variable listening_)
Client: cpp
Patch: Mario Emmenlauer
This closes #2232
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
abstract domain socket paths
Client: cpp
Patch: Mario Emmenlauer
This closes #2233
|