| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a simple middleware framework for Go clients.
It provides:
* A `ClientMiddleware` function interface used to define the actual middleware
* `WrapClient`, the function that you use to wrap a `TClient` in a list of middleware
* A helper `WrappedTClient` struct to help with developing middleware
Client: go
|
|
|
| |
Client: py
|
|
|
|
|
| |
Client: Delphi
Patch: Jens Geyer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a simple middleware framework for Go servers.
It provides:
* A `ProcessorMiddleware` function interface used to define the actual middleware
* `WrapProcessor`, the function that you use to wrap a `TProcessor` in a list of middleware
* A helper `WrappedTProcessorFunction` struct to help with developing middleware
This is a breaking change for any custom implementations of the `TProcessor`
interface, but does not effect the code generated by compiling Thrift files. It
adds two functions to the interface that are a part of the generated `TProcessor`
code, but were not defined in the interface explicitly.
|
|
|
|
|
| |
When establishing a WebSocket connection, Firefox sends Connection: keep-alive, Upgrade instead of just Connection: Upgrade. Check to see if Upgrade is in the header instead of checking to see if it is the entire header value.
Client: d
|
|
|
| |
Client: py
|
|
|
|
|
|
| |
- (OS X and Linux) type 'TSet<Element>' does not conform to protocol 'Collection'
- (Linux only) kCFSocketCloseOnInvalidate has Int type
Client: swift
|
|
|
|
|
|
|
| |
Client: py
Patch: zeshuai007 <51382517@qq.com>
This closes #2113
|
|
|
|
|
|
|
| |
Client: cpp
Patch: Dmitry Maluka
This closes #2102
|
|
|
| |
Client: cpp
|
|
|
|
|
|
|
| |
Client: js
* Re-worked consistency of browser.js and index.js in lib/nodejs
* Wrap non-standard V8 method 'Error.captureStackTrace()'
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use stdlib Result instead of TAsyncResult
Fix: deprecations for `withUnsafeBytes`
Bump CI job Xcode version
Hash (into)
Co-authored-by: Sophie Lambrakis <SLambrakis@users.noreply.github.com>
Co-authored-by: Alexander Edge <alex@alexedge.co.uk>
|
| |
|
|
|
| |
Client: cpp
|
|
|
|
|
|
|
| |
Trying to read the next frame will likely cause the Read call blocking
indefinitely and eventually lead to timeout. See the JIRA ticket for
more context.
Client: go
|
|
|
| |
Client: js, json
|
|
|
|
|
|
| |
Patch: Mario Emmenlauer
This closes #2094
|
|
|
|
| |
(not complete yet)
|
|
|
|
|
|
|
|
|
| |
Client: cpp
Patch: Mario Emmenlauer
This closes #2105
The new default host is localhost. Also, the new default path is /service. This works around issue THRIFT-5180 where a path is required for the THttpTransport in Unix domain sockets.
|
|
|
|
|
|
|
| |
Client: cpp
Patch: zeshuai007 <51382517@qq.com>
This closes #2095
|
|
|
|
|
|
|
|
|
| |
lib/cpp/src/thrift/concurrency/Thread.h
Client: cpp
Patch: gaganso <gagan.somashekar@gmail.com>
This closes #2104
|
|
|
|
|
|
|
|
|
| |
xxxThreadFactory.h file which has been removed
Client: cpp
Patch: zeshuai007 <51382517@qq.com>
This closes #2100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Client: go
We already have SetHeader and GetHeader helper functions in the go
library to deal with THeader injected into the context object. But we
didn't provide a way to unset/delete a key from the context object.
This will be useful with the TSimpleServer.SetForwardHeaders API. In the
scenario that a thrift server want to auto forward certain headers to
other upstream thrift servers as the fallback, but during the handling
of the request might decide to remove some of the auto forward headers.
This is also achievable through mutate the write header list, but since
that's a list, finding one key from the list and remove it is much more
hassle.
|
|
|
|
|
|
|
| |
Client: Go
Patch: Qian Lv
This closes #2071
|
|
|
|
|
|
|
| |
Client: py
Patch: Joao Antonio
This closes #2086
|
|
|
|
|
|
|
| |
Client: d
Patch: James Lacey
This closes #2087
|
|
|
|
|
|
|
| |
Client: netstd
Patch: Eric Bleher
This closes #2093
|
|
|
|
|
|
|
| |
Client: cpp
Patch: Yuanyuan Chen
This closes #1962
|
|
|
|
|
|
|
| |
Client: d
Patch: James Lacey
This closes #2075
|
|
|
|
|
|
|
| |
Client: c_glib
Patch: Kevin Wojniak
This closes #1994
|
|
|
|
|
|
|
| |
Client: NodeJS
Patch: Márton Csordás
This closes #2061
|
|
|
|
|
|
|
| |
Client: nodejs
Patch: Márton Csordás
This closes #2082
|
|
|
|
|
|
|
| |
Client: cpp
Patch: zeshuai007 <51382517@qq.com>
This closes #2080
|
|
|
|
|
|
|
| |
Client: cpp
Patch: Kanishth Karthi
This closes #2070
|
|
|
|
|
|
|
| |
Client: PHP
Patch: Vladimir Panivko
This closes #2041
|
|
|
|
|
|
|
| |
"--switch=value", not "--switch value")
Client: Delphi
Patch: Jens Geyer
|
|
|
|
|
|
|
| |
Client: Test suite
Patch: Jens Geyer
This closes #2065
|
|
|
|
|
|
|
| |
Client: c_glib
Patch: zeshuai007 <51382517@qq.com>
This closes #2063
|
|
|
|
|
|
|
|
|
| |
performance
Client: netstd
Patch: Mikel Blanchard
This closes #2057
|
|
|
|
|
|
|
| |
CLient: c_glib
Patch: Kevin Wojniak
This closes #1830
|
|
|
|
|
|
|
| |
Client: Swift
Patch: Alexander Edge
This closes #2036
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Client: Rust
Patch: Jano Svitok
This closes #2050
Also contains portions of THRIFT-4547: Upgrade Swift in docker to 5.1.4
Client: Swift
Patch: Jano Svitok
Linux version 4.2.0 does not have FileHandle.acceptConnectionInBackgroundAndNotify()
implemented. We need at least 5.1 for TSocketServer to run in docker.
In the meantime, URLRequest was moved to FoundationNetworking.
To keep compatibility with previous versions, conditional import is
used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Client: Rust
Patch: Nik Clayton
This closes #2045
Versions 1.1.0 - 1.1.3 of the integer-encoding crate had a bug where
numbers larger than 0x4000_0000_0000_0000 would cause a panic during
decoding.
Add a test to be sure that numbers up to i64::maxvalue() encode and
decode successfully.
|
|
|
|
|
|
| |
reverted https://github.com/apache/thrift/pull/2025
reverted https://github.com/apache/thrift/pull/2026
Reverted https://github.com/apache/thrift/pull/2021
|
|
|
|
|
|
|
| |
Client: csharp
Patch: Jens Geyer
This closes #2027
|
|
|
|
|
| |
Client: delphi
Patch: Jens Geyer
|
| |
|
|
|
|
|
|
|
|
|
| |
Client: java
Patch: Mario Emmenlauer
This closes #2031
Downgraded gradle to 5.6.4 after problems with 6.x in AS3
|
|
|
|
|
|
|
| |
Client: swift
Patch: Alexander Edge
This closes #2028
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch: Mario Emmenlauer
This closes #2017
This closes #2018
This closes #2019
- build/cmake/DefineInstallationPaths.cmake: fixed the library path
- build/cmake/ThriftMacros.cmake: do not enforce debug suffix 'd'
- lib/java/CMakeLists.txt: allow to override JAVA_INSTALL_DIR
|