Joakim Erdfelt
8ed8dc62e3
Updating to version 10.0.2-SNAPSHOT
2021-02-19 13:06:42 -06:00
Joakim Erdfelt
d0bfd9145d
Updating to version 10.0.1
2021-02-19 12:43:50 -06:00
Joakim Erdfelt
e81c847998
Happy New Year 2021 (Jetty 10 edition)
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2021-01-21 15:05:57 -06:00
Greg Wilkins
51120b1f0b
Tries improvements ( #5736 )
...
* ArrayTrie handles full alphabet
* TreeTrie handles case sensitive
* improved trie selection from Index builders
* optimisations, cleanups and benchmarks.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2021-01-05 12:52:34 +01:00
Joakim Erdfelt
f0badc5c5e
Issue #5784 - Fixing source header text: EPL-2.0 OR Apache-2.0
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-12-10 16:04:50 -06:00
Joakim Erdfelt
9319f10425
Updating to version 10.0.1-SNAPSHOT
2020-12-02 15:30:13 -06:00
Joakim Erdfelt
b9645a1737
Updating to version 10.0.0
2020-12-02 15:04:53 -06:00
Simone Bordet
03b2b97751
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-12-01 12:58:18 +01:00
Simone Bordet
eb00ac2dde
Restored first-close-and-remove-then-notify ordering that was changed with the changes for #5310 .
...
This is important in tests that check that streams have been removed from sessions after counting down a latch in the notification.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-12-01 12:55:23 +01:00
Simone Bordet
8c465ac76d
Fixed tests and code after merge of #5310 from 9.4.x.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-27 13:53:06 +01:00
Simone Bordet
ce4bb35e97
Fixed failAllData() logic to return true if the stream is already remotely closed.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-27 13:45:28 +01:00
Simone Bordet
c85cef4da5
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-26 16:36:14 +01:00
Ludovic Orban
aa8bd5d820
replace Trie interface and impls usage with new *Index interfaces and Builders
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-11-26 14:14:16 +01:00
Simone Bordet
68e70b47de
Merge pull request #5634 from eclipse/jetty-9.4.x-5310-http2_goaway
...
Review HTTP/2 GOAWAY handling
2020-11-26 11:29:44 +01:00
gregw
7646a24828
Accidentally committed
2020-11-25 23:02:26 +01:00
Joakim Erdfelt
a133e195d8
Fixing checkstyle violations
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-24 13:36:25 -06:00
gregw
0a70cba8ae
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2020-11-24 18:36:24 +01: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
Simone Bordet
4093af1824
Issue 5310 - Review HTTP/2 GOAWAY handling.
...
Updates after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-18 12:03:35 +01:00
Simone Bordet
dd9bdc7ac3
Fixes #5633 - Allow to configure HttpClient request authority.
...
Updated after review.
Added more tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-12 17:13:36 +01:00
Simone Bordet
96e4b38624
Fixes #5633 - Allow to configure HttpClient request authority.
...
Fixed initial session recv window update: it was wrong if the initial value was less than the default value (65535).
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-12 17:13:17 +01:00
Simone Bordet
298ddfd722
Issue 5310 - Review HTTP/2 GOAWAY handling.
...
Fixed javadocs and TODOs.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 17:38:05 +01:00
Simone Bordet
a02012fb3e
Issue 5310 - Review HTTP/2 GOAWAY handling.
...
Fixed logic in onShutdown(): in case of abort the closing action must be
run as callback, so it executes at the end of all the other callbacks.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 16:17:32 +01:00
Simone Bordet
1de622f72f
Issue 5310 - Review HTTP/2 GOAWAY handling.
...
Updates after initial review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 15:25:44 +01:00
Simone Bordet
226d616a8a
Issue 5310 - Review HTTP/2 GOAWAY handling.
...
Reimplemented close/idle_timeout/stop/onGoAway/input_shutdown following more closely the specification.
In particular, the semantic of sending a GOAWAY is now to:
* stop creation of new both local and remote streams
* record the last processed stream
* continue processing streams that are pending
This means that a GOAWAY is "graceful" in the sense that it allows for streams to be completed by applications.
The semantic of stop() and idle timeout is harsher: for pending streams a RST_STREAM is sent to the other peer and they are failed locally.
Added support for GOAWAY with 2^31-1 lastStreamId.
Added support for a peer to send and receive multiple GOAWAY frames.
Reviewed the stream creation/destruction mechanism so that when the last stream completes after a GOAWAY, proper actions can be run to tear down the connection.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 10:07:19 +01:00
Simone Bordet
206050df7f
Issue 5310 - Review HTTP/2 GOAWAY handling.
...
Refactored push code in a single place: HTTP2Session.push().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 09:56:32 +01:00
Simone Bordet
0dc2894002
Issue 5310 - Review HTTP/2 GOAWAY handling.
...
Refactored reset code in a single place: HTTP2Session.reset().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 09:56:32 +01:00
Simone Bordet
62e17da2d0
Issue 5310 - Review HTTP/2 GOAWAY handling.
...
Moved stream "close" event after returning from listener methods.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-10 09:56:32 +01:00
Ludovic Orban
814dc69803
Get rid of addContent() by making produceContent() return Content instead.
...
Make EOF and errors be special content.
Transition to a much simplified FSM by using the needContent() / produceContent() model.
Implement blocking on top of async, this way there is only one FSM.
(Milestone 6)
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-11-03 17:30:25 +01:00
Ludovic Orban
a4258ec9c0
Merge all HttpInput* impls into a single class, push all differences to HttpChannel* impls (Milestone 5)
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-11-03 17:30:25 +01:00
Ludovic Orban
946f334810
http2 impl (Milestone 2)
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-11-03 17:30:25 +01: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
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
Simone Bordet
a949afef64
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-10-19 18:24:38 +02:00
Simone Bordet
8de2fbce49
Code cleanup, merging streams[Opened|Closed] from subclasses into HTTP2Session.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-10-18 13:01:40 +02: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
cc7ad29a91
Fixing bad merge: synchronized to AutoLock
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-30 09:46:21 -05:00
Simone Bordet
f40efbf6de
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-09-10 13:38:50 +02:00
Simone Bordet
892a715bea
Small javadocs fixes.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-10 13:35:06 +02:00
Simone Bordet
b997410845
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-09-10 13:26:15 +02:00
Simone Bordet
f81bf7f945
Fixes #3766 - Introduce HTTP/2 API to batch frames. ( #5222 )
...
* Fixes #3766 - Introduce HTTP/2 API to batch frames.
Introduced Stream.FrameList to hold HEADERS+DATA+HEADERS frames.
These are often used by the client and by the server when the
request/response content is known and FrameList will allow to
send them in a single TCP write, rather than multiple ones.
Rewritten HttpSenderOverHTTP2.sendHeaders() and
HttpTransportOverHTTP2.sendHeaders() to take advantage of
FrameList.
Now using ConcurrentHashMap as a client context, because
with DEBUG logging enabled it may be access concurrently.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-10 10:13:14 +02:00
Jan Bartel
77779ed6d8
Issue #4996 - Regularlize logging ( #5167 )
...
* Issue #4996 Regularize logging
Signed-off-by: Jan Bartel <janb@webtide.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-24 17:15:13 +02:00
olivier lamy
c198d26e6b
Updating to version 10.0.0-SNAPSHOT
2020-08-11 16:47:55 +08:00
olivier lamy
429b091578
Updating to version 10.0.0.beta1
2020-08-11 16:47:54 +08:00
Simone Bordet
c49035570e
Merged branch 'jetty-10.0.x' into 'jetty-10.0.x-convert_synchronized_to_autolock'.
2020-08-04 16:32:55 +02:00
Simone Bordet
2fe01626a5
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-07-31 17:47:37 +02:00