Commit Graph

157 Commits

Author SHA1 Message Date
Chet Murthy
041c3c777d THRIFT-4421 golang tests rely on gomock, which has changed behaviour, causing tests to fail
Client: go

This closes #1443
2017-12-14 08:49:40 -05:00
D. Can Celasun
4f77ab8e29 THRIFT-4285 Move TX/RX methods from gen. code to library
This change removes a lot of duplication from generated code and allows
the caller to customize how they can read from / write to the
transport.  Backwards compatible adapters make the change compatible
with existing code in use by consuming applications.

Client: Go

This closes #1382
2017-11-03 18:21:40 -07:00
James E. King, III
0ad20bdbfe THRIFT-4351: use travis build stages to optimize build,
avoiding duplicate rebuilds of the same image, and also
allow personal docker hub repositories for private fork
builds to be optimized. Move ubsan build to artful image
because it catches more stuff and fix what was found.

THRIFT-4345: solidify docker build strategy for maximum
coverage: trusty, xenial, artful as stock as they can be

THRIFT-4344: add top level language summary markdown and
update readme with a new image on the layered architecture

THRIFT-3847: remove VERSION macro from config.h which
was causing a conflict on artful builds.

THRIFT-4359: fix haxe map/set decode when key is binary,
as a missing break statement caused it to use an int
during decode

This closes #1389
2017-10-19 11:29:04 -04:00
Yuri Khrustalev
39310dad79 THRIFT-4346: Allow go ZlibTransportFactory to wrap other factories
Client: go

This closes #1375
2017-09-27 12:46:19 -07:00
James E. King, III
65efdff10b build both ubuntu xenial as well as trusty to get more language level
coverage, force C++98 in one of the C++ builds to guarantee compat,
and update docker readme

This closes #1377
2017-09-26 06:48:54 -07:00
Thomas Petazzoni
1744cdcb67 configure.ac, Makefile.am: introduce THRIFT variable to support cross-compilation
The thrift build system currently assumes that the thrift compiler is
always available in $(top_builddir)/compiler/cpp/thrift. However, in a
cross-compilation context, this location contains the thrift compiler
built for the target... which obviously will not run on the build
machine.

In order to support such cross-compilation situation, we introduce the
THRIFT variable as a an argument for the configure script (using
AC_ARG_VAR). If not specified, it defaults to the existing value of
using compiler/cpp/thrift from the build directory, but it can be
overridden when calling ./configure.

Note that $(top_builddir) cannot be used within the configure script,
so we simply use `pwd`, which is the same as the top_builddir.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

This closes #1336
This closes #1350
2017-09-09 07:50:54 -07:00
damnever
1b20b18ec0 Add default message for TApplicationException since some implementations may not set message field
Client: go

This closes #1335
2017-09-05 20:00:38 -07:00
tudyzhb
78b71851fc THRIFT-4307: Make ssl-open timeout effective in golang client
Client: go

This closes #1341
2017-09-05 13:19:39 -07:00
taozle
5c302e02c4 THRIFT-4260 Go context generation issue. Context is parameter in Interface not in implementation
Client: Go
Patch: taozle <zhangliyang26@gmail.com>

This closes #1312
2017-07-25 00:17:30 +02:00
taozle
c0d384a38c THRIFT-4236 Support context in go generated code
Client: Go
Patch: taozle <zhangliyang26@gmail.com>

This closes #1309
2017-07-22 19:42:48 +02:00
D. Can Celasun
0dd823580c THRIFT-4219 remove http GET functions, Thrift only uses POST
Client: Go
Patch: D. Can Celasun <dcelasun@gmail.com>

This closes #1287
2017-07-11 23:10:05 +02:00
Zachary Wasserman
5e9209ff0f THRIFT-4237 Fix effective deadlock introduced by original patch
Client: Go
Patch: Zachary Wasserman <zachwass2000@gmail.com>

This closes #1304
2017-07-08 15:35:42 +02:00
liduo04
49e5103920 THRIFT-4245 Golang TFramedTransport's writeBuffer increases if writes to transport failed
Client: Go
Patch: liduo04 <pirdol@qq.com>

This closes #1303
2017-07-05 21:59:07 +02:00
taozle
5b4c6bfc62 THRIFT-4236: Add context support for go server.
Client: Go
Patch: taozle <zhangliyang26@gmail.com>

This closes #1298
2017-07-01 17:23:56 +02:00
Zachary Wasserman
c0a7050c0a THRIFT-4237 Fix data races in Go TServerSocket
Client: Go
Patch: Zachary Wasserman <zachwass2000@gmail.com>

This closes #1300
2017-07-01 16:05:10 +02:00
Zachary Wasserman
c1794358bb THRIFT-4243 Fix Go TSimpleServer race on wait in Stop() method
Client: Go
Patch: Zachary Wasserman <zachwass2000@gmail.com>

This closes #1302
2017-07-01 16:01:12 +02:00
Zachary Wasserman
b771cbedd6 THRIFT-4240 Fix use of sync.Once in Go TSimpleServer Stop() method
Client: Go
Patch: Zachary Wasserman <zachwass2000@gmail.com>

This closes #1301
2017-07-01 16:00:02 +02:00
Zachary Wasserman
b8ee72de5b THRIFT-4222 Support Unix Domain Sockets in Golang TServerSocket
Client: Go
Patch: Zachary Wasserman <zachwass2000@gmail.com>

This closes #1284
2017-06-07 22:45:54 +02:00
D. Can Celasun
8da0e720bb THRIFT-4215 Golang TTransportFactory Pattern Squelches Errors
Client: Go
Patch: D. Can Celasun <can@dcc.im>

This closes #1285
2017-06-05 14:22:06 +02:00
libinbin
a576896398 THRIFT-4203 thrift server stop gracefully
Client: Go
Patch: libinbin <libinbin@17paipai.cn>

This closes #1271
2017-05-18 23:24:52 +02:00
D. Can Celasun
b67cad46e4 THRIFT-4197 Implement transparent gzip compression for HTTP transport
Client: Go
Patch: D. Can Celasun <can@dcc.im>

This closes #1266
2017-05-13 13:58:02 +02:00
James E. King, III
d5536d1ea0 THRIFT-3730: go server errors are logged twice
Client: go
Patch: zhujun2006 <stone1342006 at gmail dot com>

This closes #940
2017-04-01 11:21:12 -04:00
James E. King, III
847fae9388 THRIFT-3959: document that the go simple server is not simple
Client: go
Patch: JodeZer <jeffery1993@hotmail.com>

This closes #1213
2017-03-22 15:17:30 -04:00
D. Can Celasun
43fb34df28 THRIFT-4011 Sets of Thrift structs generate Go code that can't be serialized to JSON
Client: Go
Patch: D. Can Celasun <dcelasun@gmail.com>

This closes #1156
2017-02-21 22:32:49 +01:00
James E. King, III
06190874c8 THRIFT-4084: Add a SSL/TLS negotiation check to crossfeature to verify SSLv3 is not active and that at least one of TLSv1.0 through 1.2 are accepted.
Client: csharp, d, go, nodejs, perl

This closes #1197
2017-02-20 08:52:11 -05:00
Jens Geyer
5f723cd539 THRIFT-4024 Skip() should throw on unknown data types
Client: C#, NETCore, Haxe, Delphi, Go
Patch: Jens Geyer

This closes #1155
2017-01-11 20:50:38 +01:00
Richard Artoul
c3a3f653b6 THRIFT-3998 Document ability to add custom tags to thrift structs
Client: Go
Patch: Richard Artoul <richardartoul@gmail.com>

This closes #1053
2016-12-10 01:54:54 +01:00
Paul
2df9c20dc7 THRIFT-3855 Replaced complex CompareAndSwapInt64 with syncOnce.
Client: Go
Paul <pavel.finkelshtein@gmail.com>

This closes #1094
2016-09-26 22:05:19 +02:00
zhangxin
54f49f8635 THRIFT-3931 TSimpleServer: If process request encounter UNKNOWN_METHOD, don't close transport.
Client: Go
Patch: zhangxin <xin.zhangwebapi@ele.me>

This closes #1090
2016-09-19 22:37:19 +02:00
ZhiyuYin
47f9b9d7c8 THRIFT-3855 In the go simple server, if Stop() is called multiple times it hangs
Client: Go
Patch: ZhiyuYin <yinzhiyu@xiaomi.com>

This closes #1028
2016-07-23 15:15:18 +02:00
Connor Gorman
f384076760 THRIFT-3851 Golang thrift continually adds the x/thrift content type
Client: Go
Patch: Connor Gorman <cgorman@medallia.com>

This closes #1026
2016-07-15 23:33:23 +02:00
Michael Scott Leuthaeuser
5f06802c73 THRIFT-3805 Golang server susceptible to memory spike from malformed message
Client: Go
Patch: Michael Scott Leuthaeuser <scott.leuthaeuser@gmail.com>
2016-05-28 13:31:33 +02:00
Jens Geyer
eed661313f THRIFT-3809 wrong/unused BINARY type code
Client: Go
Patch: Jens Geyer
2016-04-29 23:29:26 +02:00
Mahendran Kathirvel
7c3eac3ee2 THRIFT-3808 Missing DOUBLE in thrift type enumeration
Client: Go
Patch: Mahendran Kathirvel <astromahi@gmail.com>

This closes #1001
2016-04-29 23:29:24 +02:00
Nobuaki Sukegawa
3aa461b97b Revert "THRIFT-3746 JSON protocol left in incorrect state on read errors"
This reverts commit 51850abb7e.
2016-04-10 18:18:10 +09:00
creker
ca714c4397 THRIFT-3467 Go Maps for Thrift Sets Should Have Values of Type struct{}
Client: Go
Patch: artem antonenko <sam901@yandex.ru>

This closes #976
2016-04-06 22:53:25 +02:00
Tyler Treat
51850abb7e THRIFT-3746 JSON protocol left in incorrect state on read errors
Client: Go
Patch: Tyler Treat <tyler.treat@webfilings.com>

This closes #955
2016-04-06 22:38:55 +02:00
Tyler Treat
cdc83335d6 THRIFT-3771 TBufferedTransport gets in invalid state on read/write errors
Client: Go
Patch: Tyler Treat

This closes #973
2016-04-01 20:53:37 +02:00
Tyler Treat
5025a302c6 THRIFT-3735 JSON protocol left in incorrect state when an exception is thrown during read or write operations
Client: Go
Patch: Tyler Treat <tyler.treat@webfilings.com>

This closes #943
2016-03-11 23:23:50 +01:00
claudemiro
f8ca05528e THRIFT-3251 Add http transport for server to Go lib
Client: Go
Patch: claudemiro <dimiro1@gmail.com>

This closes #785
2016-01-28 23:05:02 +01:00
Roger Meier
8b5e2e7c8e THRIFT-3428 go test fail on busy_machine
add some timeouts after server startup so clients do not connect too early
2016-01-17 09:09:44 +01:00
Justin Larrabee
bbb8f5c46b THRIFT-3430 Go THttpClient does not read HTTP response body to completion when closing
Client: Go
Patch: Justin Larrabee

This closes #703
2015-11-19 21:34:43 +01:00
Justin Larrabee
13ac77daf0 THttpClient now utilizes a package level shared HTTP client and optionally allows users of the library to specify one. 2015-11-17 22:44:26 +01:00
Mark Sonnabaum
a6b120301a THRIFT-3422 Fixed Go's TServerSocket not closing socket on Interrupt.
Client: Go
Patch: Mark Sonnabaum <mark@sonnabaum.com>

This closes #692
2015-11-14 13:37:46 +01:00
Nobuaki Sukegawa
9b9366145c THRIFT-3379 Potential out of range panic in Go JSON protocols
Client: Go
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #646
2015-10-14 00:34:05 +02:00
Nobuaki Sukegawa
a649e7473b THRIFT-3337 Add testBool method to cross tests
This closes #611
2015-09-21 23:07:39 +02:00
jfarrell
614a67016d THRIFT-3324 - Update go get command to include all packages
Client: go
Patch: zzmp

Update go documentation
2015-09-15 17:05:41 -04:00
Jens Geyer
0f17e15255 THRIFT-3051 Go Thrift generator creates bad go code
Client: Go
Patch: Jake Farrell
2015-09-15 21:44:53 +02:00
Jens Geyer
5bc8b5a3a5 THRIFT-3302 Go JSON protocol should encode Thrift byte type as signed integer string
Client: Go
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #591
2015-09-05 12:50:24 +02:00
jfarrell
f13e431bab THRIFT-3305: Missing dist files for 0.9.3 release candidate
Client: build
Patch: jfarrell

Adds missing files to dist
2015-08-25 00:39:29 -04:00