summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* FIX: Log errors in processor via standard logger -> errors to write into ↵Jens Geyer2020-11-211-1/+1
| | | | Console.Error as before
* silenced few warningsJens Geyer2020-11-211-14/+8
| | | | | Client: netstd Patch: Jens Geyer
* Log errors in processor via standard logger #2284Konstantin Pozdniakov2020-11-211-3/+13
| | | | | | | Client: netstd Patch: Konstantin Pozdniakov & Jens Geyer This closes #2284
* upgrade msys try get the softzeshuai0072020-11-202-8/+11
|
* try update the package to download the softwarezeshuai0072020-11-201-1/+2
|
* FixDownLoadErrorInAppveyorCizeshuai0072020-11-202-1/+5
|
* rollbackzeshuai0072020-11-201-1/+1
|
* FixDownLoadErrorInCizeshuai0072020-11-201-1/+1
|
* THRIFT-5288: Move Support for ByteBuffer into TTransportDavid Mollitor2020-11-199-45/+81
| | | | | | | Client: Java Patch: David Mollitor This closes #2254
* Minor whitespace changes for netstdMario Emmenlauer2020-11-192-18/+17
| | | | | | | Patch: Mario Emmenlauer Client: netstd This closes #2282
* Merge pull request #2273 from allengeorge/allen/clippy_cleanAllen George2020-11-1828-180/+146
|\ | | | | THRIFT-5306: Rust code and generated code no longer has clippy warnings (Rust 1.40)
| * THRIFT-5306: Rust code and generated code no longer has clippy warnings ↵Allen George2020-11-1228-180/+146
| | | | | | | | | | | | | | | | (Rust 1.40) Client: rs NOTE: Also properly update the min/max supported Rust versions
* | Grammatical/Typo changesPoojaChandak2020-11-1010-39/+39
| | | | | | | | | | | | Patch: Pooja Chandak This closes #2271
* | THRIFT-5303 Fix missing error handling in using PyUnicode_DecodeUTF8stiga-huang2020-11-011-1/+1
| | | | | | | | | | | | | | Client: py Patch: stiga-huang This closes #2269
* | THRIFT-5302 Add recursive function name uniqueness checkwangliming072020-11-012-4/+50
| | | | | | | | | | | | Patch: wangliming07 <wangliming07@58.com> This closes #2268
* | THRIFT-5290 Adjusting cpp *.cproj options according to LEGAL-538Jens Geyer2020-11-011-1/+1
| |
* | fix warning in c_glib from add max_message_size codezeshuai0072020-10-319-34/+35
| |
* | THRIFT-5304 TWinHTTPClientImpl may incorrectly report that the message size ↵Jens Geyer2020-10-302-1/+3
|/ | | | | | | is reached Client: Delphi Patch: Jens Geyer
* Add an Automatic-Module-Name entryMark Raynsford2020-10-241-0/+1
| | | | | | | | | 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/
* Add DuplicateTo protocol to go's TDebugProtocolYuxuan 'fishy' Wang2020-10-191-2/+149
| | | | | | | | | | | | | | 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.
* THRIFT-5294: Fix panic in go TSimpleJSONProtocolYuxuan 'fishy' Wang2020-10-146-61/+261
| | | | | | | | | | | | | | | | | 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.
* THRIFT-5240: Tweak the default go server connectivity check intervalYuxuan 'fishy' Wang2020-10-072-1/+6
| | | | | | | | | | | | | | | 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
* THRIFT-5290 Adjusting cpp *.cproj options according to LEGAL-538Jens Geyer2020-10-063-11/+20
| | | | | | | Client: cpp Patch: Jens Geyer This closes #2250
* THRIFT-5287: Log When Client Connections are DroppedDavid Mollitor2020-10-042-0/+3
| | | | | | | Client: java Patch: David Mollitor This closes #2253
* THRIFT-5286: Fix Lua library readBool() in TCompactProtocolJeffrey Han2020-10-021-9/+11
| | | | | | | Client: Lua Patch: Jeffrey Han This closes #2252
* markdown compiler addedKashirin Alex2020-10-025-0/+1116
| | | | | | | Client: md Patch: Kashirin Alex This closes #2241
* Rust compiler generates invalid code when using typedef with unionguanjialin2020-10-011-0/+4
| | | | | | | Client: rs Patch: guanjialin <1406147701@qq.com> This closes #2228
* THRIFT-5103: Fix for PHP7.4 deprecated syntaxStoyan Markov2020-10-012-2/+2
| | | | | | | Client: php Patch: Stoyan Markov This closes #2230
* THRIFT-5256: Fix some compile warningswangyunjian2020-10-012-3/+3
| | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2207 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* Fix c_glib implicit function declarationsChristopher Chavez2020-10-012-0/+8
| | | | | | | Client: c_glib Patch: Christopher Chavez This closes #2249
* Fix typoTom Wieczorek2020-09-301-1/+1
|
* go: Use sync.Pool for gzip in HTTP transportDuru Can Celasun2020-09-301-2/+13
| | | | | | | | | 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/
* add the test case into cmakezeshuai0072020-09-281-0/+24
|
* THRIFT-4942 Set PHP struct generated field values as private with getters ↵Dedipyaman Das2020-09-271-1/+2
| | | | | | | | | | | 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.
* THRIFT-4942 Set PHP struct generated field values as private with getters ↵Dedipyaman Das2020-09-251-1/+94
| | | | | | | | | | and setters Client: php Patch: Das Dedipyaman This closes #1859 This closes #2238
* THRIFT-5279: Go serializer/deserializer cleanupsYuxuan 'fishy' Wang2020-09-232-9/+54
| | | | | | | | | 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.
* THRIFT-5278: Allow set protoID in go THeader transport/protocolYuxuan 'fishy' Wang2020-09-224-17/+128
| | | | | | | Client: go In Go library code, allow setting the underlying protoID to a non-default (TCompactProtocol) one for THeaderTransport/THeaderProtocol.
* Merge pull request #2235 from deiv/fix-abstract-unix-socket-nameZezeng Wang2020-09-227-69/+158
|\ | | | | Fix abstract unix socket name
| * Fix abstract unix socket nameDavid Suárez2020-09-217-69/+158
| | | | | | | | | | | | | | | | | | 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.
* | THRIFT-5203: Remove Unused toString Method in TSerializerDavid Mollitor2020-09-201-17/+0
| | | | | | | | | | | | | | Client: cpp Patch: David Mollitor This closes #2138
* | fix CI: add Erlang crashes to known failuresJens Geyer2020-09-201-12/+12
| |
* | Merge pull request #2221 from zeshuai007/THRIFT-5249Zezeng Wang2020-09-191-0/+1
|\ \ | | | | | | THRIFT-5249 Fix Failed to run FastbinaryTest.py
| * | test ci fixzeshuai0072020-09-191-0/+1
| | |
* | | Merge pull request #2191 from zeshuai007/Implements_TConfigZezeng Wang2020-09-1862-335/+1217
|\ \ \ | | | | | | | | THRIFT-5237 Implement MAX_MESSAGE_SIZE and consolidate limits into a TConfiguration class(JAVA)
| * | | Implements TConfiguration for javazeshuai0072020-09-1662-335/+1217
| | | |
* | | | THRIFT-5134: Fix memory leak when the handler method return FALSEwangyunjian2020-09-171-42/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2049 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* | | | THRIFT-4272: warnings in glibc libraryzeshuai0072020-09-172-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Client: c_glib Patch: Zezeng Wang This closes #2067
* | | | fix CI: add Erlang crashes to known failuresJens Geyer2020-09-171-12/+12
|/ / /
* | | TServerSocket.cpp: Ensure the server is really listening (via helper ↵Mario Emmenlauer2020-09-151-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | variable listening_) Client: cpp Patch: Mario Emmenlauer This closes #2232
* | | Added getter and setter for domain socket path, and minor fix for printing ↵Mario Emmenlauer2020-09-152-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | abstract domain socket paths Client: cpp Patch: Mario Emmenlauer This closes #2233