summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* THRIFT-5292: No Need to Explicitly Print NullTHRIFT-5292David Mollitor2020-10-072-11/+10
|
* 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
* | | Fixed double newline at end of generated python service files (#2236)Jonathan Mackenzie2020-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | Generated python files have a blank line at the end of files, except for service files where there are two blank lines, this change makes these service files consistent. This change is trivial and thus does not require a ticket.
* | | fix CI: add Erlang crashes to known failuresJens Geyer2020-09-121-323/+335
| | |
* | | THRIFT-5217 Deprecated boost headerzeshuai0072020-09-1211-11/+11
| | | | | | | | | | | | | | | | | | | | | Client: cpp Patch: Zezeng Wang This closes #2158
* | | THRIFT-5260 Fix the thrift compiler generate problematic lua code for the ↵longzhiri2020-09-124-26/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oneway method Client: lua Patch: longzhiri <persistentsnail@gmail.com> This closes #2212 The oneway method's processor has no need to write the result to client, but it is necessary to return values of each handler's return.
* | | Deprecated WinXP and Server2003 methodsMario Emmenlauer2020-09-124-70/+5
| |/ |/| | | | | | | | | | | Client: cpp Patch: Mario Emmenlauer This closes #2165
* | THRIFT-5158 Update Rust generator and Rust lib,test,tutorial to only support ↵Allen George2020-09-0235-353/+355
| | | | | | | | | | | | | | | | | | 2018 edition Client: rs Patch: Allen George This closes #2078
* | THRIFT-5136: Fix memory leak in thrift_multiplexed_processor_process_impl()wangyunjian2020-09-022-7/+3
| | | | | | | | | | | | | | | | | | Client: c_glib Patch: wangyunjian <wangyunjian@huawei.com> This closes #2052 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* | THRIFT-5255: Fix stack overflow in framed transportwangyunjian2020-09-021-3/+4
| | | | | | | | | | | | | | | | | | Client: c_glib Patch: wangyunjian <wangyunjian@huawei.com> This closes #2206 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* | THRIFT-5259 Fix "Transport endpoint is not connected " error when running ↵Zero2020-08-311-6/+0
| | | | | | | | | | | | | | | | | | lua test server accepts a connection Client: lua Patch: Zero <longzhiri@gmail.com> This closes #2211
* | THRIFT-5262 Fix a encoding struct bug in the compact protocol implementation ↵longzhiri2020-08-311-1/+1
| | | | | | | | | | | | | | | | | | to lua Client: lua Patch: longzhiri <persistentsnail@gmail.com> This closes #2214
* | Fix appveryor checkzeshuai0072020-08-311-1/+1
| | | | | | | | | | | | Patch: Zezeng Wang This closes #2220
* | THRIFT-5268 Fix some file loss ")" in definezeshuai0072020-08-313-3/+3
| | | | | | | | | | | | | | Client: c_glib Patch: Zezeng Wang This closes #2218
* | THRIFT-5270: Fix wrong int to string conversionsYuxuan 'fishy' Wang2020-08-295-84/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client: go Starting from go 1.15, go test starts to complain about wrongly used int to string conversions: ./field.go:58:83: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) ./numeric.go:72:12: conversion from int64 to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) ./json_protocol_test.go:612:92: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) ./simple_json_protocol_test.go:685:96: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) json_protocol_test and simple_json_protocol_test usages are actually already in format arg so just remove the conversion is good enough. field is no longer used anywhere so just removed it (there's one line of commented out code in compact_protocol so remove that line as well). The one in numeric.go is actually a bug. We didn't set sValue correctly in NewNumericFromI64 and NewNumericFromI32 functions.
* | THRIFT-5132 Warning in TSocket when using ssl connectionpanivko2020-08-251-2/+3
|/ | | | | | | Client: PHP Patch: Vladimir Panivko This closes #2160
* THRIFT-5237 Implement MAX_MESSAGE_SIZE and consolidate limits into a ↵zeshuai0072020-08-0727-40/+2607
| | | | | | | | | TConfiguration class Client: c_glib Patch: Zezeng Wang This closes #2208
* THRIFT-5248: Python: Make TSocket.isOpen check if server still connectedNeil Williams2020-08-063-1/+83
| | | | | | | | | | | | | Client: py This is inspired by changes to the Go library (THRIFT-5214) and, by proxy, this blog post[1]. The idea is that if the other end of the socket has closed their end of the connection, we can figure that out by doing a non-blocking read on our socket before we waste time serializing and sending a message just to find out the socket is closed when we try to read the response. [1]: https://github.blog/2020-05-20-three-bugs-in-the-go-mysql-driver/
* THRIFT-5261 Support for deprecated methods (via annotation)Jens Geyer2020-08-056-14/+76
| | | | | | | Client: Delphi Patch: Jens Geyer This closes #2213
* THRIFT-5214: Use peek to implement socket connectivity checkYuxuan 'fishy' Wang2020-08-033-27/+8
| | | | | | | | | Client: go In previous implementation of socket connectivity check, we try to read 1 byte and put it into buffer when succeeded. The buffer complicates the implementation of Read function. Change to use syscall.Recvfrom with MSG_PEEK flag instead so that the buffer is no longer needed.
* THRIFT-5257: Fix Go THeaderTransport endOfFrame handlingYuxuan 'fishy' Wang2020-07-292-2/+77
| | | | | | | | | | | Client: go In the current implementation, we only call endOfFrame when we hit EOF when reading from the frameReader. The problem is in go stdlib the Read call finished reading the remaining data from frameReader will not return EOF, the next Read will. This caused us in most cases only call endOfFrame at the beginning of the next frame, which could cause troubles because we didn't read the beginning of the frame properly.
* THRIFT-5237 Implement MAX_MESSAGE_SIZE and consolidate limits into a ↵zeshuai0072020-07-2546-151/+1004
| | | | | | | | | TConfiguration class Client: cpp Patch: Zezeng Wang This closes #2185
* THRIFT-5254 Member name cannot be Isset (unless it is an "required" member)Jens Geyer2020-07-163-17/+24
| | | | | | | Client: netstd Patch: Jens Geyer This closes #2203
* THRIFT-5253 using Result in result name generates wrong IAsync interfaceJens Geyer2020-07-164-9/+124
| | | | | | | Client: netstd Patch: Jens Geyer This closes #2202