qpid-proton-j.git
4 weeks agoNO-JIRA: update pom.xml scm details to reflect new repo location master
Robbie Gemmell [Fri, 14 Dec 2018 10:29:25 +0000 (10:29 +0000)] 
NO-JIRA: update pom.xml scm details to reflect new repo location

5 weeks agoPROTON-1980 Optimize the CompositeReadableBuffer hashCode method
Timothy Bish [Fri, 7 Dec 2018 19:41:16 +0000 (14:41 -0500)] 
PROTON-1980 Optimize the CompositeReadableBuffer hashCode method

Optimize hashCode to better deal with multiple array contents when
producing the hashCode.  Adds additional JMH tests to cover this area.

6 weeks agoNO-JIRA Rewind the buffer for each test
Timothy Bish [Mon, 3 Dec 2018 23:12:52 +0000 (18:12 -0500)] 
NO-JIRA Rewind the buffer for each test

6 weeks agoNO-JIRA add a benchmark for CompositeReadableBuffer string decode
Timothy Bish [Mon, 3 Dec 2018 20:04:27 +0000 (15:04 -0500)] 
NO-JIRA add a benchmark for CompositeReadableBuffer string decode

7 weeks ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Fri, 23 Nov 2018 15:23:02 +0000 (15:23 +0000)] 
[maven-release-plugin] prepare for next development iteration

7 weeks ago[maven-release-plugin] prepare release 0.31.0 0.31.0
Robbie Gemmell [Fri, 23 Nov 2018 15:22:18 +0000 (15:22 +0000)] 
[maven-release-plugin] prepare release 0.31.0

7 weeks agoNO-JIRA: add a Java11 job on TravisCI
Robbie Gemmell [Thu, 22 Nov 2018 18:03:03 +0000 (18:03 +0000)] 
NO-JIRA: add a Java11 job on TravisCI

7 weeks agoPROTON-1972: fix test failures when using TLSv1.3 / Java11
Robbie Gemmell [Thu, 22 Nov 2018 18:01:42 +0000 (18:01 +0000)] 
PROTON-1972: fix test failures when using TLSv1.3 / Java11

7 weeks agoPROTON-1971: update parent pom, plugins, and test dependencies
Robbie Gemmell [Thu, 22 Nov 2018 16:49:49 +0000 (16:49 +0000)] 
PROTON-1971: update parent pom, plugins, and test dependencies

8 weeks agoPROTON-1965: also apply optimisation when the compared span is within the current...
Robbie Gemmell [Tue, 20 Nov 2018 16:45:42 +0000 (16:45 +0000)] 
PROTON-1965: also apply optimisation when the compared span is within the current array

8 weeks agoPROTON-1965: Optimize CompositeReadableBuffer::equals for the single-array case.
Francesco Nigro [Tue, 20 Nov 2018 11:58:31 +0000 (11:58 +0000)] 
PROTON-1965: Optimize CompositeReadableBuffer::equals for the single-array case.

PR from Francesco Nigro with fixup from Robbie. This closes #20.

8 weeks agoPROTON-1965 Add additional equality tests for buffer slices
Timothy Bish [Mon, 19 Nov 2018 23:19:35 +0000 (18:19 -0500)] 
PROTON-1965 Add additional equality tests for buffer slices

Adds tests for equality checks on sliced buffers with non-zero offsets.

8 weeks agoPROTON-1967 Reduce garbage created in the transport
Timothy Bish [Mon, 19 Nov 2018 20:51:42 +0000 (15:51 -0500)] 
PROTON-1967 Reduce garbage created in the transport

Used cached isntances of objects that are created and immediately discared
after being sent into the frame writer.  In order to fix tests the FrameBody
types all need a copy method so that the events coming through the transport
can be recorded for later analysis.

8 weeks agoPROTON-1966: ensure the position is always reset on return
Robbie Gemmell [Mon, 19 Nov 2018 12:52:23 +0000 (12:52 +0000)] 
PROTON-1966: ensure the position is always reset on return

2 months agoPROTON-1963 Improve performance of some fast path codec types
Timothy Bish [Tue, 13 Nov 2018 21:12:32 +0000 (16:12 -0500)] 
PROTON-1963 Improve performance of some fast path codec types

For the fast path types that configure their map type encoding with a
key type use a single lookup for the type to reduce overhead on each
write.

For the map based types do an in-place decode using the known key types
and other structural expectations to improve decode performance.

For the fast path data section type use the known structure of the type
and avoid looking up encodings to improve performance of decodes.

2 months agoPROTON-1963 Optimize hot path for encoder and decoder classes
Timothy Bish [Tue, 13 Nov 2018 20:26:50 +0000 (15:26 -0500)] 
PROTON-1963 Optimize hot path for encoder and decoder classes

Optimize the hot paths in the encoder and decoder to deal directly with
the primitive types and allow inlining of the normal encodings lookup
path.  Also cleans up some type encoding to use the read with defaults
methods.

2 months agoPROTON-1963 Refactor string encoding size calculation
Timothy Bish [Tue, 13 Nov 2018 19:53:13 +0000 (14:53 -0500)] 
PROTON-1963 Refactor string encoding size calculation

Assume ASCII by default when calculating the string size in UTF8 to
allow for inlining of this method in most cases and fallback to a
multi-byte calculation only when non-ASCII chars are detected.

2 months ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Tue, 6 Nov 2018 17:25:05 +0000 (17:25 +0000)] 
[maven-release-plugin] prepare for next development iteration

2 months ago[maven-release-plugin] prepare release 0.30.0 0.30.0
Robbie Gemmell [Tue, 6 Nov 2018 17:24:29 +0000 (17:24 +0000)] 
[maven-release-plugin] prepare release 0.30.0

2 months agoPROTON-1941: throw BOE in the BB wrapper, preserve historic encoding behaviour for...
Robbie Gemmell [Tue, 6 Nov 2018 16:19:58 +0000 (16:19 +0000)] 
PROTON-1941: throw BOE in the BB wrapper, preserve historic encoding behaviour for compatibility

2 months agoPROTON-1958: use a per-Timer counter value such that its Tasks naturally order if...
Robbie Gemmell [Tue, 6 Nov 2018 12:53:19 +0000 (12:53 +0000)] 
PROTON-1958: use a per-Timer counter value such that its Tasks naturally order if their deadlines are equal

2 months agoPROTON-1916: Makes StringsBenchmark::encodeStringMessage GC free. This closes #15.
Francesco Nigro [Tue, 21 Aug 2018 16:21:59 +0000 (18:21 +0200)] 
PROTON-1916: Makes StringsBenchmark::encodeStringMessage GC free. This closes #15.

2 months agoNO-JIRA: reinstate tests from PROTON-576 that required Java 7+. This closes #17.
Jiri Danek [Sat, 13 Oct 2018 11:30:33 +0000 (13:30 +0200)] 
NO-JIRA: reinstate tests from PROTON-576 that required Java 7+. This closes #17.

2 months agoNO-JIRA: trivial code cleanups. This closes #18.
Jiri Danek [Mon, 15 Oct 2018 09:29:08 +0000 (11:29 +0200)] 
NO-JIRA: trivial code cleanups. This closes #18.

2 months agoPROTON-1962: update some defaults and related handling
Robbie Gemmell [Tue, 6 Nov 2018 12:17:09 +0000 (12:17 +0000)] 
PROTON-1962: update some defaults and related handling

2 months agoPROTON-19 Optimization for the codec and transport hot paths
Timothy Bish [Thu, 1 Nov 2018 19:13:16 +0000 (15:13 -0400)] 
PROTON-19 Optimization for the codec and transport hot paths

Write a cachded encoded value for Accepted states as that does not change
and can be easy syntheszied.  Also write the descriptor codes directly in
the fast path encoders since we know the type and value without needing to
dip back into the generic encoder write methods.

2 months agoPROTON-1938: cleanup PR, alternate change made in 19bf22f7e9b88e73db4b195f674d1527dbd...
Robbie Gemmell [Tue, 30 Oct 2018 15:04:36 +0000 (15:04 +0000)] 
PROTON-1938: cleanup PR, alternate change made in 19bf22f7e9b88e73db4b195f674d1527dbd713f3. This closes #16

2 months agoPROTON-1938: align TransportImpl set/getCondition behaviour, plus stop the closed...
Robbie Gemmell [Tue, 30 Oct 2018 14:47:44 +0000 (14:47 +0000)] 
PROTON-1938: align TransportImpl set/getCondition behaviour, plus stop the closed method replacing an existing ErrorCondition

3 months agoPROTON-1948 Refactor FrameWriter with more performant buffer
Timothy Bish [Wed, 3 Oct 2018 15:53:29 +0000 (11:53 -0400)] 
PROTON-1948 Refactor FrameWriter with more performant buffer

Refactor the FrameWriter to use a more performant ReadableBuffer wrapper
around a byte array that auto grows as an ecode requires instead of
reallocating a ByteBuffer and copying past contents and then performing
a new encode any time space is exhausted.  Removing the layer of buffer
abstractions leads to an increase in overall performance under normal
operations as well.

3 months agoPROTON-1941 Add ensureRemaining to the WritableBuffer interface
Timothy Bish [Wed, 26 Sep 2018 19:30:31 +0000 (15:30 -0400)] 
PROTON-1941 Add ensureRemaining to the WritableBuffer interface

Provide an access point for the codec to request that the WritableBuffer
be sized to accept a given number of bytes usually in relation to larger
incoming write of a complex type.  Add default implementation  to preseve
backwards compatability and an implementation in the ByteBuffer wrapper
that throws early if nont enough bytes exist to handle the announced
pending writes.

3 months agoNO-JIRA Add a JMH test for the FrameWriter class for testing
Timothy Bish [Wed, 26 Sep 2018 15:27:03 +0000 (11:27 -0400)] 
NO-JIRA Add a JMH test for the FrameWriter class for testing

4 months agoPROTON-1925 Add type values for know Section and DeliveryState
Timothy Bish [Fri, 31 Aug 2018 13:44:42 +0000 (09:44 -0400)] 
PROTON-1925 Add type values for know Section and DeliveryState

Update the APIs of the DeliveryState and Section implementations to
return a type identifier

4 months agoPROTON-1925 Add enum values for know Section and DeliveryState
Timothy Bish [Thu, 30 Aug 2018 18:19:35 +0000 (14:19 -0400)] 
PROTON-1925 Add enum values for know Section and DeliveryState

Allows for simpler identification and processing using switch or other
logic instead of instanceof checks for all types.

5 months ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Fri, 10 Aug 2018 19:16:53 +0000 (20:16 +0100)] 
[maven-release-plugin] prepare for next development iteration

5 months ago[maven-release-plugin] prepare release 0.29.0 0.29.0
Robbie Gemmell [Fri, 10 Aug 2018 19:16:05 +0000 (20:16 +0100)] 
[maven-release-plugin] prepare release 0.29.0

5 months agoPROTON-1911: tweak to restore previous exception behaviour
Robbie Gemmell [Fri, 10 Aug 2018 19:00:18 +0000 (20:00 +0100)] 
PROTON-1911: tweak to restore previous exception behaviour

5 months agoPROTON-1911: have test verify the method of interest is actually a default
Robbie Gemmell [Fri, 10 Aug 2018 16:54:36 +0000 (17:54 +0100)] 
PROTON-1911: have test verify the method of interest is actually a default

5 months agoPROTON-1911 Improve performance of String encodes when possible
Timothy Bish [Fri, 10 Aug 2018 16:40:12 +0000 (12:40 -0400)] 
PROTON-1911 Improve performance of String encodes when possible

Optimize the String encoding by adding new method to WritableBuffer that
allows the buffer implementation to optimize how String values are
encoded to UTF8 bytes based on the buffer type.  Using the Java 8
default implementation support for interface methods add a default
version that behaves as the older releases would.  For the ByteBuffer
wrapper optimize the writes by accessing the buffer data in the most
direct way possible.

Help on this solution provided by Robbie Gemmell and Francesco Nigro

5 months agoPROTON-1913: require Java 8, i.e drop Java 7 support
Robbie Gemmell [Fri, 10 Aug 2018 11:44:57 +0000 (12:44 +0100)] 
PROTON-1913: require Java 8, i.e drop Java 7 support

5 months agoPROTON-1911: add JMH test of encoding message with various elements of string metadat...
Robbie Gemmell [Fri, 10 Aug 2018 10:31:53 +0000 (11:31 +0100)] 
PROTON-1911: add JMH test of encoding message with various elements of string metadata and payload

5 months ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Thu, 2 Aug 2018 16:33:21 +0000 (17:33 +0100)] 
[maven-release-plugin] prepare for next development iteration

5 months ago[maven-release-plugin] prepare release 0.28.1 0.28.1
Robbie Gemmell [Thu, 2 Aug 2018 16:32:39 +0000 (17:32 +0100)] 
[maven-release-plugin] prepare release 0.28.1

5 months agoPROTON-1906: avoid potential NPE when duplicating composite buffer
Robbie Gemmell [Thu, 2 Aug 2018 16:08:15 +0000 (17:08 +0100)] 
PROTON-1906: avoid potential NPE when duplicating composite buffer

5 months agoRevert "[maven-release-plugin] prepare release 0.28.1"
Robbie Gemmell [Thu, 2 Aug 2018 16:04:03 +0000 (17:04 +0100)] 
Revert "[maven-release-plugin] prepare release 0.28.1"

This reverts commit 18a6d064ff4dc3338d7cc257cc0fac9a5a3644c7.

5 months agoRevert "[maven-release-plugin] prepare for next development iteration"
Robbie Gemmell [Thu, 2 Aug 2018 16:03:37 +0000 (17:03 +0100)] 
Revert "[maven-release-plugin] prepare for next development iteration"

This reverts commit ecb4cfb4be582e5df26798522b00f911f5a9c81c.

5 months ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Tue, 31 Jul 2018 14:27:28 +0000 (15:27 +0100)] 
[maven-release-plugin] prepare for next development iteration

5 months ago[maven-release-plugin] prepare release 0.28.1
Robbie Gemmell [Tue, 31 Jul 2018 14:26:44 +0000 (15:26 +0100)] 
[maven-release-plugin] prepare release 0.28.1

5 months agoPROTON-1902: fix/allow handling of aborted deliveries
Robbie Gemmell [Mon, 30 Jul 2018 12:43:59 +0000 (13:43 +0100)] 
PROTON-1902: fix/allow handling of aborted deliveries

Ensure 'aborted' flag overrules the 'more' and 'settled' flags as appropriate, account for delivery properly, and allow determining it was aborted.

5 months agoPROTON-1901: fix handling of multiplexed incoming deliveries on a session, check...
Robbie Gemmell [Fri, 27 Jul 2018 11:46:14 +0000 (12:46 +0100)] 
PROTON-1901: fix handling of multiplexed incoming deliveries on a session, check for various sequencing issues that would cause illegal states and knock on problems

6 months ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Fri, 13 Jul 2018 19:46:06 +0000 (20:46 +0100)] 
[maven-release-plugin] prepare for next development iteration

6 months ago[maven-release-plugin] prepare release 0.28.0 0.28.0
Robbie Gemmell [Fri, 13 Jul 2018 19:45:20 +0000 (20:45 +0100)] 
[maven-release-plugin] prepare release 0.28.0

6 months agoPROTON-1895: add ability to append [Composite]ReadableBuffer contents directly rather...
Robbie Gemmell [Fri, 13 Jul 2018 17:47:26 +0000 (18:47 +0100)] 
PROTON-1895: add ability to append [Composite]ReadableBuffer contents directly rather than require external steps

6 months agoPROTON-1894: expose the current array position even with buffers have multiple backin...
Robbie Gemmell [Fri, 13 Jul 2018 17:45:38 +0000 (18:45 +0100)] 
PROTON-1894: expose the current array position even with buffers have multiple backing arrays

6 months agoPROTON-1892: ensure new deliveryId is properly allocated to new delivery transfers...
Robbie Gemmell [Wed, 11 Jul 2018 17:18:47 +0000 (18:18 +0100)] 
PROTON-1892: ensure new deliveryId is properly allocated to new delivery transfers when an existing multi-frame delivery is still underway on another link.

Change from Marcel Meulemans, plus test from me.

6 months agoPROTON-1891: ensure the empty slice rejects appends like non-empty slices do
Robbie Gemmell [Tue, 10 Jul 2018 11:43:43 +0000 (12:43 +0100)] 
PROTON-1891: ensure the empty slice rejects appends like non-empty slices do

6 months agoPROTON-1889: ensure array indexing is updated if needed when appending new content...
Robbie Gemmell [Mon, 9 Jul 2018 15:57:42 +0000 (16:57 +0100)] 
PROTON-1889: ensure array indexing is updated if needed when appending new content to the composite

6 months agoNO-JIRA: fix test name and correct separator comment
Robbie Gemmell [Wed, 4 Jul 2018 14:54:54 +0000 (15:54 +0100)] 
NO-JIRA: fix test name and correct separator comment

6 months agoNO-JIRA: make javadoc more specific to clarify meaning
Robbie Gemmell [Wed, 4 Jul 2018 14:20:43 +0000 (15:20 +0100)] 
NO-JIRA: make javadoc more specific to clarify meaning

6 months agoPROTON-1876 Expose the encode / decode methods using buffers
Timothy Bish [Wed, 27 Jun 2018 19:59:43 +0000 (15:59 -0400)] 
PROTON-1876 Expose the encode / decode methods using buffers

Expose the encode and decode methods that use WritableBuffer and
ReadableBuffer on the Message interface to allow clients to use newer
no-copy variants of the API easier.

8 months agoNO-JIRA: update test ssl certs/keystores to use RSA as some newer envs disable now...
Robbie Gemmell [Tue, 15 May 2018 13:02:05 +0000 (14:02 +0100)] 
NO-JIRA: update test ssl certs/keystores to use RSA as some newer envs disable now disable DSA. Remove some unused files.

8 months ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Wed, 25 Apr 2018 20:28:13 +0000 (21:28 +0100)] 
[maven-release-plugin] prepare for next development iteration

8 months ago[maven-release-plugin] prepare release 0.27.1 0.27.1
Robbie Gemmell [Wed, 25 Apr 2018 20:27:22 +0000 (21:27 +0100)] 
[maven-release-plugin] prepare release 0.27.1

8 months agoPROTON-1836 Fix test name typo
Timothy Bish [Wed, 25 Apr 2018 19:58:08 +0000 (15:58 -0400)] 
PROTON-1836 Fix test name typo

8 months agoPROTON-1836 Fix empty string decoding from CompositeReadableBuffer
Timothy Bish [Wed, 25 Apr 2018 19:49:57 +0000 (15:49 -0400)] 
PROTON-1836 Fix empty string decoding from CompositeReadableBuffer

Ensure that empty string is read as empty and not null string.  Adds
tests and optimizes the StringType encodings to fast return on size zero
strings.

8 months ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Wed, 18 Apr 2018 19:23:40 +0000 (20:23 +0100)] 
[maven-release-plugin] prepare for next development iteration

8 months ago[maven-release-plugin] prepare release 0.27.0 0.27.0 0.27.0-rc2
Robbie Gemmell [Wed, 18 Apr 2018 19:23:08 +0000 (20:23 +0100)] 
[maven-release-plugin] prepare release 0.27.0

8 months agorestore version to 0.27.0-SNAPSHOT
Robbie Gemmell [Wed, 18 Apr 2018 17:44:46 +0000 (18:44 +0100)] 
restore version to 0.27.0-SNAPSHOT

This reverts commits e2dcef929352862fc2fce371164b51e19e44ff3a and 45374f733cd5f26da96e5f221ad67777fca149a6.

8 months agoPROTON-1672: fix issue with sending offset and/or partial content ReadableBuffer...
Robbie Gemmell [Wed, 18 Apr 2018 16:49:25 +0000 (17:49 +0100)] 
PROTON-1672: fix issue with sending offset and/or partial content ReadableBuffer, plus additional arrayOffset tests

8 months agoPROTON-1672 Fix CompositeReadableBuffer arrayOffset
Timothy Bish [Wed, 18 Apr 2018 15:03:07 +0000 (11:03 -0400)] 
PROTON-1672 Fix CompositeReadableBuffer arrayOffset

The arrayOffset should return a fixed position based on the state of the
buffer (slices will normally have a non-zero value)

8 months agoPROTON-1672 Fix issue when PN_TRACE_FRM is enabled
Timothy Bish [Tue, 17 Apr 2018 23:38:17 +0000 (19:38 -0400)] 
PROTON-1672 Fix issue when PN_TRACE_FRM is enabled

During tracing if frame is larger than max frame size an
IndexOutOfBoundsException is thrown if buffer slicing not done properly.

9 months ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Fri, 13 Apr 2018 18:19:49 +0000 (19:19 +0100)] 
[maven-release-plugin] prepare for next development iteration

9 months ago[maven-release-plugin] prepare release 0.27.0 0.27.0-rc1
Robbie Gemmell [Fri, 13 Apr 2018 18:19:17 +0000 (19:19 +0100)] 
[maven-release-plugin] prepare release 0.27.0

9 months agoPROTON-1829: adjust fallback sizing for internal buffers
Robbie Gemmell [Fri, 13 Apr 2018 16:56:31 +0000 (17:56 +0100)] 
PROTON-1829: adjust fallback sizing for internal buffers

9 months agoPROTON-1672: disable jacaco for the python tests module, it appears it provokes spora...
Robbie Gemmell [Fri, 13 Apr 2018 16:47:18 +0000 (17:47 +0100)] 
PROTON-1672: disable jacaco for the python tests module, it appears it provokes sporadic issues with jython

9 months agoPROTON-1828: add ability limit outgoing frame sizes
Robbie Gemmell [Fri, 13 Apr 2018 15:03:27 +0000 (16:03 +0100)] 
PROTON-1828: add ability limit outgoing frame sizes

9 months agoNO-JIRA: trivial comit to prod mirroring
Robbie Gemmell [Thu, 12 Apr 2018 15:53:48 +0000 (16:53 +0100)] 
NO-JIRA: trivial comit to prod mirroring

9 months agoPROTON-1672: replace use of Java 8+ constants in tests
Robbie Gemmell [Thu, 12 Apr 2018 15:07:56 +0000 (16:07 +0100)] 
PROTON-1672: replace use of Java 8+ constants in tests

9 months agoPROTON-1672: replace use of Java 8+ constants
Robbie Gemmell [Thu, 12 Apr 2018 13:59:04 +0000 (14:59 +0100)] 
PROTON-1672: replace use of Java 8+ constants

9 months agoPROTON-1672 Handle multi-frame transfer payloads more efficiently
Timothy Bish [Wed, 11 Apr 2018 20:00:33 +0000 (16:00 -0400)] 
PROTON-1672 Handle multi-frame transfer payloads more efficiently

Replace reallocation and consolidation of transfer payloads when
multiple framed transfers are inbound.  Creates a
CompositeReadableBuffer that can be used to house the assembled payload
for use in the decoder. The decoder implementation refactored to handle
ReadableBuffer as the source of bytes as well as ByteBuffer.  Adds
no-copy method variants to the Sender and Receiver API such that clients
or servers can process inbound and outbound deliveries without copying
the payloads when it is known to be safe not to copy.

Adds tests and jacoco reports to validate test coverage.

9 months agoPROTON-1811 Refactor FrameWriter to reduce code on hot path
Timothy Bish [Fri, 23 Mar 2018 21:00:58 +0000 (17:00 -0400)] 
PROTON-1811 Refactor FrameWriter to reduce code on hot path

Refactoring the FrameWriter to reduce the code on hot path like logging
which isn't normally enabled.  Eliminate allocations of EmptyFrame.

Adds modified JUnit test to allow for running the python tests in an IDE
to aid debugging test failures.

9 months agoPROTON-1808 Grow the buffer by the needed amount when known
Timothy Bish [Thu, 22 Mar 2018 22:24:09 +0000 (18:24 -0400)] 
PROTON-1808 Grow the buffer by the needed amount when known

For the case where we know how much capacity we need we should grow the
buffer directly and not spin trying to get to an amount that
accommodates what we need.

10 months agoPROTON-1774 Remove sasl processing when complete
Timothy Bish [Mon, 26 Feb 2018 20:53:35 +0000 (15:53 -0500)] 
PROTON-1774 Remove sasl processing when complete

Once complete remove any impact of the SaslTransportWrapper from the
transport chain by selecting back to the next TransportWrappers for
input and output once SASL is complete and the pending buffers are
drained.  Move the buffers for sasl input and output into the wrapper
which can be GC'd once removed from the chain.

10 months ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Thu, 22 Feb 2018 17:57:10 +0000 (17:57 +0000)] 
[maven-release-plugin] prepare for next development iteration

10 months ago[maven-release-plugin] prepare release 0.26.0 0.26.0
Robbie Gemmell [Thu, 22 Feb 2018 17:56:02 +0000 (17:56 +0000)] 
[maven-release-plugin] prepare release 0.26.0

10 months agoPROTON-1767 Allow for the sasl buffer to use a duplicate
Timothy Bish [Thu, 22 Feb 2018 16:57:10 +0000 (11:57 -0500)] 
PROTON-1767 Allow for the sasl buffer to use a duplicate

Adds support in the SaslImpl for also exposing a duplicate buffer
instead of a read-only variant.

10 months agoPROTON-1767 Allow for the transport buffer to use a duplicate
Timothy Bish [Wed, 21 Feb 2018 19:40:15 +0000 (14:40 -0500)] 
PROTON-1767 Allow for the transport buffer to use a duplicate

Instead of forcing a read-only buffer as the head or output buffer,
allow the transport to be configured to expose a simple duplicate of the
output buffer for users who know the risks and can benefit from more
direct access to the bytes.

11 months agoPROTON-1756 Reuse callback for send of Transfer frames
Timothy Bish [Mon, 29 Jan 2018 20:27:40 +0000 (15:27 -0500)] 
PROTON-1756 Reuse callback for send of Transfer frames

Reduce GC pressure by not allocating new Runnables on each call to send
a Transfer into the Frame writer.

11 months agoNO-JIRA: use less aggressive values, avoid spurious failures in CI
Robbie Gemmell [Thu, 18 Jan 2018 15:04:02 +0000 (15:04 +0000)] 
NO-JIRA: use less aggressive values, avoid spurious failures in CI

12 months ago[maven-release-plugin] prepare for next development iteration
Robert Gemmell [Thu, 11 Jan 2018 17:53:52 +0000 (17:53 +0000)] 
[maven-release-plugin] prepare for next development iteration

12 months ago[maven-release-plugin] prepare release 0.25.0 0.25.0
Robert Gemmell [Thu, 11 Jan 2018 17:51:54 +0000 (17:51 +0000)] 
[maven-release-plugin] prepare release 0.25.0

12 months agoNO-JIRA: update year in NOTICE files
Robbie Gemmell [Thu, 11 Jan 2018 17:33:32 +0000 (17:33 +0000)] 
NO-JIRA: update year in NOTICE files

12 months agoNO-JIRA: add config for controlling whether release plugin pushes changes
Robbie Gemmell [Thu, 11 Jan 2018 17:04:58 +0000 (17:04 +0000)] 
NO-JIRA: add config for controlling whether release plugin pushes changes

12 months agoadd configuration toggle to enable some release-time checks, missed from PROTON-1690
Robbie Gemmell [Thu, 11 Jan 2018 16:53:19 +0000 (16:53 +0000)] 
add configuration toggle to enable some release-time checks, missed from PROTON-1690

12 months agoPROTON-1739: add a test to ensure the behaviour
Robbie Gemmell [Thu, 11 Jan 2018 15:27:53 +0000 (15:27 +0000)] 
PROTON-1739: add a test to ensure the behaviour

12 months agoPROTON-1739: remove default for session capacity and avoid confusing window interacti...
Robbie Gemmell [Wed, 10 Jan 2018 18:07:00 +0000 (18:07 +0000)] 
PROTON-1739: remove default for session capacity and avoid confusing window interaction when setting frame size

12 months agoPROTON-1737: add option to allow configuring max frame size when using the reactor
Robbie Gemmell [Wed, 10 Jan 2018 13:14:30 +0000 (13:14 +0000)] 
PROTON-1737: add option to allow configuring max frame size when using the reactor

12 months agoPROTON-1736: add a SASL listener to allow relevant processing as frames arrive
Robbie Gemmell [Mon, 8 Jan 2018 18:24:44 +0000 (18:24 +0000)] 
PROTON-1736: add a SASL listener to allow relevant processing as frames arrive

13 months ago[maven-release-plugin] prepare for next development iteration
Robert Gemmell [Fri, 8 Dec 2017 16:11:28 +0000 (16:11 +0000)] 
[maven-release-plugin] prepare for next development iteration

13 months ago[maven-release-plugin] prepare release 0.24.0 0.24.0
Robert Gemmell [Fri, 8 Dec 2017 16:09:55 +0000 (16:09 +0000)] 
[maven-release-plugin] prepare release 0.24.0

13 months agoPROTON-1708: fix some c&p errors with names
Robbie Gemmell [Fri, 8 Dec 2017 12:20:37 +0000 (12:20 +0000)] 
PROTON-1708: fix some c&p errors with names