3159 Commits

Author SHA1 Message Date
Joakim Erdfelt
932e0125d2 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-05-02 09:51:24 -07:00
Joakim Erdfelt
ff1ca8d993 Limiting versions that trigger !STABLE warning
+ Only RC# and M# trigger warning now.
+ Warning includes URL for where to download stable version.
2016-05-02 09:50:05 -07:00
Greg Wilkins
42dac144ee Improved session configuration naming 2016-04-30 11:26:28 +10:00
Greg Wilkins
5bbb1da71b default directory for file-session-store 2016-04-30 10:41:43 +10:00
Greg Wilkins
66f242191c Issue #515 Alternate start modules
Used alternate modules for new session architecture
2016-04-30 09:19:38 +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
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
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
Jan Bartel
c99db5797f Refactor name of SesstionStore than supports cache of data. 2016-04-25 16:11:41 +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
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
Jan Bartel
d28dffb16e Remove SessionManager; refactor names of session classes; add start modules for new session arch 2016-04-15 11:08:46 +10:00
Joakim Erdfelt
6fb338e50d Updating to version 9.3.9-SNAPSHOT 2016-04-11 16:20:50 -07:00
Joakim Erdfelt
bb4f3c4882 Updating to version 9.3.9.M1 2016-04-11 15:35:22 -07:00
Greg Wilkins
2fb9b55da2 Issue #485 Multiple compressed formats from static content
Renamed ResourceCache as per TODO
Added javadoc and XML comments
2016-04-07 17:33:47 +10:00
Greg Wilkins
a72838162d Issue #485 Multiple compressed formats from static content
Fixed formatting from the PR
2016-04-07 16:47:28 +10:00
Mikko Tiihonen
3261e03edb Support for configurable set of precompressed static resources
* Support for configurable set of precompressed static resources

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

* Use QuotedQualityCSV to parse preferred content encodings

Signed-off-by: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
2016-04-07 13:57:00 +10:00
Greg Wilkins
21e4cfecfc Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-07 11:41:29 +10:00
Greg Wilkins
4b94aa2c97 Issue #491 Do not assume gzip acceptable for HTTP/2
Removed the HTTP/2 specific code for #491
2016-04-07 11:39:34 +10:00
Jan Bartel
6514158e6a Remove unneeded SessionManager interface. 2016-04-06 16:31:23 +10:00
Greg Wilkins
92904d2b7d Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-05 13:30:01 +10:00
Greg Wilkins
815764c279 Issue #472 Use LongAdder for statistics
Improved JMX context names
2016-04-05 12:53:19 +10:00
Greg Wilkins
bbb7f2188c Merge branch 'jetty-9.3.x' into issue-472 2016-04-05 12:24:25 +10:00
Greg Wilkins
23ad5a2bdf Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-05 12:23:32 +10:00
Greg Wilkins
b087e6db28 Issue #467 Compact // rule
Improved the rewrite classes and modules to make it easier to compact // withing a URL.
This can now be done with --module=rewrite,rewrite-compactpath
2016-04-05 12:13:29 +10:00
Greg Wilkins
91bef55924 Issue #472 Use LongAdder for statistics
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2016-04-01 17:22:45 +11:00
Greg Wilkins
0e16f46173 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-01 12:48:10 +11:00
Greg Wilkins
08b528e960 Issue #470 AsyncContextState NPE if called after reset
Added a NOT_ASYNC state to the enum to avoid the null value.
2016-03-31 18:23:18 +11:00
Greg Wilkins
3590abc534 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-03-30 20:05:59 +11:00
Greg Wilkins
c768828703 Issue #458 Improve Quality list handling
Added QuotedCSV and QuotedQualityCSV that are up to date with RFC7230
2016-03-30 19:07:11 +11:00
Joakim Erdfelt
5c896d88ec Fixing javadoc build errors 2016-03-25 11:18:00 -07:00
Greg Wilkins
acfa1268bc Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-03-24 12:58:06 +11:00
Greg Wilkins
d341b0e1d6 Merge branch 'jetty-9.3.x' into jetty-9.3.x-issue-448 2016-03-24 11:38:46 +11:00
Jan Bartel
4ca9e3b149 Merge remote-tracking branch 'origin/jetty-9.3.x'
Conflicts:
	jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSession.java
	jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionManager.java
	tests/test-quickstart/src/test/java/org/eclipse/jetty/quickstart/AttributeNormalizerTest.java
2016-03-24 11:38:44 +11:00
Greg Wilkins
8b228073e3 Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
Efficiency improvements
2016-03-24 11:37:39 +11:00
Jan Bartel
ede4c3a711 Issue #435 adjust debug log message 2016-03-24 10:55:52 +11:00
Jan Bartel
1c07172635 Issue #453 Change logging of setting session maxInactiveInterval to DEBUG from WARN 2016-03-24 10:03:39 +11:00
Jan Bartel
bfeae1afa3 Remove periodic iteration over sessions 2016-03-23 16:59:36 +11:00
Greg Wilkins
4ae077f2b6 Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
Improved compliance level reporting
Improved method names to make code read better
2016-03-23 14:42:05 +11:00
Greg Wilkins
7f96db72c4 Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
Empty value is not a compliance issue
removed debug
moved violation handling to end of header rather than end of message
2016-03-23 13:13:16 +11:00
Joakim Erdfelt
7be58f9730 Issue #448 - RFC2616 Compliance Mode should track and report RFC7230 violations
+ added Optional behavior to record violations in a Request attribute
+ added servlet testcase showing this violation recording abillity
+ currently the recorded violation doesn't report the correct compliance mode that it violates
+ there is still a problem with a quoted empty string value from Issue #451
2016-03-22 12:20:19 -07:00
Greg Wilkins
9352d91d48 Issue #448 Log Compliance violations
Added a ComplianceHandler to HttpParsere to log compliance violations for #448
Am cautious that this may have a performance impact.
2016-03-22 13:58:50 +11:00
Simone Bordet
5302d1972c Merged branch 'jetty-9.3.x' into 'master'. 2016-03-18 10:49:48 +01:00
Jan Bartel
add04e8fba Remove necessity for SessionIdManager specializations. 2016-03-17 12:29:42 +11:00
Greg Wilkins
df9de50f96 Issue #434 RequestTest stack traces
Added reset to ShutdownMonitor
2016-03-17 10:34:53 +11:00