2565 Commits

Author SHA1 Message Date
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
Simone Bordet
5fe1ff697e Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-24 12:42:12 +02:00
Simone Bordet
d73c60db14 Issue #464 - Improve reporting of SSLHandshakeException. 2016-05-24 11:15:18 +02:00
Simone Bordet
f95daca8b4 Code cleanups. 2016-05-24 11:15:18 +02:00
Greg Wilkins
8684524dc8 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-05-20 15:54:06 +10:00
Greg Wilkins
d73bf08515 cleaned up constructors 2016-05-20 15:53:46 +10:00
Jan Bartel
8dfcfd021c Refactor session tests to common base; add option to save session when created. 2016-05-20 15:47:28 +10:00
Simone Bordet
fab61b9157 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-20 01:12:51 +02:00
Simone Bordet
faec7259b2 Fixed dispatch to application in case of empty chunked body. 2016-05-20 01:12:24 +02:00
Simone Bordet
aed6bb6d6a Code cleanups. 2016-05-20 01:12:24 +02:00
Simone Bordet
46bc204e1c Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-19 11:50:35 +02:00
Simone Bordet
ff1bfa599f Issue #354 (Spin loop in case of exception thrown during accept()).
Improved the solution by sleeping only if we are still accepting.
This avoids the sleep when the connector is stopping, speeding up tests.
2016-05-19 11:48:51 +02:00
Greg Wilkins
79e5c31029 improved unit test, fixed deferred on chunking 2016-05-19 17:46:50 +10:00
Jan Bartel
e1489340fe Flow refactor of session classnames into module and etc files 2016-05-19 16:43:30 +10:00
Jan Bartel
a28a59be89 Sessions expire if now is >= calculated expiry 2016-05-19 16:30:39 +10:00
Jan Bartel
49ce555add Ensure SessionCache and SessionDataStore are managed as beans 2016-05-19 13:01:38 +10:00
Jan Bartel
7fd93f1929 Make NEVER_EVICT default session eviction policy; add more debug logging 2016-05-19 12:49:20 +10:00
Greg Wilkins
f826d1365b Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-05-19 11:27:59 +10:00
Greg Wilkins
cdd73eb4da improved javadoc 2016-05-19 11:27:09 +10:00
Jan Bartel
387f433711 Refactor names of session impl classes; fix bugs; add some tests 2016-05-18 17:05:01 +10:00
Greg Wilkins
49ec41f600 Issue #525 fix blockForContent spin
Improved test
2016-05-18 12:54:27 +10:00
Simone Bordet
f519bfaf71 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-16 15:41:02 +02:00
Simone Bordet
55e5f74889 Fixes #558 - HTTP/2 server hangs when thread pool is low on threads.
Fixed test that was broken after changes for #557.
2016-05-16 15:40:35 +02:00
Joakim Erdfelt
8305125df0 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-05-13 11:59:02 -07:00
Joakim Erdfelt
97af3d663f Fixes #556 - Improve Resource.getAlias() checks on Windows
+ Reworks PathResource and FileResource alias checking to
  use originally passed paths, before Windows JVM has a
  chance to normalize and "correct" the bad paths.
2016-05-13 11:57:23 -07:00
Greg Wilkins
0341d09e38 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-05-12 14:00:44 +10:00
Greg Wilkins
298a340851 Issue #558
The testEPCExitsLowThreadsMode has been broken, so ignored for now
2016-05-12 13:26:14 +10:00
Simone Bordet
d8961139f3 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-11 13:57:08 +02:00
Simone Bordet
9b6d42317b Improved logging. 2016-05-11 13:05:16 +02:00
Greg Wilkins
6fb095f02c Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-05-11 16:23:06 +10:00
Greg Wilkins
bdafea3e96 Issue #561 Fixed test timer 2016-05-11 09:24:02 +10:00
Simone Bordet
9a5d8f3943 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-06 17:43:49 +02:00
Simone Bordet
caa45283c7 Fixes #547 (ExecuteProduceConsume (EWYK) does not exit low threads mode)
Exposed getters/setters for ExecutionStrategy.Factory in
ServerConnector and SelectorManager, to allow explicit configuration
and testing.

Added test to verify that EPC exits low threads mode.
2016-05-06 17:10:46 +02:00
Simone Bordet
8bb6d4d7dc Code cleanups. 2016-05-06 17:10:46 +02:00
Greg Wilkins
2a5b120fc3 Issue #525 fix blockForContent spin
abort request in bad request handling
2016-05-06 20:31:55 +10:00
Greg Wilkins
15480a7c94 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-05-05 11:37:00 +10:00
Greg Wilkins
6591137ba0 Issue #547 EWYK leaves low resource mode
Directly implement PEC in EPC low resource mode
2016-05-05 11:22:37 +10:00
Joakim Erdfelt
bec06de61d Fixing bad javadoc references that broke the build 2016-05-04 09:16:15 -07:00
Simone Bordet
4d4ecfd5cf Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-04 11:47:54 +02:00
Simone Bordet
49a19abd71 Fixes #521 (Separate usage of the Server and the ServerConnector Executors)
Found another couple of places where we should use the Server Executor.
2016-05-04 11:28:13 +02:00