Lachlan Roberts
602cd7e5c0
throw ArithmeticException on integer overflow from size
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-12-01 09:51:09 +11:00
Lachlan Roberts
a51b5db209
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-ByteAccumulator
2020-12-01 09:45:45 +11:00
Joakim Erdfelt
e8683cba9f
Updating to version 9.4.36-SNAPSHOT
2020-11-20 16:05:27 -06:00
Joakim Erdfelt
bdc54f03a5
Updating to version 9.4.35.v20201120
2020-11-20 15:05:50 -06:00
Lachlan Roberts
f63a741b0f
use local length field for ByteAccumulator.getLength()
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-17 21:16:38 +11:00
Lachlan Roberts
7c46d96fce
Issue #5499 - add tests for ByteBufferAccumulator
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-17 17:11:47 +11:00
Lachlan Roberts
5788fe609d
Fix ByteBufferAccumulator minSize
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-16 18:43:22 +11:00
Lachlan Roberts
a1aa5dcd14
Issue #5499 - use ByteBufferAccumulator for websocket compression
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-16 18:33:38 +11:00
Lachlan Roberts
e7bed39239
Issue #5499 - add javadoc for ByteBufferAccumulator
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-13 09:56:32 +11:00
Lachlan Roberts
e0031e0585
Issue #5499 - takeBuffer releases all the buffers in the list
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-13 09:22:57 +11:00
Lachlan Roberts
d75e6de1b2
add takeByteBuffer method to ByteBufferOutputStream2
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-12 08:48:50 +11:00
Lachlan Roberts
595d4bfcc4
changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-11 22:18:26 +11:00
Lachlan Roberts
8dc0d9932d
adjust minimum space in ByteBufferAccumulator before buffer allocation
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-06 18:52:11 +11:00
Lachlan Roberts
3c44df0724
changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-06 14:09:13 +11:00
Lachlan Roberts
7bcae9968b
allow writing directly into the ByteAccumulator
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-05 17:19:05 +11:00
Lachlan Roberts
a3c3e24cab
Use the ByteBufferPool in the ByteAccumulator
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-05 14:38:19 +11:00
Lachlan Roberts
145bcff649
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-ByteAccumulator
2020-11-05 13:43:00 +11:00
Lachlan Roberts
05dafb89ab
Move work on ByteAccumulator to jetty-util
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-05 13:42:47 +11:00
Joakim Erdfelt
edaadff55b
Updating to version 9.4.35-SNAPSHOT
2020-11-02 09:04:51 -06:00
Joakim Erdfelt
e46af88704
Updating to version 9.4.34.v20201102
2020-11-02 08:03:51 -06:00
Joakim Erdfelt
64d323fce1
Closes #5511 - Deleting old SslEngineBehaviorTest
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-26 09:06:03 -05:00
Joakim Erdfelt
0d03196a52
Dumping JVM details for when SslEngineBehaviorTest.checkSslEngineBehaviour fails
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-26 08:54:00 -05:00
Joakim Erdfelt
e726eefb0b
Updating to version 9.4.34-SNAPSHOT
2020-10-20 18:55:39 -05:00
Joakim Erdfelt
1be6875565
Updating to version 9.4.33.v20201020
2020-10-20 18:28:51 -05:00
Joakim Erdfelt
fa6c8f7dec
Issue #5480 - Only delete non-persist temp dir if not-empty
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-20 17:19:54 -05:00
Joakim Erdfelt
fdd880b66b
Issue #5451 - Cleanup of temp file cleanup.
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-10-15 18:10:38 -05:00
Joakim Erdfelt
85e257fc98
Updating to version 9.4.33-SNAPSHOT
2020-09-30 11:53:09 -05:00
Joakim Erdfelt
de97d26f7b
Updating to version 9.4.32.v20200930
2020-09-30 11:03:24 -05:00
Joakim Erdfelt
3423375a97
Issue #5357 - Updating to https://eclipse.org/ ( #5358 )
...
* Issue #5357 - Updating to https://eclipse.org/
- Removing redundant <url> refs in pom.xml
- Correcting bad indenting from merge
- Correcting mailing list references
- Correcting bugs.eclipse.org references
- Correcting text file references
- Correcting html references
- Correcting further references
- Correcting download.eclipse.org reference
- Adding test for demo-base /proxy/current/
- Ensuring jetty-client is included in javadoc-proxy.war/WEB-INF/lib
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-29 11:02:32 -05:00
Lachlan
cfd31b2cf5
Merge pull request #5125 from eclipse/jetty-9.4.x-5122-WebSocketStats
...
Issue #5122 - Improve connection statistics for WebSocket
2020-08-19 08:04:47 +10:00
Lachlan Roberts
c37d902ef7
remove tri-state logic from IncludeExcludeConnectionStatistics
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-18 10:18:44 +10:00
Lachlan Roberts
1663a6d7af
Issue #5125 - Generalise WebSocketConnectionStatistics into IncludeExcludeConnectionStatistics
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-08-14 15:19:06 +10:00
Oleg Mozzhechkov
32fe19a5e0
#5150 - Code style fix and connect timeout docs update
...
Signed-off-by: Oleg Mozzhechkov <oleg.mozzhechkov@gmail.com>
2020-08-13 21:23:31 +03:00
Oleg Mozzhechkov
bffd6a2c0f
#5150 - Infinite connection timeout support in ManagedSelector
...
Signed-off-by: Oleg Mozzhechkov <oleg.mozzhechkov@gmail.com>
2020-08-13 17:36:16 +03:00
Joakim Erdfelt
fe9deae849
Updating to version 9.4.32-SNAPSHOT
2020-07-23 13:53:47 -05:00
Joakim Erdfelt
450ba27947
Updating to version 9.4.31.v20200723
2020-07-23 12:46:54 -05:00
Simone Bordet
f2c6b67827
Fixes #4971 - Simplify Connection.upgradeFrom()/upgradeTo(). ( #5008 )
...
Fixes #4971 - Simplify Connection.upgradeFrom()/upgradeTo().
Now the upgrade-from connection produces a "floating" buffer
(not belonging to a pool), so that it can release the original buffer.
The upgrade-to connection is free to copy or store this "floating" buffer.
Strengthened ByteBufferPool behavior when releasing non-pooled
ByteBuffers: the buffer is now discarded.
Updated javadocs and all implementations.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-07-06 22:45:03 +02:00
Simone Bordet
ae43b70a9f
Jetty 9.4.x 4967 buffer corruption for http2 failures ( #5001 )
...
Fixes #4967 - Possible buffer corruption in HTTP/2 session failures
Partially reverted the changes introduced in #4855 , because they
were working only when sends were synchronous.
Introduced ByteBufferPool.remove(ByteBuffer) to fix the issue.
Now when a concurrent failure happens while frames are being
generated or sent, the buffer is discarded instead of being
recycled, therefore resolving the buffer corruption.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-07-03 16:35:33 +02:00
Joakim Erdfelt
6df6fa33b8
Updating to version 9.4.31-SNAPSHOT
2020-06-11 08:24:34 -05:00
Joakim Erdfelt
271836e4c1
Updating to version 9.4.30.v20200611
2020-06-11 07:21:18 -05:00
Joakim Erdfelt
5d6f3e2ddc
Updating to version 9.4.30-SNAPSHOT
2020-05-21 13:42:25 -05:00
Joakim Erdfelt
77c232aed8
Updating to version 9.4.29.v20200521
2020-05-21 12:04:14 -05:00
Simone Bordet
0a028b663b
Issue #4798 - Better handling of fatal Selector failures.
...
More updates after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-30 10:55:29 +02:00
Simone Bordet
8c75eeccce
Issue #4798 - Better handling of fatal Selector failures.
...
Updates after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-29 11:57:06 +02:00
Simone Bordet
952a20f81c
Issue #4798 - Better handling of fatal Selector failures.
...
Implemented selector recovery by transferring
all keys to a newly created selector.
Updated code so that it does not assume that the
SelectionKey never changes.
2020-04-27 23:19:06 +02:00
Simone Bordet
46ad90598c
Code cleanups.
2020-04-27 22:57:57 +02:00
Joakim Erdfelt
5699b9ff3d
Updating to version 9.4.29-SNAPSHOT
2020-04-08 13:15:04 -05:00
Joakim Erdfelt
ab228fde9e
Updating to version 9.4.28.v20200408
2020-04-08 12:33:56 -05:00
Simone Bordet
7ef05860ee
Fixes #4751 - Refresh NetworkTraffic* classes.
...
Added missing license header.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-07 12:19:49 +02:00
Simone Bordet
4e3c0c8cd7
Fixes #4751 - Refresh NetworkTraffic* classes.
...
Introduced NetworkTrafficSocketChannelEndPoint to replace
NetworkTrafficSelectChannelEndPoint, now deprecated.
Code and javadocs cleanup.
Moved the tests to jetty-client so that also the client is tested.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-07 12:04:24 +02:00