Jesse McConnell
ae931538ab
[maven-release-plugin] prepare for next development iteration
2016-06-22 13:59:10 -05:00
Jesse McConnell
df1ed4fb03
[maven-release-plugin] prepare release jetty-9.3.11.M0
2016-06-22 13:59:06 -05:00
Jesse McConnell
2b947e8f72
Merge branch 'jetty-9.3.x' into release-9.3.10
2016-06-22 13:22:27 -05: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
Jesse McConnell
030ec61837
[maven-release-plugin] prepare for next development iteration
2016-06-22 09:14:25 -05:00
Jesse McConnell
9a4cb41122
[maven-release-plugin] prepare release jetty-9.3.11.M0
2016-06-22 09:14:21 -05:00
Jesse McConnell
f2264c96a6
Merge branch 'jetty-9.3.x' into release-9.3.10
2016-06-22 08:40:46 -05: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
Jesse McConnell
e7034117ea
[maven-release-plugin] prepare for next development iteration
2016-06-21 08:50:13 -05:00
Jesse McConnell
16c435c69d
[maven-release-plugin] prepare release jetty-9.3.10.v20160621
2016-06-21 08:50:09 -05:00
Joakim Erdfelt
02144e0a97
Making test keystores compatible with Java 8 restrictions
2016-06-20 17:46:21 -07: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 b40c2ae66f
.
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
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
Jesse McConnell
4bf91b5ab3
Merge remote-tracking branch 'origin/release-9.3.9' into jetty-9.3.x
2016-05-19 09:55:58 -05: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
Jesse McConnell
dc4574f380
[maven-release-plugin] prepare for next development iteration
2016-05-17 17:30:17 -05:00
Jesse McConnell
0bbebec1e0
[maven-release-plugin] prepare release jetty-9.3.9.v20160517
2016-05-17 17:30:13 -05:00
Jesse McConnell
d5c6793e6a
[maven-release-plugin] prepare for next development iteration
2016-05-17 15:33:46 -05:00
Jesse McConnell
0bab7e6616
[maven-release-plugin] prepare release jetty-9.2.17.v20160517
2016-05-17 15:33:42 -05: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
Greg Wilkins
a5d3f29f11
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-05-04 11:10:03 +10:00
Greg Wilkins
5b8f411ba9
Issue #539
...
Made ResourceService pluggable
2016-05-04 11:08:49 +10:00
Greg Wilkins
a9a21daa8e
Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x
2016-05-04 09:15:13 +10:00
Greg Wilkins
e783777d1c
Issue #519 Disable SSL session caching
...
Made caching parameters configurable
2016-05-04 09:14:35 +10:00
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
939505c342
Updating to version 9.2.17-SNAPSHOT
2016-04-14 14:03:21 -07:00
Joakim Erdfelt
778fac638d
Updating to version 9.2.16.v20160414
2016-04-14 13:21:34 -07:00
Joakim Erdfelt
47bbd9364d
Revert "Updating to version 9.2.16.v20160414"
...
This reverts commit 29ae63855b
.
2016-04-14 13:19:59 -07:00
Joakim Erdfelt
29ae63855b
Updating to version 9.2.16.v20160414
2016-04-14 13:17:21 -07: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
Greg Wilkins
46abbba566
fixed merge compile errors
2016-03-17 06:49:14 +11:00
Joakim Erdfelt
3624339ec6
Merge branch 'jetty-9.3.x'
2016-03-16 10:29:29 -07:00
Joakim Erdfelt
13fde643ed
Merge branch 'release-9.3.8' into jetty-9.3.x
2016-03-16 10:03:29 -07:00
Greg Wilkins
1c5a1fc6a2
Issue #431
...
Suppress stack traces from unit tests
2016-03-16 18:19:40 +11:00
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
Simone Bordet
cec3694355
Consistently using BufferUtil, especially clearToFill() and
...
flipToFlush().
2016-02-29 16:31:38 +01:00
Jesse McConnell
c74b0c23e9
Issue #367 Resolve remaining git.eclipse.org build references
2016-02-26 08:11:27 -07:00
Jesse McConnell
b08f177d47
Issue #367 Resolve remaining git.eclipse.org build references
2016-02-26 08:09:12 -07:00
Jesse McConnell
d8f74233a0
fix some merge issues, some example javadoc that was never right and contributing language
2016-02-26 08:13:41 -06:00
Jesse McConnell
ce5a3b11d6
Issue #367 Resolve remaining git.eclipse.org build references
2016-02-26 08:03:33 -06:00
Jesse McConnell
76b34fe79a
Issue #367 Resolve remaining git.eclipse.org build references
2016-02-26 07:51:05 -06:00
Simone Bordet
7938c9f86f
Merged branch 'jetty-9.3.x' into 'master'.
2016-02-26 10:37:47 +01:00
Jan Bartel
eb5e25ce1e
Fix javadoc comments
2016-02-24 17:58:18 +01:00
Greg Wilkins
ebfb45dd70
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-02-24 15:18:47 +01:00
Simone Bordet
83baed0bfe
Reformatted code.
2016-02-24 15:06:08 +01:00
Greg Wilkins
7b6c1af4a7
Removed extra ByteBuffer duplicate
2016-02-24 13:47:35 +01:00
Greg Wilkins
1eeecdaee5
Issue #355 Improve close behaviour
...
Inverted the logic of the handling of exceptions thrown in CommitCallback.
Now only if a BadMessageException is throw do we attempt to write a 500 response.
All other exceptions just abort the connection
2016-02-24 13:36:06 +01:00
Greg Wilkins
aa7fd02c5f
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-02-23 18:31:15 +01:00
Greg Wilkins
3c671aa8b6
Issue #346 HttpParser RFC2616 Compliance mode
...
Reimplmented HTTP/0.9 support in RFC2616 compliance mode
2016-02-23 17:33:53 +01:00
Jan Bartel
21fdaf500e
Merge remote-tracking branch 'origin/jetty-9.3.x'
...
Conflicts:
jetty-nosql/src/main/java/org/eclipse/jetty/nosql/NoSqlSession.java
jetty-nosql/src/main/java/org/eclipse/jetty/nosql/NoSqlSessionManager.java
jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionIdManager.java
jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionManager.java
tests/test-sessions/test-mongodb-sessions/src/test/java/org/eclipse/jetty/nosql/mongodb/MongoTestServer.java
2016-02-23 14:04:06 +01:00
Jan Bartel
750b74ad49
Add comments to session implemention code
2016-02-23 13:47:56 +01:00
Simone Bordet
76689dd303
Issue #354 (Spin loop in case of exception thrown during accept()).
...
Fixed by introducing an overridable method that performs an arbitrary
sleep to avoid the spin loop. Subclasses may customize.
2016-02-23 11:37:08 +01:00
Simone Bordet
51009208d4
Merged branch 'jetty-9.3.x' into 'master'.
2016-02-19 13:23:34 +01:00
Greg Wilkins
55eb54799f
Issue #346 HttpParser RFC2616 Compliance mode
...
Added HttpParser.Compliance field to HttpConnectionFactory
2016-02-19 11:41:07 +01:00
Jan Bartel
9a554af480
Ensure infinispan timed-out sessions handled correctly
2016-02-19 10:57:04 +01:00
Joakim Erdfelt
4a6602d007
Issue #342 - Reintroducing Request to logExtended
...
+ the old/bad AbstractNCSARequestLog.logExtended is now
deprecated
+ the corrected logExtended is the appropriate one to use
2016-02-18 11:31:55 -07:00
Greg Wilkins
dd4a72ce76
479903 - improve async onError handling
...
Work in progress towards clean build
2016-02-17 14:13:21 +01:00
Greg Wilkins
92c339e669
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-02-17 12:09:00 +01:00
Greg Wilkins
8068aeead9
Fixed unit test race
...
Test was assuming that receiving completed response on client
always happened before server processing had completed.
Added a spin test.
2016-02-17 11:11:52 +01:00
Jan Bartel
ca0193b28e
Merge pull request #71 from pethers/master
...
Added nullchecks and test for getters using _metadata to avoid throwing
2016-02-17 10:02:01 +01:00
Jan Bartel
11d3448e28
Issue #81 Exception not always thrown in Jetty to application when upload part is too big
...
Issue #82 Request.getPart() that results in Exception still allows other parts to be fetched
2016-02-16 17:43:56 +01:00
Greg Wilkins
779317dc30
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-02-16 16:03:34 +01:00
Jan Bartel
6c1bd97ad1
Add extra getters to DatabaseAdaptor
2016-02-16 15:31:33 +01:00
Jan Bartel
c965dc905c
Update jdbc module for new session architecture
2016-02-16 15:12:23 +01:00
Jan Bartel
9b5aa6f90d
478918 Change javax.servlet.error,forward,include literals to RequestDispatcher constants
2016-02-16 11:52:29 +01:00
Jan Bartel
f10f32c080
478918 Change javax.servlet.error,forward,include literals to RequestDispatcher constants
2016-02-16 10:48:20 +01:00
Greg Wilkins
d0541e58da
Merge remote-tracking branch 'origin/jetty-9.3.x'
2016-02-16 10:11:47 +01:00
Greg Wilkins
fd5b3a8062
487714 - Avoid NPE in close race for async write
...
The race has not been solved, as with lock-free style it is difficult to prevent a
close racing with a write in progress. Instead, the code has been made more
resiliant to such state changes and exceptions thrown are converted to IOExceptions.
2016-02-16 10:06:25 +01:00
pether.sorling@gmail.com
5f8253a8cd
Added nullchecks and test for getters using _metadata to avoid throwing
...
nullpointer exception.
Signed-off-by: pether.sorling@gmail.com <pether.sorling@gmail.com>
2016-02-15 22:51:15 +01:00
Simone Bordet
e91d93b85c
Merged branch 'jetty-9.3.x' into 'master'.
2016-02-15 20:56:01 +01:00
Simone Bordet
261bea7bc7
Clarified Request.isPushSupported().
...
Now isPushSupported() returns true only if the request is not
a synthentic request generated by a push.
2016-02-15 20:55:47 +01:00