Commit Graph

21628 Commits

Author SHA1 Message Date
Joakim Erdfelt e7d15afeb6
Merge pull request #5234 from eclipse/jetty-9.4.x-http-09-response-505
Issue #5233 - Bad/Unsupported HTTP version should return 505 not 400.
2020-09-09 09:23:01 -05:00
Simone Bordet 1fa2b091a2 Merge branch 'jetty-9.4.x' into 'jetty-10.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-09 15:39:36 +02:00
Simone Bordet 01135e1515
Fixes #5217 - Review RoundRobinConnectionPool (#5219)
* Fixes #5217 - Review RoundRobinConnectionPool

Introduced IndexedConnectionPool and RandomConnectionPool.
Clarified semantic of RoundRobinConnectionPool.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-09 15:31:28 +02:00
Lachlan 7a6404d9fd
Merge pull request #5235 from eclipse/jetty-10.0.x-Jetty-WS-API-Cleanup
Jetty WebSocket API minor cleanups before Jetty-10 full release
2020-09-09 15:22:24 +10:00
Lachlan Roberts 2f23c5936e Issue #5198 - revert usage of deflater ByteBuffer API for GzipHandler
The CRC32 checksum may need to convert the ByteBuffer to an array anyway so
we are better off not setting the deflater input with ByteBuffer directly.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-09 14:03:42 +10:00
Lachlan Roberts 4e6827c539 Issue #5198 - fix usage of inflater/deflater ByteBuffer API
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-09 13:53:09 +10:00
Lachlan Roberts 2ed89cbccd Issue #5246 - add Inflater/Deflater pools to server dump
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-09 10:39:15 +10:00
dependabot[bot] 4ee0abaf0e
Bump tycho-version from 1.4.0 to 2.0.0 (#5239)
Bumps `tycho-version` from 1.4.0 to 2.0.0.

Updates `tycho-pack200a-plugin` from 1.4.0 to 2.0.0

Updates `tycho-pack200b-plugin` from 1.4.0 to 2.0.0

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 06:26:32 +10:00
Joakim Erdfelt 2896ed31d6
Issue #5224 - Updating ForwardedRequestCustomizerTest expectations
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-08 12:34:53 -05:00
Joakim Erdfelt d331f6acce
Merge pull request #5238 from eclipse/dependabot/maven/jmh.version-1.25.2
Bump jmh.version from 1.25.1 to 1.25.2
2020-09-08 09:54:39 -05:00
Greg Wilkins eaf02705a9 Merge branch 'jetty-10.0.x' of https://github.com/eclipse/jetty.project into jetty-10.0.x 2020-09-08 15:32:24 +02:00
Greg Wilkins feb859e0e9 Issue #5215
Fixed gzip test as HEAD requests now have identical headers to GET.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-09-08 15:16:47 +02:00
Simone Bordet 05982e2e17 Improvements to the Jetty documentation.
Fixed documentation version.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-08 15:04:16 +02:00
Simone Bordet 7f05bdd06f Improvements to the Jetty documentation.
Moved source code from package `embedded` to `org.eclipse.jetty.docs.programming`.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-08 14:54:05 +02:00
Simone Bordet 525727416c Improvements to the Jetty documentation.
Using em dashes consistently.
Fixed passthrough when using *.war.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-08 13:51:30 +02:00
Joakim Erdfelt 56b1d17d79
Issue #5233 - correcting NCSARequestLogTest expectation on unsupported version
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-08 05:59:41 -05:00
Simone Bordet 5daaa20c46 Improvements to the Jetty server documentation.
Introduced IteratingCallback in arch-io.adoc.
Removed server-side-architecture.adoc because it has been moved to server-io-arch.adoc.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-08 12:11:36 +02:00
Lachlan Roberts 7a04b3eb19 Issue #5198 - use ByteBuffer API for inflater/deflaters for GzipHandler
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-08 17:10:36 +10:00
Lachlan Roberts 3bdd82eb5e Issue #5198 - GzipHandler should use InflaterPool as well as DeflaterPool
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-08 15:27:21 +10:00
Lachlan Roberts 17ec87f51c Issue #1761 - add extra .ini file configuration for gzip.mod
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-08 09:46:51 +10:00
gregw d7b3d62982 Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
Signed-off-by: gregw <gregw@webtide.com>
2020-09-07 15:59:27 +02:00
Greg Wilkins 7ecf42e3f8
Issue #5162 CDI embedded integration improvements (#5177)
* Issue #5162 CDI embedded integration improvements

Clean up CDI integration and documentation to better support embedded usage.
 + made listener public
 + added utility class for SCIs

* Issue #5162 CDI embedded integration improvements

Clean up CDI integration and documentation to better support embedded usage.
 + moved EmbeddedWeldTest to jetty-embedded

* fix javadoc

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #5162 CDI embedded integration improvements

ventilated text

* fix test pom

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Fixed javadoc

* Fixed javadoc

* Issue #5162 CDI embedded integration improvements

Moved tests to jetty-cdi to avoid consequences to other tests in embedded

* trailing new line

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* updates from review

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Feedback from review
2020-09-07 14:00:20 +02:00
olivier lamy 03836c8d7f revert back to surefire 3.0.0-M4
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-09-07 21:24:02 +10:00
Lachlan Roberts 7642be8fd0 Issue #4988 - make the MIME type comparison in GzipHandler case insensitive
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-07 17:29:13 +10:00
dependabot[bot] 40db081523
Bump jmh.version from 1.25.1 to 1.25.2
Bumps `jmh.version` from 1.25.1 to 1.25.2.

Updates `jmh-core` from 1.25.1 to 1.25.2

Updates `jmh-generator-annprocess` from 1.25.1 to 1.25.2

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 06:22:49 +00:00
Lachlan Roberts 4023944d6d fix ServiceLoader file for ExtensionConfig.Parser
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-07 10:37:04 +10:00
Joakim Erdfelt b2e0f69ea8
Issue #5233 - Bad/Unsupported HTTP version should return 505 not 400.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-04 12:23:11 -05:00
Lachlan Roberts b5810b930d Issue #5824 - improve javadocs for RemoteEndpoint maxOutgoingFrames
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-04 17:43:36 +10:00
Lachlan Roberts 76b38d20d4 Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-09-04 17:18:36 +10:00
Lachlan 2826df2048
Merge pull request #5230 from eclipse/jetty-9.4.x-5201-QueuedThreadPoolDump
Issue #5201 - simplify the QueuedThreadPool dump
2020-09-04 17:16:43 +10:00
Lachlan Roberts 7082e2086a cleanups in Jetty WS API
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-04 17:08:44 +10:00
Lachlan Roberts 8bbea55ed9 remove the extensions package as extensions are now written in websocket-core
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-04 16:44:23 +10:00
Lachlan Roberts 8492697ae0 move Jetty WS API exceptions to separate package
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-04 16:40:16 +10:00
Lachlan Roberts 1d1bbc49f7 Issue #5201 - change format for QTP dump from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-04 13:55:26 +10:00
Lachlan Roberts 52c9f8730b Issue #4824 - create test for WebSocket maxOutgoingFrames
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-04 10:45:47 +10:00
Joakim Erdfelt 392215eef1
Merge pull request #5186 from eclipse/jetty-10.0.x-5174-reorg-jetty-dist
Issue #5174 - Reorganized jetty-distribution
2020-09-03 14:12:55 -05:00
Joakim Erdfelt 4a0ffc2f73
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2020-09-03 14:11:58 -05:00
Joakim Erdfelt be86e66e77
Merge pull request #5195 from eclipse/jetty-9.4.x-5185-dosfilter-listener
Issue #5185 - Add DoSFilter Listener to allow extensible behavior
2020-09-03 14:10:29 -05:00
Joakim Erdfelt a54ed928ab
Issue #5174 - Reorganized jetty-distribution
+ Updating license / notice files for EPLv2

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-03 07:13:58 -05:00
Simone Bordet 7b348f5a29 Improvements to the Jetty server documentation.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-03 13:40:41 +02:00
Simone Bordet 63e7880b9f Improvements to the Jetty documentation.
Removed old writing-custom-handlers.adoc since all its
content has been ported to the new documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-03 13:07:53 +02:00
Simone Bordet c6cbc58843 Improvements to the Jetty client documentation.
Deleted FAQ because it has always been empty.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-03 12:27:31 +02:00
Simone Bordet 40248e9f23 Improvements to the Jetty documentation.
Removed old basic-architecture.adoc since all its
content has been ported to the new documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-03 12:22:16 +02:00
Simone Bordet 642b80d51d Improvements to the Jetty client documentation.
Fixed wrong xrefs after section ID renaming.
Added TODOs for sections that needs to be expanded.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-03 11:53:56 +02:00
Simone Bordet af5f11710e Improvements to the Jetty documentation.
Renamed section ids from "eg-" (embedded guide)
to "pg-" (programming guide).

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-03 10:50:49 +02:00
Simone Bordet cd0bf1cf5a Improvements to the Jetty documentation.
Added introduction to the programming guide.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-09-03 10:47:38 +02:00
Simone Bordet e3bfdd5219 Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'. 2020-09-03 10:21:11 +02:00
Lachlan Roberts 516432b9cb Update server dump documentation after QueuedThreadPool dump changes
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-03 15:06:02 +10:00
Lachlan Roberts 26ae875d1c Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-5201-QueuedThreadPoolDump 2020-09-03 15:00:47 +10:00
Lachlan Roberts f788260abd Issue #4824 - use WritePendingException instead of IOException
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-09-03 14:58:09 +10:00