3105 Commits

Author SHA1 Message Date
Jan Bartel
a0e7b21180 Make SessionDataMap a LifeCycle 2016-06-23 12:25:33 +10:00
Joakim Erdfelt
8157a4533c Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-06-22 10:43:43 -07:00
Joakim Erdfelt
ecea486d07 Issue #660 - simplifying parameter extraction to prevent NPE
+ The checks in Request.restoreParameters() seem superfluous
  as MultiMap.addAllValues() is null and empty set safe
2016-06-22 09:53:24 -07:00
Joakim Erdfelt
cce7837e64 Fixes #654 - ServletContext.getResourceAsStream("/") should return null
+ Jetty 9.2 (and earlier) used a Resource.getInputStream() implementation
   that would trigger an IOException on-construction (vs on-first-access)
   due its use of java.io.FileInputStream(File) which had a isDirectory
   check in its constructor.
 + Jetty 9.3 and onward uses java.nio.file.Files.newInputStream() which
   has the bad on-first-access behavior.
 + Changing the behavior of PathResource.getInputStream() to behave the
   same way as the prior FileResource.getInputStream(), as well as adding
   the Resource.isDirectory() check back into ContextHandler.getResourceAsStream(String)
   to prevent creation of the InputStream in the first place.
2016-06-22 09:09:05 -07:00
Simone Bordet
0d5fb1812e Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-06-22 11:27:56 +02:00
Greg Wilkins
d4c1bec340 Fixes #624 cleanup 2016-06-22 18:58:31 +10:00
Greg Wilkins
7bc427ce79 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-22 17:37:16 +10:00
Greg Wilkins
126e58c7cc Fixes #624 cleanup 2016-06-22 16:47:00 +10:00
Greg Wilkins
59540f552c Fixes #624 2016-06-22 16:31:25 +10:00
WalkerWatch
baae86fcef Correcting path for #645 (#646)
* Correcting path for #645

Signed-off-by: WalkerWatch <ctwalker@gmail.com>

* Fixing path variables.

Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-06-22 09:44:59 +10:00
Greg Wilkins
d79b0a7acd Issue #644 Modules for enabling logging
Separated modules for jetty logging
Added JCL
2016-06-17 14:57:25 +10:00
Jan Bartel
1b508e3714 Add test for memcached session data. 2016-06-17 13:18:52 +10:00
Greg Wilkins
2fbf466393 Issue #644 Modules for enabling logging 2016-06-17 07:39:11 +10:00
Jan Bartel
bb73aea67b Fix memcache session data cache module 2016-06-16 15:27:23 +10:00
Jan Bartel
fd0c2c968c Reinstate xmemcached module 2016-06-16 10:31:36 +10:00
Greg Wilkins
e607acfa4e Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-15 18:06:32 +10:00
Greg Wilkins
a8e315a3f5 Fix #663 NPE during context stop
Avoid adding null beans
protect against null beans.
2016-06-15 18:04:33 +10:00
Greg Wilkins
4ba0fa9544 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-15 10:41:10 +10:00
Greg Wilkins
f724d36646 Cleanup #624
removed excess test code
2016-06-15 10:38:40 +10:00
Greg Wilkins
bc87cf0ab4 Revert "Debug #624"
This reverts commit b40c2ae66fe223b29d490b2993c6e919bc56ea3b.
2016-06-15 10:32:10 +10:00
Simone Bordet
3d8242ef82 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-06-13 12:16:33 +02:00
Simone Bordet
e803bf6c81 Test code cleanup.
Converted static fields to non-static, and removed unused code.
2016-06-13 12:15:45 +02:00
Greg Wilkins
b40c2ae66f Debug #624
This commit is instrumentation to be executed in the CI system to debug #624
This commit should be reverted once the test has failed again!
2016-06-11 10:33:48 +10:00
Jan Bartel
7314a9b86a Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-08 16:25:23 +10:00
Greg Wilkins
f59e680a94 Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2016-06-08 16:24:32 +10:00
Greg Wilkins
3a9dfd913a Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-08 16:24:09 +10:00
Greg Wilkins
2609c89d22 Issue #624 Fix onCompleted race 2016-06-08 16:22:53 +10:00
Jan Bartel
d52a1701ad Add module for session data cache 2016-06-08 15:00:32 +10:00
Greg Wilkins
f4c13e5f54 Issue #623 Add gzip suffix to etags in 304 response 2016-06-08 14:33:49 +10:00
Jan Bartel
beb9c90892 Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2016-06-08 09:36:11 +10:00
Jan Bartel
191bb2d307 Renaming CachingSessionDataStoreFactory 2016-06-08 09:35:48 +10:00
Jesse McConnell
20c1301203 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-06-07 11:56:27 -05:00
Greg Wilkins
40af755251 restructure failing test to better analyse failure 2016-06-07 10:44:33 +10:00
Greg Wilkins
723563aa84 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-03 16:21:48 +10:00
Greg Wilkins
a2309057dc Test Harness for #596
Test harness to try to repeat problem with #596 of content-length added to a HEAD response.

In the process added a much better getResponse mechanism to the local connector that avoids
using the idle time.
2016-06-03 14:15:25 +10:00
Greg Wilkins
98c328fb23 Jetty 9.4.x 572 (#614)
* Issue #572 Scheduling Strategy Deadlocks

Implemented dual strategy idea from #572 discussion

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

* fixed http2 strategy choice

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

* code cleanups

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

* clean up seelctor actions/products

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

* cleanups
2016-06-03 09:07:00 +10:00
Jan Bartel
0578d15813 Fix indexes for gcloudatastore; make initial retry backoff 1s as per SLA 2016-06-02 16:42:02 +10:00
Greg Wilkins
89032b7eac improved test isolation 2016-06-02 14:24:18 +10:00
Joakim Erdfelt
3b1f8df49e Removing bad org.omg.CORBA.Environment import 2016-06-01 11:58:50 -07:00
Jan Bartel
3c3ea0c6f2 Add option to SessionCache to delete unreadable sessions from SessionDataStore; fix jdbc module xml file. 2016-06-01 20:13:32 +10:00
Greg Wilkins
5c33a119da Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-01 15:30:13 +10:00
Greg Wilkins
c2831bf09c Issue #608 reset encoding set from content type
Use an enum to track where a content encoding came from and selectively clear/reset
2016-06-01 15:29:05 +10:00
Jan Bartel
833f291975 Ensure sessions that fail to save on evict are not evicted. 2016-06-01 12:41:39 +10:00
Jesse McConnell
d5fca6ee22 resolve broken javadoc 2016-05-27 16:25:50 -05:00
Jan Bartel
d6689ce803 Add memcached option for session data caching 2016-05-27 16:43:46 +10:00
Simone Bordet
ba48aa27b0 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-25 00:57:43 +02:00
Simone Bordet
031bc0fed9 Issue #85 - Expose TLS protocol used for connection in SecureRequestCustomizer.
Exposed the SSLSession as attribute only if the attribute key is valid.
2016-05-25 00:50:01 +02:00
Simone Bordet
c6aafecceb Code cleanups. 2016-05-25 00:47:58 +02:00
Simone Bordet
016a7b72a1 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-24 16:10:00 +02:00
Simone Bordet
ddddc3a675 Fixes #574 - Introduce a TLS handshake completed listener.
Introduced class SslHandshakeListener that can be registered as a
bean in both the ServerConnector and in clients such as HttpClient
and HTTP2Client.

When creating SslConnection instances, the factory will query the
connector (client or server) for SslHandshakeListener beans and, if
present, will be added to the SslConnection.
2016-05-24 16:09:19 +02:00