Commit Graph

30307 Commits

Author SHA1 Message Date
Jan Bartel 661546ecff
Issue #12124 fix jsp scratchdir location for ee9. (#12129)
* Issue #12124 fix jsp scratchdir location for ee9.

Also ensure the name of war appears in the name of the tmp dir for ee9
webapps.
2024-08-06 09:11:16 +10:00
gregw bcd73c6a7b Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x 2024-08-05 13:11:38 +10:00
Greg Wilkins abab5949ea
Fix #12128 Combined ClassLoader Resources (#12130)
Fix #12104 by returning a CombinedResource for a ClassLoader resource that has multiple directory matches.
2024-08-05 13:09:53 +10:00
Simone Bordet 7e569b0267
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-04 14:49:06 +02:00
Simone Bordet fe6b14b8fb
Made documentation modules more friendly to IDE.
Now the code examples is a packaging=jar module and it's not under a profile.
The extra execution to compile the code examples is not necessary anymore.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-04 14:48:22 +02:00
Jan Bartel 8c276f54d0 Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x 2024-08-04 17:03:52 +10:00
Jan Bartel 54fde0e8be
Issue #12094 restore classloader association during comp/env creation (#12107)
* Issue #12094 restore classloader association during comp/env creation
2024-08-04 16:48:43 +10:00
Simone Bordet ed591a0826
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-03 17:42:49 +02:00
Simone Bordet e1d03b4c68 Now the documentation has been migrated to Antora, so there is no need for the Java Asciidoctor plugin, and the directories that previously held the documentation using the Asciidoctor Maven plugin.
Renamed the `version` attribute to `jetty-version`, and now using the POM value, rather than a hard-coded one.

Removed references to Asciidoctor from the main POM.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-03 18:08:17 +03:00
Joakim Erdfelt ecc60e91d1
Fixing build error with AuthorityCustomizerTest 2024-08-03 05:47:33 -05:00
Joakim Erdfelt 73c358affb
Updating ee11 from ee10 2024-08-03 05:33:47 -05:00
Joakim Erdfelt 9261ed948c
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x 2024-08-03 05:31:24 -05:00
Simone Bordet 84d0574ab6
Fixes #12120 - Introduce properties for cipher suites. (#12126)
Added documentation for advanced TLS configuration.

Updated the javadoc-url attribute to the new javadocs URI.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-02 15:18:35 +02:00
Joakim Erdfelt 22a86859a5
Merge pull request #12127 from jetty/fix/jetty-12.0.x/12104/ConnectionHeader
Fix #12104 Empty Connection Header
2024-08-02 07:15:16 -05:00
Simone Bordet fa143fa62a
Improvements to HttpSender. (#12111)
* Changed ContentSender demand from iterate()+IDLE to succeeded()+SCHEDULED.
  This ensures that there is no re-iteration in case a 100 Continue response arrives.
  This, in turn, avoids that the demand is performed multiple times, causing ISE to be thrown.
* Changed the 100 Continue action of the proxy Servlet/Handler, that provides the request content, to be executed by the HttpSender, rather than by the HttpReceiver.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-08-02 11:28:47 +02:00
gregw 385d943b0c Fix #12104 Empty Connection Header
Fix #12104 by better handling of `close` and `keep-alive` values in the HttpGenerator, so that we never add an empty field.
2024-08-02 14:26:42 +10:00
Joakim Erdfelt 58cfe7709f
Merge pull request #12112 from jetty/fix/jetty-12.0.x/invoker-install-should-include-test-dependencies
invoker:install should include test dependencies as well as they are used by the tests, this issue can happen only when not snapshots have been deployed of demos new versions
2024-07-31 06:45:11 -05:00
Olivier Lamy c7e02ba008
invoker:install should include test dependencies as well as they are used by the tests, this issue can happen only when not snapshots have been deployed of demos new versions
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-07-31 08:07:55 +10:00
Simone Bordet 87324a70b6
Fixes #11926 - Authority Customizer. (#12066)
Fixes #11926 - Authority Customizer.

Introduced AuthorityCustomizer to synthesize the authority from the Host header (or serverName:serverPort), and related documentation.

Removed additional check on authority's host in `HttpCompliance`, as it was too strict and in the wrong place (authority checks should be factored out elsewhere for all HTTP protocol versions).

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-07-30 16:52:55 +02:00
Joakim Erdfelt 497fbf7137
Merge remote-tracking branch 'origin/release/12.0.12' into jetty-12.0.x 2024-07-30 09:21:30 -05:00
Simone Bordet f154f210f8
Issue #12023 - Remove WriteFlusher.Listener. (#12065)
WriteFlusher.Listener functionality was removed, and the class deprecated in 12.0.10 as part of the work for #9778 and #11839.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-07-29 11:33:12 +02:00
Jan Bartel 35bf336854
Jetty 12.1.x various updates to demos (#12089)
* Use standard servlet api 5 jar for servlet5-demos.

* Also update servlet4 demos to standard spec api jar.

Also remove needless printlns and use of StringUtil.
2024-07-29 18:54:36 +10:00
Basil Crow a1e90fe6b0
Add missing font MIME types (#12098) 2024-07-28 02:18:25 +02:00
Basil Crow b61e8d82e7
Update `smil` MIME type (#12096) 2024-07-28 09:21:26 +10:00
Basil Crow 05d638da35
Use `text/troff` MIME type (#12095) 2024-07-28 09:21:05 +10:00
Olivier Lamy 2182992b31
add target/jetty-home as part of the cache as it is useful with jetty-home module (#12090)
* add target/jetty-home as part of the cache as it is useful with jetty-home module

Signed-off-by: Olivier Lamy <olamy@apache.org>

* include files from src/main/webapp in the cache checkksum

Signed-off-by: Olivier Lamy <olamy@apache.org>

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-07-26 02:58:46 +02:00
Joakim Erdfelt d3af12957b
Updating to version 12.0.13-SNAPSHOT 2024-07-25 17:23:21 -05:00
Joakim Erdfelt cc6f1b74db
Updating to version 12.0.12 2024-07-25 16:57:59 -05:00
Joakim Erdfelt 82ec6d071f
Merge pull request #12093 from jetty/fix/jetty-12/jetty-documentation-skip-deploy
skip deployment of jetty-documentation
2024-07-25 16:52:40 -05:00
Olivier Lamy 81a16869af
skip deployment of jetty-documentation
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-07-26 07:31:13 +10:00
Joakim Erdfelt e33b3cdb79
Merge pull request #12087 from jetty/jetty-12.0.x-12086-ico-mimetype
Issue #12086 change mimetype of .ico resource to vnd.microsoft.icon
2024-07-25 09:37:44 -05:00
Olivier Lamy 55dceb5481
keep only last 40 builds
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-07-25 12:04:13 +10:00
Ludovic Orban a9a0f164ca
cleanup and javadoc HttpContent (#12069)
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-07-25 11:59:19 +10:00
Olivier Lamy fb37792671
do not run checstyle for generated demos
Signed-off-by: Olivier Lamy <olamy@apache.org>
2024-07-25 11:53:55 +10:00
Lachlan Roberts 9581ef15af
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-SignInWithEthereum 2024-07-25 10:46:55 +10:00
Lachlan Roberts f1f16029c2
PR #11883 - changes from review
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-07-25 10:46:17 +10:00
Lachlan Roberts 44286feae6
PR #11883 - changes from review
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-07-25 10:29:38 +10:00
Lachlan Roberts 2f668353ac
PR #11883 - changes from review
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-07-25 10:29:36 +10:00
Jan Bartel 37fbd4167c Issue #12086 change mimetype of .ico resource to vnd.microsoft.icon 2024-07-25 08:18:05 +10:00
Ludovic Orban 834db77605
Implement HttpContent.writeTo() async API (#12020)
#8790 implement HttpContent.writeTo() async API

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2024-07-24 14:07:31 +02:00
Jan Bartel d43da5279c Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x 2024-07-24 16:10:27 +10:00
Jan Bartel 558da27c2d
Issue #12044 ensure temp dir cleaned up (#12045)
* Issue #12044 ensure temp dir cleaned up
2024-07-24 14:20:52 +10:00
Jan Bartel b1b2adcaf9 Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.1.x 2024-07-24 11:32:52 +10:00
Jan Bartel 0ed14746f7 Fix ee11 session CreationTest to be same as ee10. 2024-07-24 11:29:45 +10:00
Joakim Erdfelt eded329621
Merge pull request #12081 from jetty/fix/12.0.x/jetty-sh-state-checks
Issue #10904 Reorder pid and state file checks
2024-07-23 20:09:36 -05:00
Jan Bartel 5c6e27f28f
Issue #12070 fix session lastAccessedTime and isNew (#12078) 2024-07-24 11:07:16 +10:00
Joakim Erdfelt 71c80e0ecf
Issue #10904 Reorder pid and state file checks 2024-07-23 11:56:15 -05:00
Lachlan Roberts 32b7043932 add javadoc for test classes
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-07-23 17:55:37 +10:00
Lachlan Roberts 9ea7431c43 changes from review
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-07-23 17:42:07 +10:00
Lachlan Roberts 52c6c88de6
add siwe.mod, distribution tests and documentation
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
2024-07-23 11:11:18 +10:00