Greg Wilkins
55e9f738c9
Fix #8897 Ignore conditional headers as per RFC7232 ( #8899 )
...
* Ignore date based headers if etag ones are present.
* Also avoid parsing dates unless necessary.
* Check a resource has a lastModified date
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2022-11-17 12:27:21 +11:00
Olivier Lamy
e214c147ad
use modify-sources plugin release 1.0.2 ( #8761 )
2022-11-17 10:42:27 +10:00
Joakim Erdfelt
d2c1b1caf1
Remove maven-plugins from javadoc
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-16 15:37:09 -06:00
Simone Bordet
ec690e2809
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-16 22:04:35 +01:00
Simone Bordet
ab62e8e834
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-16 21:49:11 +01:00
Simone Bordet
3569f65066
Fixes #8750 - AbstractProxyServlet.onServerResponseHeaders does not support headers with empty values ( #8904 )
...
Fixed support for empty headers.
Added test case.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-16 21:47:00 +01:00
Joakim Erdfelt
cf0193421e
Issue #8905 - GzipHandler should include `Vary` header on 304 (Not Modified) responses (per RFC9110)
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-16 14:31:44 -06:00
Joakim Erdfelt
22a810debf
Referencing included /docs/ and /javadoc/ in root index.html
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-16 08:55:20 -06:00
Joakim Erdfelt
24b0f1989e
Fixing proxyTo url for javadoc
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-16 08:54:59 -06:00
Joakim Erdfelt
ae6ffdc135
Correct osgi bundle-name
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-16 08:36:34 -06:00
Joakim Erdfelt
5de6f734e9
Remove jetty-home dependency from jetty-maven-plugin
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-16 08:36:25 -06:00
Joakim Erdfelt
23c989c6ef
Cleanup imports
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-16 08:31:02 -06:00
Joakim Erdfelt
f9b8d50a2e
Merge remote-tracking branch 'origin/fix/jetty-10-home-with-docs-awaitility' into fix/jetty-10-home-with-docs
...
# Conflicts:
# tests/jetty-home-tester/src/main/java/org/eclipse/jetty/tests/hometester/JettyHomeTester.java
2022-11-16 08:30:16 -06:00
Joakim Erdfelt
6b96b0d5e6
Issue #8895 - More reliable JettyHomeTester.unzip
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-16 08:23:18 -06:00
Simone Bordet
da67879cf1
Fixed inconsistencies in naming for styleSheet.
...
Some classes had the second S capitalized, some did not, so now stylesheel -> styleSheet.
CSS has 2 "S" for "S"tyle"S"heet.
Also, the DOM API and the Swing API have "StyleSheet".
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-16 12:18:23 +01:00
Olivier Lamy
62746d9d44
review comments
2022-11-16 20:57:07 +10:00
Olivier Lamy
1eb3cd91ab
use Awaitility
...
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-11-16 12:55:34 +10:00
Lachlan
d72e39757d
Merge pull request #8767 from eclipse/jetty-12.0.x-HttpContent-Caching-Refactor
...
Refactor and improvements to HttpContent Factories
2022-11-16 12:42:32 +11:00
Joakim Erdfelt
fd558f2eaa
Issue #8895 - fixing JettyHomeTester.await logs timeout
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-15 18:51:10 -06:00
Lachlan
4a4ea5b8d8
Merge pull request #8893 from eclipse/jetty-12.0.x-ee9-StatisticsServletTest
...
Re-enable and fix StatisticsServletTest for ee9
2022-11-16 11:40:51 +11:00
Joakim Erdfelt
af227778bb
Issue #8895 - Move JettyHomeTester to own module
...
+ Fix for circular dependency loop
test-distribution ->
jetty-home ->
jetty-documentation ->
jetty-asciidoctor-extensions ->
test-distribution
+ Remove any deps on anything in org.eclipse.jetty from new module
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-15 15:06:59 -06:00
Joakim Erdfelt
43615b53f3
Issue #8895 - Fixing jetty-documentation dep reference
...
Now the jetty-home artifact builds at the right time in the reactor.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-15 14:38:55 -06:00
Simone Bordet
557490e437
Fixes #8896 - Flaky TrailersTest.
...
In Jetty 12, demand after last frame invokes onDataAvailable(), so the latch needs to be counted down two times.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-15 19:47:37 +01:00
Jan Bartel
862af89c55
Issue #8744 Update ee10 to jasper 10.1.1 ( #8746 )
2022-11-15 14:10:27 +11:00
Joakim Erdfelt
3305440adc
Unpacking the right javadoc artifact
2022-11-14 15:51:27 -06:00
Joakim Erdfelt
67629e68cc
Issue #8895 - Introduce jetty-home-<ver>-with-docs.zip
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-14 15:35:40 -06:00
Joakim Erdfelt
092d24cde5
Flagging flaky test
2022-11-14 15:12:59 -06:00
Joakim Erdfelt
f1822c9720
Merge remote-tracking branch 'origin/jetty-12.0.x' into fix/jetty-12-extensible-resource-schemes
2022-11-14 13:09:01 -06:00
Joakim Erdfelt
43937b1987
Issue #8886 - changes to method names + abstract url impl
2022-11-14 13:08:50 -06:00
Simone Bordet
bc3aa21b92
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-14 16:11:52 +01:00
Simone Bordet
6571eb538b
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-14 15:26:34 +01:00
Simone Bordet
df265e0abb
Fixes #8678 - Jetty client receives GO_AWAY and continue to send traffic on same connection ( #8891 )
...
* Fixes #8678 - Jetty client receives GO_AWAY and continue to send traffic on same connection
* Now upon receiving the GOAWAY, the connection is removed from the pool, so it cannot be used by new requests.
* HTTP2Session.removeStream() now happens _after_ notifying HEADERS and DATA events, although the Stream state change still happens before.
This is necessary to avoid that a "close" event is notified before a "headers" or "data" event.
With these changes, the race window of a client acquiring a connection while the server is closing it is reduced, but it is impossible to close it completely.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-14 15:25:25 +01:00
Simone Bordet
d485d1e9ba
Fixed merge of #8882 by removing deprecated constructor, updating parameter order and removing unused classes.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-14 12:03:12 +01:00
Lachlan Roberts
eff404cf7d
Re-enable and fix StatisticsServletTest for ee9
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-11-14 09:37:26 +11:00
Olivier Lamy
d207ee9660
use modify-sources-plugin release version 1.0.2 ( #8890 )
2022-11-12 16:32:23 +10:00
Greg Wilkins
a812b86663
Fix test for #8887
...
Don't demand at EOF
2022-11-12 08:46:55 +11:00
Joakim Erdfelt
ee097316bb
Issue #8886 - support extensible Resource URI schemes
2022-11-11 10:10:53 -06:00
Joakim Erdfelt
1fec356118
Cleanup and organization of GzipHandlerTest.
...
Names of test methods cleaned up.
Duplicate tests removed.
Assertions standardized.
2022-11-11 09:33:39 -06:00
Greg Wilkins
681e04d68a
Temporary disable test that hangs forever.
2022-11-11 16:36:58 +11:00
Lachlan Roberts
905568a93d
fix to ResourceHandler for ResourceHandlerTest.testDirectoryOfCollections
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-11-11 15:01:22 +11:00
Joakim Erdfelt
cf0c4a2b07
Move GzipDefaultServletTest to jetty-core/jetty-server tests
2022-11-10 15:25:22 -06:00
Joakim Erdfelt
9640d0470a
Fix compilation
2022-11-10 14:31:09 -06:00
Joakim Erdfelt
d7cc13d972
Merge branch 'jetty-12-more-test-tags' into jetty-12.0.x
2022-11-10 13:24:27 -06:00
Joakim Erdfelt
c9b621da84
More flaky tags
2022-11-10 11:57:38 -06:00
Joakim Erdfelt
704442b670
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2022-11-10 11:55:28 -06:00
Joakim Erdfelt
6bd0a7a60b
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2022-11-10 11:54:59 -06:00
Simone Bordet
12041da72f
Fixes #8810 - ArrayRetainableByteBufferPool inefficiently calculates bucket indices ( #8882 )
...
Added constructor that uses IntUnaryOperator to avoid boxing.
Deprecated constructor that uses Function<Integer, Integer>.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-10 18:42:53 +01:00
Joakim Erdfelt
34e38d2156
Issue #8822 - Fix NPE seen on `deflater.reset()` when called after `deflater.end()` ( #8881 )
...
* Issue #8822 - NPE on deflater.reset() called after deflater.end()
Now waiting for the server to finish writing even in case of HEAD method,
otherwise the test exit races with the server finishing to fake-write the response content.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2022-11-10 18:42:11 +01:00
Joakim Erdfelt
a636a7d153
Adding some more test tags
2022-11-10 10:14:58 -06:00
Simone Bordet
051588d45b
Fixed javadoc typo.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-10 16:21:24 +01:00