Lachlan Roberts
22d5321628
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-06-23 10:04:58 +10:00
Lachlan
1b59672b7f
Merge pull request #4987 from eclipse/jetty-9.4.x-1100-WebSocketEncoderLifeCycle
...
Issue #1100 - ensure init and destroy are always called on JSR356 Encoders
2020-06-23 09:43:50 +10:00
Lachlan Roberts
0db20886d0
Issue #1100 - ensure init and destroy are always called on JSR356 Encoders
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-06-22 11:51:06 +10:00
Lachlan Roberts
a03a352d79
Issue #1100 - replicate issue where Encoder init and destroy never called
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-06-22 11:21:46 +10:00
olivier lamy
f326ad065d
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2020-06-20 12:05:14 +10:00
Olivier Lamy
a644a4b390
no need of creating/attaching sources twice for release as it is done in the default build (and we do not need forking a lifecycle for that) ( #4938 )
...
* no need of creating/attaching sources twice for release as it is done in the default build
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* comment
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* no need to fork a lifecycle when attaching sources files
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-19 12:47:46 +10:00
Simone Bordet
0b854a1f5f
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-06-18 15:37:09 +02:00
Simone Bordet
c0481a5e5f
Issue #4965 - WINDOW_UPDATE for locally failed stream should not clos… ( #4969 )
...
* Issue #4965 - WINDOW_UPDATE for locally failed stream should not close the HTTP/2 session.
Improved HTTP2Session.onWindowUpdate() code to correctly check whether
the stream is already closed, and if so, just drop the WINDOW_UPDATE.
Refactored onResetForUnknownStream() to base class.
Other small refactorings to improve logging.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-06-18 15:23:51 +02:00
Lachlan
975eb05189
Merge pull request #4978 from eclipse/jetty-10.0.x-JettyHome-slf4j-impl
...
only include jetty-slf4j-impl jar once in jetty-home
2020-06-18 22:16:18 +10:00
Lachlan Roberts
3d10b2e9df
only include jetty-slf4j jar once in jetty-home
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-06-18 09:28:57 +10:00
olivier lamy
f745d5d5df
remove unused imports and upgrade testcontainers.version
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-15 17:40:15 +10:00
olivier lamy
25c54668f4
fix license header
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-13 20:43:21 +10:00
Joakim Erdfelt
6795f3915f
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-06-12 12:04:50 -05:00
Joakim Erdfelt
4abd8b1b39
Merge remote-tracking branch 'origin/release-9.4.30' into jetty-9.4.x
2020-06-12 11:31:42 -05:00
Jan Bartel
004bbe4e9f
Add deletion test for memcached session data cache.
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-06-12 18:20:14 +10:00
olivier lamy
7f0c725fd4
upgrade testcontainers to 1.14.2
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-12 18:20:14 +10:00
olivier lamy
a78d2f475d
use testcontainers to start memcached via docker for testing real remote memcached server
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-12 18:20:14 +10: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
de6273baae
Merge pull request #4959 from eclipse/jetty-9.4.x-4903-fix-public-endpoint-check
...
Issue #4903 - Improved behavior for Custom ServerEndpointConfig.Configurator
2020-06-11 06:32:21 -05:00
Lachlan Roberts
66ef0ebc03
Issue #4903 - do ServerEndpointConfig validation check before started
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-06-11 19:20:49 +10:00
olivier lamy
c48aee0a54
maven war plugin 3.3.0
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-11 10:08:41 +10:00
Lachlan Roberts
f41f601e19
Issue #4903 - fix validation on custom Configurator annotated endpoint
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-06-11 09:58:49 +10:00
Joakim Erdfelt
b22e306796
Issue #4903 - Improved behavior for Custom ServerEndpointConfig.Configurator
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-06-10 17:03:26 -05:00
Jan Bartel
cb09abe873
Issue #4920 Restore ability to invalidate sessions on shutdown ( #4933 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-06-10 18:40:19 +02:00
Joakim Erdfelt
9bfc168329
Issue #4903 - Improved behavior for Custom ServerEndpointConfig.Configurator
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-06-10 11:01:30 -05:00
olivier lamy
cbda92ab8c
add olamy key
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-10 16:20:58 +10:00
Lachlan
122cbe28ed
Merge pull request #4952 from eclipse/jetty-10.0.x-websocketJpmsWarnings
...
fix websocket JPMS warnings and build issues
2020-06-10 08:37:17 +10:00
Simone Bordet
207336338e
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-06-09 17:08:31 +02:00
Simone Bordet
1d16310bd2
Merge pull request #4953 from lorban/jetty-9.4.x-4855-h2spec-8-1-2-6-failure
...
Fix h2spec 8.1.2.6 test failure
2020-06-09 17:07:22 +02:00
Ludovic Orban
714a9204b3
#4855 fix race condition that can sometimes make H2 stream send an improper reset with cancel error code instead of protocol error code when the client sends more data than the content-length header specifies
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-06-09 16:59:49 +02:00
Lachlan Roberts
5fc90cc6db
fix websocket JPMS warnings and build issues
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-06-10 00:36:49 +10:00
Simone Bordet
dd6cd4b881
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-06-09 16:11:53 +02:00
Simone Bordet
56bda1b3ae
Jetty 9.4.x 4855 h2spec failures ( #4946 )
...
* Fixes #4855 - Occasional h2spec failures on CI
In case of bad usage of the HTTP/2 API, we don't want to close()
the stream but just fail the callback, because the stream
may be performing actions triggered by a legit API usage.
In case of a call to `AsyncListener.onError()`, applications may decide to call
AsyncContext.complete() and that would be a correct usage of the Servlet API.
This case was not well handled and was wrongly producing a WARN log with an
`IllegalStateException`.
Completely rewritten `HttpTransportOverHTTP2.TransportCallback`.
The rewrite handles correctly asynchronous failures that now are executed
sequentially (and not concurrently) with writes.
If a write is in progress, the failure will just change the state and at the
end of the write a check on the state will determine what actions to take.
A session failure is now handled in HTTP2Session by first failing all the
streams - which notifies the Stream.Listeners - and then failing the session
- which notifies the Session.Listener.
The stream failures are executed concurrently by dispatching each one to a
different thread; this means that the stream failure callbacks are executed
concurrently (likely sending RST_STREAM frames).
The session failure callback is completed only when all the stream failure
callbacks have completed, to ensure that a GOAWAY frame is processed after
all the RST_STREAM frames.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-06-09 13:15:05 +02:00
Ludovic Orban
eb6db0db66
#4855 disable racy h2spec test ( #4950 )
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-06-09 09:48:15 +02:00
olivier lamy
c80f841798
fix license header
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-07 21:32:34 +10:00
olivier lamy
004cdc9c0b
fix merge of what-version.adoc
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-07 20:55:28 +10:00
olivier lamy
2f570db004
fix bad merge
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-07 10:06:01 +10:00
olivier lamy
fdc4cabc6b
fix bad merge
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-07 09:48:43 +10:00
olivier lamy
593d3e9aa6
remove duplicate dependency
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-07 09:31:44 +10:00
olivier lamy
2413f551f1
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2020-06-07 09:30:54 +10:00
Chris Walker
7c1d290d89
Added Jetty 11 to version matrix
2020-06-06 13:42:29 -05:00
Joakim Erdfelt
eac4187a29
Merge pull request #4940 from eclipse/jetty-9.4.x-4939-accept_queue_size_docs
...
Fixes #4939 - acceptorQueueSize [sic]
2020-06-04 14:01:54 -05:00
Joakim Erdfelt
c75f1b3888
Adding note to Example code about it not being secure
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-06-04 12:00:48 -05:00
Simone Bordet
029470c5dc
Fixes #4939 - acceptorQueueSize [sic]
...
acceptorQueueSize -> acceptQueueSize.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-06-04 18:31:40 +02:00
Simone Bordet
9c6ffae77b
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-06-04 11:51:34 +02:00
Simone Bordet
b904a5cc85
Do not assume the ByteBuffer has a backing byte array.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-06-04 11:49:42 +02:00
olivier lamy
57d4714a08
remove test
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-04 14:35:48 +10:00
olivier lamy
1aaf22cdc1
temporary debug
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-06-04 13:30:16 +10:00
Lachlan Roberts
86ea115e1f
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-06-04 09:27:43 +10:00