Commit Graph

361 Commits

Author SHA1 Message Date
Roger Meier
a6415bc985 THRIFT-2325: SSL test certificates
CN for servername was ssltest instead of localhost
+ little update of README.md

Patch: Roger Meier
2014-04-07 23:45:19 +02:00
jfarrell
bdbf428365 THRIFT-2402: byte count of FrameBuffer in AWAITING_CLOSE state is not subtracted from readBufferBytesAllocated
Client: java
Patch: jfarrell

Addresses issue where changeSelectInterests would cause close() to occur in the AWAITING_CLOSE state and readBufferBytesAllocated was never called
2014-04-04 13:09:32 -04:00
jfarrell
607355e1de THRIFT-2268:Modify TSaslTransport to ignore TCP health checks from loadbalancers
Client: java
Patch: Thiruvel Thirumoolan

Adds a TSaslTransportException to be able to catch and ignore invalid Sasl headers
2014-04-04 12:07:25 -04:00
jfarrell
6b1027183c THRIFT-1868:Make the TPC backlog configurable in the Java servers
Client: java
Patch: Jean-Daniel Cryans

Makes TServerSocket backlog configurable.
2014-04-04 11:34:42 -04:00
henrique
d7902bf19d THRIFT-2368 New option: reuse-objects for Java generator
Patch: adam-aph
2014-03-31 16:21:37 +02:00
Roger Meier
16fcad0b25 THRIFT-2407 use markdown (rename README => README.md)
Patch: Roger Meier
2014-03-19 06:47:47 +01:00
jfarrell
98d9ef2bd6 THRIFT-2328: Java eliminate all compiler warnings
Client: java
Patch: jfarrell

reverting previous patch for 0.9.1 and will suppress individually or address for 1.0
2014-02-23 22:56:58 -05:00
Roger Meier
48555c5d1f THRIFT-2325 SSL-test-certificates.patch
Java test suite use keys and certs from test/keys/

Patch: Roger Meier
2014-02-22 20:05:21 +01:00
jfarrell
567df43e80 THRIFT-2328: Java eliminate all compiler warnings
Client: Java
Patch: jfarrell

removes lint check for unchecked casts.
2014-02-21 20:15:16 -05:00
Roger Meier
213ea258de THRIFT-1457 java: Capacity of TframedTransport write buffer is never reset
Patch: Arthur Meyer
2014-02-06 23:41:37 +01:00
Roger Meier
194f0114c2 THRIFT-2108 java: Fix TAsyncClientManager timeout race
Patch: Vadim Spivak
2014-01-22 00:10:31 +01:00
Jens Geyer
77369a0ecd THRIFT-2322 Correctly show the number of times ExecutorService (java) has rejected the client.
Patch: Rohit Agarwal & Jens Geyer
2014-01-16 21:36:08 +01:00
Jens Geyer
7975950492 THRIFT-2285 TJsonProtocol implementation for Java/JavaMe/PHP doesn't allow a slash (/) to be escaped (\/)
Patch: Jens Geyer
2013-12-26 18:59:15 +01:00
Roger Meier
53db7cc486 THRIFT-2293 java: TSSLTransportFactory.createSSLContext() leaves files open
Patch: Venura
2013-12-26 15:38:32 +01:00
Roger Meier
4f00134cf9 THRIFT-2274 java: TNonblockingServer and TThreadedSelectorServer do not close their channel selectors on exit and leak file descriptors
Patch:  Thomas Kielbus
2013-12-08 20:59:51 +01:00
Roger Meier
f35975b67f THRIFT-2261 java: error: unmappable character for encoding ASCII
Patch: Roger Meier
2013-11-17 18:30:23 +01:00
Roger Meier
3da1c9025b THRIFT-2260 java: Thrift imposes unneeded dependency on commons-lang3
Patch: Andrew Gaul
2013-11-16 15:37:20 +01:00
jfarrell
38b453be5a THRIFT-2210: lib/java TSimpleJSONProtocol can emit invalid JSON
Client: java
Patch: Alex Levenson

TSimpleJSONProtocol can emit invalid JSON with maps whose keys are not string
2013-09-27 10:11:12 -04:00
jfarrell
2897d4825c THRIFT-2054:TSimpleFileTransport - Java Lib has no straight forward TTransport based file transport
Client: java
Patch: Randy Abernethy

Adds a file transport to java lib.
2013-09-05 09:11:15 -04:00
jfarrell
d9120c9fbd THRIFT-2148:TNonblockingMultiFetchClient imports log4j
Client: java
Patch: jfarrell

Removes import of log4j and switches over to using slf4j.
2013-08-24 09:48:23 -04:00
Carl Yeksigian
c9f4a35c30 THRIFT-1533:Make TTransport should be Closeable
Client: java
Patch: carl
2013-08-21 18:44:48 -04:00
jfarrell
5c1e599dd1 Thrift-2133: java TestTBinaryProtocol.java test failing
Client: java
Patch: jfarrell

Removing unused test after THRIFT-820 changes.
2013-08-17 21:38:31 -04:00
Carl Yeksigian
2ca9c20285 THRIFT-820 Remove readLength attribute from BinaryProtocol
Patch: Carl Yeksigian
2013-08-14 19:38:42 -04:00
jfarrell
0f0558ab1f Thrift-1919:libthrift depends on httpcore-4.1.3 (directly) and httpcore-4.1.4 (transitively)
Client: java
Patch: Jake Farrell

Updates version of httpcore and httpclient
2013-06-21 14:50:31 -05:00
Jake Farrell
89be18365e Thrift-1951:libthrift.jar has source files in it
Client: java
Patch: Jake Farrell

Remove source from libthrift.jar. source dist all ready included in release to central.
2013-06-04 23:22:04 -04:00
Jens Geyer
111d8f2615 Add jensg to dev list 2013-06-03 16:49:55 +02:00
Carl Yeksigian
350860fca3 Add carl to developer list 2013-06-01 22:48:52 -04:00
Jake Luciani
36af4d3b40 THRIFT-1972 Add async server processors to Java
Patch: Jake Luciani
2013-05-16 12:59:50 -04:00
Roger Meier
15522724f6 THRIFT-1034 Java: Add a TNonblockingMultiFetchClient
Patch: Xing Jin
2013-05-12 20:45:13 +02:00
Jake Farrell
0fd47dab1b THRIFT-1956: Switch to Apache Commons Lang 3
Client: java
Patch: Christoffer Sawicki

Updates commons lang from 2.5 to 3.1
2013-05-02 22:51:52 -04:00
Jens Geyer
cac2c5761e THRIFT-563 Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Rob Slifka
Fixes broken build due to previous patch
2013-03-25 01:22:09 +02:00
Roger Meier
9cda78844d THRIFT-1864 java: implement event handler for non-blocking server
Patch: Vitali Lovich
2013-03-24 21:42:35 +01:00
Roger Meier
ce6d1d709a THRIFT-1869 TThreadPoolServer (java) dies when threadpool is consumed
Patch: Brock Noland
2013-03-24 21:26:17 +01:00
Jens Geyer
3661867feb THRIFT-563 Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Rob Slifka
2013-03-24 11:53:31 +02:00
Roger Meier
565517a16c subversion, thanks and good bye
;-r
2013-03-22 21:08:39 +01:00
Roger Meier
7b96b2249a THRIFT-1805 Thrift should not swallow ALL exceptions
Patch: Diwaker Gupta
2013-01-23 20:18:58 +01:00
Roger Meier
f42ce2a8f4 THRIFT-847 Test Framework harmonization across all languages
THRIFT-1595 Java test server should follow the documented behavior as of THRIFT-1590
 Patch: Kamil Salas
2013-01-16 22:12:14 +01:00
Roger Meier
8ebe0d917c THRIFT-1594 Java test clients should have a return codes that reflect whether it succeeds or not.
Patch: Kamil Salas and  Roger Meier
2013-01-06 14:33:39 +01:00
Roger Meier
f089f8ee5f remove unused import 2012-12-27 00:17:39 +01:00
Roger Meier
5d06db63cf THRIFT-1795 Race condition in TThreadedServerPool java implementation
Patch: Venkat Ranganathan
2012-12-23 17:20:20 +01:00
Roger Meier
0193149842 THRIFT-1801 Sync up TApplicationException codes across languages and thrift implementations
Patch: Andrew Cox
2012-12-22 21:31:03 +01:00
Roger Meier
8fa8aeac9a THRIFT-1641 Thrift 0.8 not compatible with Android HttpClient
Patch: Darin Tay
2012-12-22 19:46:28 +01:00
Roger Meier
e242a96ae3 add -Xlint:unchecked to improve quality
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410065 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 22:23:27 +00:00
Jake Farrell
a0bd523670 Thrift-1728:Upgradation of httpcomponents
Client: java
Patch: Karthik K

Upgrade java version dependencies and moves versioning into build.properties 



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1397588 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 14:44:14 +00:00
Jake Farrell
435e1c4f70 THRIFT-1643:Denial of Service attack in TBinaryProtocol.readString
Client: java
Patch: Niraj Tolia 

In readString, if the string field's size is greater than the number of bytes remaining in the byte array to deserialize, libthrift will happily allocate a byte array of that size in readStringBody, filling the heap.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1397397 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 00:43:13 +00:00
Jake Farrell
6fcecd45a7 Updating Thrift trunk version to 1.0.0-dev
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1397293 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 20:34:25 +00:00
Roger Meier
f1ede79211 THRIFT-1643 Denial of Service attack in TBinaryProtocol.readString
Patch: Niraj Tolia
Fix:   add TCompactProtocol maxNetworkBytes


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1396186 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 18:42:16 +00:00
Jake Farrell
e2ef3179b6 Thrift-1693:libthrift has dependency on two different versions of httpcore
Client: java
Patch: Jake Farrell

Update version of httpclient to match httpcore in use in java lib.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1384182 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 01:43:10 +00:00
Bryan Duxbury
630ce09ae6 THRIFT-1655. java: TBinaryProtocol: exceeded message length raises generic TException
This patch converts the TException into a TProtocolException.

Patch: Tyler Hobbs

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1383515 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:33:07 +00:00
Jake Farrell
2853cc0adf Thrift-1658:Java thrift server is not throwing TApplicationException
Client: java
Patch: Keith Turner

Exceptions not being handled correctly within newly modified ProcessFunctions. Added back code previously removed from auto generated class.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1375880 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 02:27:06 +00:00