3005 Commits

Author SHA1 Message Date
Jan Bartel
e5981a9520 Fix NPE during session id renewal if session not found on a context 2016-03-16 14:49:07 +11:00
Jan Bartel
6261150167 Add info to IllegalStateException on check for invalid session 2016-03-16 11:45:19 +11:00
Joakim Erdfelt
dcfa0b8910 Merge branch 'jetty-9.3.x' 2016-03-15 07:49:28 -07:00
Simone Bordet
26f8deddf7 Introduced Callback.Nested.
Refactored code that was using nested callbacks and removed
unnecessary overrides now that we have default methods.
2016-03-15 15:24:44 +01:00
Joakim Erdfelt
c68d3b1d8d Updating to version 9.3.9-SNAPSHOT 2016-03-14 09:07:52 -07:00
Joakim Erdfelt
1f3b3f31f4 Updating to version 9.3.8.v20160314 2016-03-14 08:30:20 -07:00
Simone Bordet
42151e059a Merged branch 'jetty-9.3.x' into 'master'. 2016-03-12 00:28:18 +01:00
Simone Bordet
0b82129cd8 Issue #423 (Duplicate Content-Length header not handled correctly)
Refactored tests into existing test class.
2016-03-12 00:27:48 +01:00
Simone Bordet
02190278f1 Merged branch 'jetty-9.3.x' into 'master'. 2016-03-11 22:49:49 +01:00
Simone Bordet
5f2e2820f4 Issue #423 (Duplicate Content-Length header not handled correctly)
Fixed as required by the spec, rejecting the request.
2016-03-11 22:49:24 +01:00
Jan Bartel
a936e4060c 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-sessions/test-mongodb-sessions/src/test/java/org/eclipse/jetty/nosql/mongodb/IdleSessionTest.java
2016-03-11 15:46:46 +11:00
Jan Bartel
d82b5ad65a Issue #411 Add more debug log for mongosessionmanager and remove debug printlns 2016-03-11 15:12:07 +11:00
Jan Bartel
54a5631462 Implement session scavenge for FileSessionDataStore 2016-03-11 13:12:10 +11:00
Jan Bartel
8a24798fa4 Issue #411 ensure MongoSessionManager saves maxInactiveInterval and expiry correctly
Issue #415 ensure setting > MAX_INT session-timeout is detected
2016-03-11 10:47:34 +11:00
Simone Bordet
14c985802e Merged branch 'jetty-9.3.x' into 'master'. 2016-03-10 22:32:24 +01:00
Simone Bordet
c0bc218202 Improved log formatting. 2016-03-10 16:10:45 +01:00
Jan Bartel
ead37b1b57 Issue #411 MongoSessionManager does not save maxInactiveInterval and expiry correctly
Issue #415 Setting big session-timeout can overflow MAXINT
2016-03-10 18:52:34 +11:00
Greg Wilkins
fa7dec8c08 Issue #412 Clarify ServletContextListener.contextDestroyed
Suggested ordering
2016-03-10 12:36:22 +11:00
Greg Wilkins
eac3a4a439 Merge branch 'jetty-9.3.x' 2016-03-10 12:35:44 +11:00
Greg Wilkins
4c99beeaba Issue #413 HotSwapHandler null handlers
Fixed #413
2016-03-10 12:21:06 +11:00
Greg Wilkins
53f187571d Added Test for ServletContextListener exceptions
See https://java.net/jira/browse/SERVLET_SPEC-152
2016-03-10 11:29:54 +11:00
Joakim Erdfelt
e7081d7b84 Merge branch 'jetty-9.3.x' 2016-03-08 15:53:50 -07:00
Joakim Erdfelt
63f9224009 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-03-08 14:32:13 -07:00
Joakim Erdfelt
862ec6f848 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-03-08 14:32:04 -07:00
Joakim Erdfelt
195a02fdaa Issue #85 - Expose TLS protocol used for connection in SecureRequestCustomizer 2016-03-08 14:27:38 -07:00
Simone Bordet
f605397071 Merged branch 'jetty-9.3.x' into 'master'. 2016-03-08 22:09:41 +01:00
Simone Bordet
710949dbb7 Issue #406 (GzipHandler: allow to override the Vary response header)
Added an overridable getVaryField() method that, if returns null,
disables the send of the Vary header.
2016-03-08 22:05:10 +01:00
Simone Bordet
2aab9389b2 Merged branch 'jetty-9.3.x' into 'master'. 2016-03-08 14:30:18 +01:00
Simone Bordet
87f011d98b Issue #402 (Don't use Thread.isAlive() in ShutdownMonitor).
Refactored completely ShutdownMonitor, fixing synchronization, race
conditions, cleaning up code, deleting unnecessary code, etc.
2016-03-08 14:29:49 +01:00
Simone Bordet
6ac2c4a701 Code cleanups. 2016-03-08 12:46:10 +01:00
Simone Bordet
87ea5ac039 Fixed tests. 2016-03-08 11:55:19 +01:00
Joakim Erdfelt
da6be3ed7a Fixing javadoc 2016-03-07 10:24:57 -07:00
Jan Bartel
303aea96a3 Implement uniform expiry testing for all datastores, FileDataStore still todo. 2016-03-05 16:01:18 +01:00
Simone Bordet
5fa6bf4c10 Merged branch 'jetty-9.3.x' into 'master'. 2016-03-05 14:59:21 +01:00
Greg Wilkins
10bd934476 Issue #346 HttpParser RFC2616 Compliance mode
Empty header values returned as "" in all compliance modes
2016-03-05 14:26:47 +01:00
Greg Wilkins
692aae0d3e Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-03-05 11:06:34 +01:00
Joakim Erdfelt
0f0eb569e9 Issue #124 - Don't produce text/html if the request doesn't accept it
+ Using cleaner HttpFields access to 'Accept' header

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2016-03-04 11:28:34 -07:00
Jan Bartel
3c2f5bbcb6 Implement different intervals for scavenge and idlepassivation checks; update all tests 2016-03-04 18:06:55 +01:00
Jan Bartel
436c4835a4 Implement saving or passivating when all requests have exited session; implement separate timeout for expiry scavenge and idle timeout and periodic inspection 2016-03-04 18:06:55 +01:00
Simone Bordet
bede684cac Merged branch 'jetty-9.3.x' into 'master'. 2016-03-03 08:21:26 +01:00
Joakim Erdfelt
a7be6bc8ea Issue #124 - Don't produce text/html if the request doesn't accept it
+ If request has no 'Accept' header, produce text/html as before.
+ If request has 'Accept' header, then test for 'text/html' or '*/*'
  entries before producing html output.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2016-03-02 17:16:14 -07:00
Joakim Erdfelt
b357521899 Issue #107 - ResourceHandler range support testcase 2016-03-02 16:48:05 -07:00
Jan Bartel
ff49714d06 Implement session idle and expiration with single periodic sweep. 2016-03-03 00:38:25 +01:00
Joakim Erdfelt
eba2bffefe Merge branch 'jetty-9.3.x' 2016-03-02 09:08:30 -07:00
Joakim Erdfelt
4e426e9be3 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-03-02 09:07:33 -07:00
Joakim Erdfelt
1b310c84b0 Issue #247 improving invalid buffer manipulation exception messages 2016-03-02 09:06:21 -07:00
Greg Wilkins
3300d54b5a Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-03-02 14:13:29 +01:00
Greg Wilkins
3963309f62 Issue #379 Insufficient information on asyncNotSupported
Converted the boolean for asyncSupported to a String holding the source
of the async not supported.
2016-03-02 14:09:15 +01:00
Jan Bartel
b8d0ad50f8 Reimplementation of expiry and introduction of passivating unused sessions. 2016-02-29 21:03:30 +01:00
Simone Bordet
2c11372bc4 Merged branch 'jetty-9.3.x' into 'master'. 2016-02-29 17:17:09 +01:00