Commit Graph

12248 Commits

Author SHA1 Message Date
Greg Wilkins 3e8187dcd5 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-29 16:58:00 +10:00
Jan Bartel 4ea5ec8cee Add factory for a SessionStore with a fronting cache.
Not finished, initial checkin.
2016-04-29 15:10:52 +10:00
Greg Wilkins 9dbd944850 Issue #525 Looping on malformed request
Fixed unit test for 9.4 error handling
2016-04-29 15:05:19 +10:00
Jan Bartel 480aa4d874 Issue #534
Remove synchronization around session iteration when checking for idle sessions.
2016-04-29 14:38:34 +10:00
Greg Wilkins c74dd571fa Issue #519 Disable SSL session caching
Set -1 defaults for session caching
2016-04-29 08:10:18 +10:00
Greg Wilkins 88c1339784 Issue #519 Disable SSL session caching
Improve the configuration of the SSL session cache
2016-04-29 08:02:41 +10:00
Greg Wilkins 879afebfba Issue #515 Alternate start modules
Correctly remove tranient properties when replace by explicit alternative
2016-04-28 18:10:59 +10:00
Greg Wilkins d54ba38cb6 Issue #515 Alternate start modules
Additional usecases to test for loops in dynamic modules
2016-04-28 17:46:52 +10:00
Jan Bartel 9800c3c128 Issue #525
Removed deprecated "name"
2016-04-28 17:38:05 +10:00
Jan Bartel f63bdda05c Issue #532 Get rid of generated jetty-start/dependency-reduced-pom.xml 2016-04-28 17:11:46 +10:00
Jan Bartel 80e020f08f Add configuration properties for JDBCSessionStore to JDBCSessionStoreFactory 2016-04-28 16:26:30 +10:00
Jan Bartel 70a665d3e7 Refactor session implementation: rename SessionStore impls. 2016-04-28 16:18:29 +10:00
Greg Wilkins d38bdb6e7c 486530 - Handler added to WebAppContext prevents ServletContext initialization
Fixed needless warnings during destroy
2016-04-28 15:17:28 +10:00
Greg Wilkins a377b3a8f3 Issue #529
Support zero padded version updates
2016-04-28 14:30:20 +10:00
Greg Wilkins 728e0a7d57 Issue #515 Alternate start modules
Deprecated warning if [Name] used
2016-04-28 11:40:10 +10:00
Greg Wilkins 092ed57a17 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-28 08:17:45 +10:00
Greg Wilkins 5f7a32e30e warning if not stable release 2016-04-28 08:15:06 +10:00
Greg Wilkins 695b63fc78 Issue #525 Looping on malformed request
Improved onBadMessage handling so that it better handles ISE thrown when a bad message is detected while dispatched to the servlet.
2016-04-27 18:57:15 +10:00
Joakim Erdfelt a1eab9d9a4 Fixing version 2016-04-26 16:16:32 -07:00
Joakim Erdfelt 44fa2b0de1 Issue #525 - Possible 100% CPU Consumption in HttpInputOverHttp.blockForContent with malformed HTTP-Request
+ Adding testcase to attempt to replicate
  (Does not cause spin loop, so set to @Ignore for now)
2016-04-26 14:31:08 -07:00
Joakim Erdfelt f1c34cb10f Close #526 - Headers set from RequestDispatcher.include() not showing up in response
+ Adding 2 testcases to verify behavior
2016-04-26 14:04:56 -07:00
Joakim Erdfelt 301fc12d98 Merge branch 'jetty-9.3.x' 2016-04-25 12:11:38 -07:00
Joakim Erdfelt 8cc041bb04 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-04-25 12:00:45 -07:00
Joakim Erdfelt 66a70adb98 Merge branch 'release-9.2.16' into jetty-9.2.x 2016-04-25 11:34:07 -07:00
Greg Wilkins 65d949a386 Issue #518 jarfile fix for springboot 2016-04-25 18:15:38 +10:00
Jan Bartel 19c9697af3 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-25 16:12:26 +10:00
Jan Bartel c99db5797f Refactor name of SesstionStore than supports cache of data. 2016-04-25 16:11:41 +10:00
Jan Bartel 2850f98fb4 Issue #263 jetty-alpn-server Import-Package manifest header should specify version of org.eclipse.jetty.alpn.api 2016-04-25 16:08:37 +10:00
Greg Wilkins fbdd5e1da6 Issue #432 Limit queue size in ByteBufferPools
Created a shared Bucket instance that can count down available space.
2016-04-24 09:58:38 +10:00
Greg Wilkins 970798b879 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-23 10:54:46 +10:00
Greg Wilkins 367a807592 Issue #521 Separate executors for server and connector
HttpChannel uses the server executor
LowResourceMonitor checks both server and connector executors.
2016-04-23 10:50:05 +10:00
Greg Wilkins f3b3741a58 Issue #533 Do not hide file resource exception
Throw IOException rather than MUE for file exception
2016-04-23 09:43:21 +10:00
Greg Wilkins 2c197878bd Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-23 09:38:30 +10:00
Greg Wilkins bf5b6f8939 Issue #533 Do not hide file resource exception
ignore exception
2016-04-23 09:36:19 +10:00
Greg Wilkins ec8e1055e3 Issue #533 Do not hide file resource exception
Add exception as suppressed
2016-04-23 09:36:19 +10:00
Greg Wilkins 132cd097ce Issue #519 Disable SSL session caching
Improved javadoc
wired up session cache size correctly
2016-04-23 09:36:19 +10:00
Jan Bartel f550fcd57f Merge pull request #499 from laeubi/is495
Fix #495 EventSender might leak service-references or miss them at all
2016-04-21 09:10:00 +10:00
Jan Bartel 522f600281 Merge pull request #498 from laeubi/is493
Fix #493 OSGiClassLoader contains dead code
2016-04-21 09:07:44 +10:00
Simone Bordet 64a8d8819f Merged branch 'jetty-9.3.x' into 'master'. 2016-04-20 14:29:38 +02:00
Simone Bordet 89efdb3e09 Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2016-04-20 14:29:11 +02:00
Simone Bordet c90f60bd9c Updated ALPN version for JDK 8u91 and 8u92. 2016-04-20 14:26:17 +02:00
Greg Wilkins ab97a78407 Issue #515 Alternate start modules
Added another usecase
2016-04-20 16:37:42 +10:00
Greg Wilkins e846379c2c Issue #515 Alternate start modules
Added another test case.
Handle (poorly) the case where a default transitive module adds ini properties
and is then replaced by a non transitive module.
2016-04-18 09:28:19 +10:00
Greg Wilkins 62563beee7 Issue #515 Alternate start modules
Added more test usecases
2016-04-17 23:16:33 +10:00
Greg Wilkins 6829bec09e Issue #515 Alternate start modules
Javadoc
2016-04-16 23:23:09 +10:00
Greg Wilkins 0f6933fca1 Issue #515 Alternate start modules
Allow enable when provided capability from transient
sort usecases
2016-04-16 23:04:14 +10:00
Greg Wilkins bbc84a3d01 Issue #515 Alternate start modules
Replaced the module Name mechanism with a Provides mechanism for #515.  This keeps a modules
name immutable, which makes it easier to find.

Simplified the unit tests by removing all the use-casees with real names (can be confusing and does
not age well).  Deleted more specific unit tests in favour of a more capable generic usecase test
mechanism.   Have added multiple tests per base; exceptional results.  Still need to add in
support for running --add-to-start type commands prior to execution and then to add many more
usecases
2016-04-16 11:01:08 +10:00
Greg Wilkins 738f61d0eb Issue #501 clear continuation initial on undispatch 2016-04-16 09:55:34 +10:00
Mikko Tiihonen aa8597c19e Sort equal quality accept-encoding values based on server configured preference (#507)
* Sort equal quality accept-encoding values based on server configured preference. Add fixed size cache to reduce overhead of complex header parsing. #507 

Signed-off-by: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>

* Only look at the first Accept-Encoding header value in the request. Jetty has never supported handling of multiple headers before and the worst thing that can happen is that the static content is sent uncompressed

* Rename tieBreakerFunction to secondaryOrderingFunction

* Make accept-encoding header cache size configurable

* Add back multiple accept-encoding header handling (with optimizations). Merge QuotedEncodingQualityCSV back to QuotedQualityCSV. Fix documentation on how to use precompressed servlet init parameter
2016-04-15 20:04:01 +10:00
Jan Bartel 9212a62d74 Correct session store xml config files 2016-04-15 11:08:46 +10:00