Commit Graph

3204 Commits

Author SHA1 Message Date
stanevt
5a4f7382d2 THRIFT-2998: Set Content-Type for HTTP request in Node.js wrapper.
Client: nodejs

This closes #378
2017-10-28 17:54:17 -04:00
James E. King, III
43f4bf2fdd THRIFT-4376: fix a few high impact coverity defects:
1458947: memory leak in compiler
1458787: resource leak in c_glib led to discovery of assert() abuse
1459090: fix string.find result check in JSON processor (unlikely)

This closes #1404
2017-10-28 16:44:09 -04:00
Jens Geyer
d4df91709b THRIFT-4372 Pipe write operations across a network are limited to 65,535 bytes per write
Client: Delphi, C#
Patch: Jens Geyer

This closes #1402
2017-10-26 20:36:28 +02:00
Robert Lu
e54945551f add stdc++ back for php extension build
Client: php

This closes #1400
2017-10-26 12:02:20 -04:00
James E. King, III
350fe7531f THRIFT-4370: build generated code before running static code analysis;
fix E722 flake8 issues identified in python code

This closes #1399
2017-10-26 11:37:02 -04:00
Robert Lu
9dff0efc1e THRIFT-4356: fix segment fault for thrift_protocol
NOTE: drops php5 support for PHP extension (thrift_protocol)
however library still can support PHP5 as evidenced by CI build
Client: php

This closes #1385
This closes #1391
2017-10-25 08:57:04 -04:00
董菲
1df2d9b801 THRIFT-4353: support php ext read data after message begin
Client: php

This closes #1383
2017-10-25 08:56:40 -04:00
christianc
a39ba7f294 THRIFT-4362 check "read length" in readStringBody(int)
Client: Java

This closes #1398
2017-10-25 08:40:51 -04:00
James E. King, III
e7611d0f3e THRIFT-4367: Fix missing positional argument in python
TProcessor.process
Client: py
Patch: Qyetfu

This closes #1392
2017-10-23 16:44:45 -04: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
James E. King, III
b62873686f THRIFT-4350: enable dotnet-2.0.0-sdk in ubuntu xenial, update netcore
projects, get them running with make cross
Client: netcore

This closes #1379
2017-10-10 08:35:48 -07:00
Martin Haimberger
9f9e30b51e THRIFT-4331: C++ TSSLSocket fixes for huge message handling
Client: C++

fixed issue with large messages, where waitForEvent was called
mutliple times waiting for SSL_read() to get bytes and running
in the retry timeout.

fixed issue where poll was not using the right flags.

This fixes #1363
2017-10-06 05:22:13 -07: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
Carwyn Moore
d7720f4363 THRIFT-4348 - Allow custom HTTP headers to be set in Perl HTTP client.
Client: Perl

This closes #1376
2017-09-26 06:42:14 -07:00
Elvis Pranskevichus
2d1fe88db3 THRIFT-4206: Fix decoding of strings in containers with py:dynamic and py:utf8strings
Client: py

_read_by_ttype and _write_by_ttype must be using the *element* spec
and not the container spec when determining the correct read/write
handler.

This closes #1273
2017-09-25 17:11:33 -07:00
James E. King, III
48ba736a58 THRIFT-4131: js / WebSocket / fix handling oneway methods
Client: js
Patch: Martin Hejnfelt <mh@newtec.dk>

This closes #1372
2017-09-24 20:35:01 -07:00
cclauss
4bd3682c79 THRIFT-4309: Python print() function
Client: py

This closes #1339
2017-09-24 06:04:15 -07:00
James E. King, III
9ce1fd9aee THRIFT-4049, THRIFT-4053: when skipping, if field type is invalid, throw a
protocol exception of invalid data instead of doing nothing which could
cause a loop
Client: C++, java

This closes #1371
2017-09-24 05:59:35 -07:00
James E. King, III
eb7b76d32c add perl coding standard of perlstyle
Client: perl
2017-09-23 20:35:29 -07:00
Equim
c8e0207053 THRIFT-4288: Implement logging levels in node.js properly
Client: nodejs

This closes #1334
2017-09-23 06:11:34 -07:00
James E. King, III
aded00b617 THRIFT-3821: make memory buffer size configurable so unit test does
not need 2GB to run; add unit test to prove THRIFT-3480
Client: C++

This closes #1369
2017-09-22 15:17:25 -07:00
James E. King, III
d3013f3fb5 THRIFT-3766: add zlib getUnderlyingTransport method
Client: C++

This closes #1370
2017-09-22 15:15:30 -07:00
James E. King, III
4a6bff1c5b THRIFT-4283: fix TNamedPipeServer race condition in interrupt
Client: C++
Patch: jn.goor@evs.com

This closes #1368
2017-09-22 10:11:06 -07:00
Anthony Molinaro
2d8b17890c THRIFT-4340: Fix a crash on client close
Client: erl

This closes #1367
2017-09-22 05:30:22 -07:00
Dmitry Volodin
28eb9d98ef THRIFT-4233: Make THsHaServer.invoker available (get method only) in inherited classes
Client: hs

This closes #1366
2017-09-21 14:55:50 -07:00
Deniss Afonin
d3cda9c2f3 THRIFT-3357: Generate EnumSet/EnumMap where elements/keys are enums
Client: Java

This closes #1253
2017-09-21 13:57:09 -07:00
Johnny-Liao
9ffb41d94c THRIFT-4251: Fix JDK Epoll Bug in Thrift of TThreadedSelectorServer model.
Client: Java

This closes #1313
2017-09-21 12:48:48 -07:00
Francois Ferrand
69603709ed THRIFT-4327: add API to efficiently remove a single timer
Client: C++

This closes #1353
2017-09-21 09:54:47 -07:00
Gonzalo Aguilar Delgado
ac61a42112 THRIFT-4212: Fix flush on invalid socket
Client: c_glib

This closes #1279
2017-09-21 09:09:20 -07:00
Gonzalo Aguilar Delgado
acbb616192 THRIFT-4211: Fix logging in c_glib
This closes #1278
2017-09-21 08:25:44 -07:00
Gonzalo Aguilar Delgado
cbd9759245 THRIFT-4205: Make sure gobject+glib are correctly linked
This closes #1272
2017-09-21 08:18:17 -07:00
James E. King, III
699b5bc47a THRIFT-4064: update node dependencies
This closes #1359
2017-09-21 07:02:51 -07:00
James E. King, III
81cdcd3dd7 THRIFT-4328: split binary cross tests into their own build job to resolve
timeouts in travis; enable newly reliable cross tests (ran 5 times clean)

This closes #1351
2017-09-13 19:36:00 +00: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
Jens Geyer
cf892d46f6 Testcase for THRIFT-4323 range check errors or NPE in edge cases
Client: Delphi
Patch: Jens Geyer
2017-09-09 10:11:10 +02:00
Francois Ferrand
cc2d558e2d THRIFT-4292: Implement TimerManager::remove()
Client: C++

This closes #1337
2017-09-08 20:23:50 -07:00
Jens Geyer
078281dcd3 THRIFT-4324 field names can conflict with local vars in generated code
Client: Delphi
Patch: Jens Geyer
2017-09-08 23:55:02 +02:00
Jens Geyer
a76e6c7920 THRIFT-4323 range check errors or NPE in edge cases
Client: Delphi
Patch: Jens Geyer
2017-09-08 23:55:01 +02:00
Jens Geyer
a62efa4109 THRIFT-4319 command line switch for "evhttp" incorrectly resolved to anon pipes
Client: Delphi
Patch: Jens Geyer
2017-09-07 22:25:50 +02:00
Jens Geyer
17c3ad9c8a THRIFT-4318 Delphi performance improvements
Client: Delphi
Patch: Jens Geyer

This closes #1348
2017-09-07 22:14:00 +02:00
walter-weinmann
f8e62fbe73 THRIFT-4273 erlang:now/0: Deprecated BIF.
Client: erlang

This closes #1346
2017-09-07 10:53:36 -07:00
walter-weinmann
811f73a661 THRIFT-2733 Erlang coding standards
Client: erlang

This closes #1345
2017-09-07 10:20:17 -07:00
James E. King, III
7d211b8d2d THRIFT-4106: fix errors concurrency_test was identifying
Client: C++

This closes #1343
2017-09-07 10:13:29 -07:00
gx9702
d862c2fd7b THRIFT-4316: fix read size in TByteBuffer.java
Client: java

This closes #1290
2017-09-05 21:33:42 -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
Victor Boivie
9235bec082 THRIFT-4246 Multiplexed clients sequence id fix
Client: nodejs

Previously, all clients would use the latest created multiplexer
for generating sequence numbers which would create a mismatch
between the mapping of sequence number->service in the connection.

This makes the client instances use the multiplexer that is
bound to it.

This closes #1322
2017-09-04 21:46:24 -07:00
Josip Sokcevic
722f8e9506 THRIFT-4247: Fix compilation with OpenSSL 1.1
Client: c_glib

This closes #1308
2017-09-04 18:22:03 -07:00
James E. King, III
d7142b7e4f THRIFT-4295: rework the docker build images, updating them and tuning the travis builds
This closes #1340
2017-09-04 18:09:34 -07:00