Commit Graph

1451 Commits

Author SHA1 Message Date
Joakim Erdfelt 9a8f22d5dd Testing Updates
+ Upgrading to jetty-test-helper 4.0
+ Removing use of org.eclipse.jetty.toolchain.test.SimpleRequest
+ Removing use of org.eclipse.jetty.toolchain.test.http.SimpleHttpParser
+ Removing use of org.eclipse.jetty.toolchain.test.http.SimpleHttpResponse
+ Updating long since deprecated (and now removed) known quirky methods
  in jetty-test-helper and the test classes.
2017-02-02 15:51:38 -07:00
Jan Bartel 0391c52e4c Merge remote-tracking branch 'origin/jetty-9.4.x' into issue-1150 2017-02-01 17:40:33 +11:00
Jan Bartel a2e1dd3a30 Issue #1284
Ensured session expired in db but resident in memory is not expired.
2017-02-01 14:23:28 +11:00
James Earl Douglas 590838f644
Replace contraction with possesive 2017-01-26 19:26:50 -07:00
Jesse McConnell e695fc80d6 Updating to version 9.2.22-SNAPSHOT 2017-01-20 12:32:51 -06:00
Jesse McConnell 513b5e5f90 Updating to version 9.2.21.v20170120 2017-01-20 12:32:00 -06:00
Jesse McConnell d0c33ebe8b Updating to version 9.4.2-SNAPSHOT 2017-01-20 10:49:06 -06:00
Jesse McConnell 556ecbcdcf Updating to version 9.4.1.v20170120 2017-01-20 09:47:53 -06:00
Jesse McConnell 66b43ecda8 Updating to version 9.3.17-SNAPSHOT 2017-01-20 09:33:43 -06:00
Jesse McConnell df03355d00 Updating to version 9.3.16.v20170120 2017-01-20 09:06:48 -06:00
Simone Bordet 0c8273f2ca Happy New Year 2017. 2017-01-19 19:26:41 +01:00
Simone Bordet 07838b057f Happy New Year 2017. 2017-01-19 18:54:03 +01:00
Simone Bordet 347c48d657 Revert "resolve merge and update license headers"
This reverts commit 53b31b03dd, reversing
changes made to 4565c186d7.
2017-01-19 18:26:43 +01:00
Jesse McConnell 53b31b03dd resolve merge and update license headers 2017-01-19 09:33:16 -06:00
Jesse McConnell ce3e6dafec update license headers to 2017 2017-01-19 09:30:00 -06:00
Jan Bartel 76df903feb Merge remote-tracking branch 'origin/jetty-9.4.x' into issue-1150 2017-01-18 15:25:21 +11:00
Simone Bordet f8e3b1f9c2 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-01-17 11:38:45 +01:00
Simone Bordet 9e9ee03d7f Issue #1073 - JDK9 support in Jetty 9.3.x.
Fixed dependencies for modules that run tests that require ALPN.
2017-01-17 11:32:20 +01:00
Simone Bordet 7f8a1157af Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-01-16 12:14:02 +01:00
Simone Bordet ce4c48a877 Fixes #1261 - Intermittent H2C test failure AsyncIOServletTest.testAsyncReadEarlyEOF.
Delayed abrupt output shutdown in case of HTTP/2, to allow to reply to
SETTINGS frames exchanged during the preface.
2017-01-16 12:13:05 +01:00
Simone Bordet a684c028b5 Issue #1073 - JDK9 support in Jetty 9.3.x.
Specified Maven Assembly Plugin version only in root POM.
2017-01-13 22:50:08 +01:00
Jan Bartel ec193693a2 Issue #1150 2017-01-13 22:30:44 +11:00
Simone Bordet e539d0b1fd Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-01-12 17:52:45 +01:00
Simone Bordet 11d669092a Issue #1073 - JDK9 support in Jetty 9.3.x.
* Updated Maven plugins to versions that support JDK 9.
* Added jdk9 profiles to the build files.
* Introduced modules jetty-alpn-java-client and jetty-alpn-java-server
containing a pure JDK 9 implementation of ALPN.
* Wired ALPN connection factories (client and server) to use the proper
ALPN implementation based on the JDK platform version (8 or 9).
2017-01-12 15:41:02 +01:00
Greg Wilkins 1e8fc31440 Issue #1252 2017-01-12 10:06:45 +11:00
Jan Bartel 374be8d318 Issue #1221 2017-01-07 13:13:10 +11:00
Olivier Lamy 9bc4cd32fc backport of fixes for #592 (#1208)
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-01-01 20:33:51 +11:00
Jan Bartel 8597fe57e6 Issue #1203 2016-12-26 17:09:22 +11:00
Joakim Erdfelt 7494914ff6 Updating to version 9.3.16-SNAPSHOT 2016-12-20 13:09:32 -07:00
Joakim Erdfelt 680ecd646b Updating to version 9.3.15.v20161220 2016-12-20 12:31:58 -07:00
Joakim Erdfelt 6b3b59df43 Updating to version 9.2.21-SNAPSHOT 2016-12-16 16:23:06 -07:00
Joakim Erdfelt bcbcee7f23 Updating to version 9.2.20.v20161216 2016-12-16 15:47:41 -07:00
Joakim Erdfelt 44596a7714 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-12-16 08:38:01 -07:00
Simone Bordet 3e42b68d9e Added test cases for HEAD requests. 2016-12-16 15:34:13 +01:00
Jesse McConnell 9f012dcd17 Merge branch 'release-9.4.0' into jetty-9.4.x 2016-12-12 09:03:57 -06:00
Jan Bartel 5d5b9c5998 Issue #1162 2016-12-12 20:24:54 +11:00
Jesse McConnell 6a7e5dd4f5 Updating to version 9.4.1-SNAPSHOT 2016-12-08 09:41:50 -06:00
Jesse McConnell c54efb5929 Updating to version 9.4.0.v20161208 2016-12-08 08:56:45 -06:00
Jesse McConnell f8338b3f59 Updating to version 9.4.1-SNAPSHOT 2016-12-07 10:32:41 -06:00
Jesse McConnell dac1d17a2d Updating to version 9.4.0.v20161207 2016-12-07 09:47:30 -06:00
Jan Bartel c499ec68f7 Issue #1020
Add test for immortal session for mongo
2016-11-09 10:42:44 +11:00
Greg Wilkins a7048a325a Issue #1077
Removed concrete handle from AbstractHandler
Added AbstractHandler.ErrorDispatchHandler
cleanup context listeners
Removed vanity inlining of ScopeHandler methods

Squashed commit of the following:

commit 0f3619ac1101707de476ad9b7f7394e8de18d95f
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Nov 8 10:59:55 2016 +1100

    Issue #1077

    Removed concrete handle from AbstractHandler
    Added AbstractHandler.ErrorDispatchHandler

commit 0876fee0334b9f43297f28fc4b855f447b7ee73f
Merge: 5eabad2 7716ada
Author: Greg Wilkins <gregw@webtide.com>
Date:   Tue Nov 8 08:48:53 2016 +1100

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-issue-1077

commit 5eabad29a5c4d893e204cb403a1d276ea3b15281
Author: Greg Wilkins <gregw@webtide.com>
Date:   Mon Nov 7 21:15:40 2016 +1100

    Issue #1077 cleanup context listeners

commit 9edf91a386aa20a3c0af86a634b4b3dbbc8e1092
Author: Greg Wilkins <gregw@webtide.com>
Date:   Mon Nov 7 18:08:01 2016 +1100

    Issue #1077 Removed vanity inlining of ScopeHandler methods
2016-11-08 15:58:15 +11:00
Greg Wilkins 0495bb896e Issue #1074
Removed wake() call from within pollContent
Instead the EOF status is evaluated :
 - when setReadListener is called
 - when read returns -1
 - when run() is called before calling either onDataAvailable or onAllDataRead

Squashed commit of the following:

commit 6a345356998331a90e60c7ee8ee590920464c72f
Merge: 92bc0e9 60d9001
Author: Greg Wilkins <gregw@webtide.com>
Date:   Mon Nov 7 09:46:23 2016 +1100

    Merge branch 'jetty-9.4.x' into jetty-9.4.x-issue-1074

commit 92bc0e9f3aafdce2f4aa7b2fde31affc942be042
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Nov 5 18:24:00 2016 +1100

    Issue #1074

    Do not do async IO callbacks if completed

commit ee220a12d1e6c5f6e39b4597a209c5043aa775cf
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Nov 5 16:22:55 2016 +1100

    Issue #1074

    Turned off debug
    improved proxy test to be able to run with debug on

commit e2fb0b9ef1ec422a2c82cb388820581e359234ba
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Nov 5 15:37:27 2016 +1100

    Issue #1074

    Improved test cases
    Handle early EOF

commit 3c47c022fe7e48f82e41d9a208073b64cfeb5af7
Author: Greg Wilkins <gregw@webtide.com>
Date:   Sat Nov 5 12:28:15 2016 +1100

    provisional implementation
2016-11-07 15:01:39 +11:00
Greg Wilkins 60d90010c2 Fixes #1076 2016-11-07 09:28:03 +11:00
Jan Bartel 41d506fe4e Issue #1067 2016-11-03 16:21:24 +11:00
Joakim Erdfelt 2c38511828 Updating to version 9.3.15-SNAPSHOT 2016-10-28 13:01:34 -07:00
Joakim Erdfelt 14611d2f76 Updating to version 9.3.14.v20161028 2016-10-28 12:21:02 -07:00
Greg Wilkins 3e4f7b1fbf Issue #1045 abort connections with non matching content-length 2016-10-28 15:36:19 +11:00
Greg Wilkins eda0cff90a Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-10-28 10:55:03 +11:00
Greg Wilkins 9f430ae7f7 Issue #1038 i
Handle resources as URIs
Avoid unneccessary trailing /
2016-10-28 10:50:39 +11:00
Joakim Erdfelt cdf447e34e Issue #1038 - making testcase more OS independent 2016-10-27 16:43:23 -07:00
Greg Wilkins 6e1994641b Issue #1038
Readded sorting of attributes by length
added .uri attributes
support WAR.path and WAR.uri in preference to WAR
updated for latest unit test
2016-10-28 10:31:22 +11:00
Joakim Erdfelt a00494fafb Issue #1038 - updating test case for AttributeNormalizer 2016-10-27 16:15:46 -07:00
Simone Bordet 5eef2caa7f Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-10-27 17:11:13 +02:00
Simone Bordet bda08ad9e3 Tests can throw any exception. 2016-10-27 17:10:34 +02:00
Greg Wilkins b17dafc2ad Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-10-27 16:34:44 +11:00
Greg Wilkins 0f7028e9fa Quickstart attribute normilazation #1038
Removed a lot of bad tests that incorrection assumed it was OK to mix Paths and URIs like:
jar:file:${jetty.base}/webapps/some.war!/some/path

refactored to keep PathAttributes and URIAttributes separate
2016-10-27 16:29:52 +11:00
Joakim Erdfelt 55c6514a2e Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-26 16:42:42 -07:00
Joakim Erdfelt ca5e075ba0 Issue #1038 - treating ${WAR} as a URI always, not a Path
+ Still needs testing on MS Windows
2016-10-26 15:30:34 -07:00
Joakim Erdfelt ebc8983721 Issue #1038 - correcting "file:" and double "//" behavior 2016-10-26 14:25:20 -07:00
Joakim Erdfelt de1a973321 Test case throws declaration fix for Jetty 9.4+ 2016-10-26 12:07:49 -07:00
Joakim Erdfelt a7ac269027 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-26 11:42:49 -07:00
Joakim Erdfelt 7328742ae5 Fixes #1038 - ${WAR} should be favored over other attributes, like ${jetty.base} 2016-10-26 10:23:58 -07:00
Joakim Erdfelt 458aebbd01 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-20 15:11:40 -07:00
Joakim Erdfelt 76992139f8 Merge branch 'jetty-9.2.x' into jetty-9.3.x 2016-10-20 15:11:25 -07:00
Joakim Erdfelt 2d650512bf Skipping jacoco collection on build/test/support/integration modules 2016-10-20 12:48:32 -07:00
Joakim Erdfelt fccffdb526 Merge branch 'release-9.3.13' into jetty-9.3.x 2016-10-20 09:25:57 -07:00
Joakim Erdfelt d282fc67d2 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-10-17 09:46:13 -07:00
Simone Bordet f9e3c535d6 Issue #989 - InputStreamResponseListener.get() throws with HTTP/2 following redirect.
Added test case, but it passes cleanly.
2016-10-17 15:46:43 +02:00
Simone Bordet de7bdf2b94 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-10-17 15:34:56 +02:00
Simone Bordet f305bf8a2d Made the test more robust. 2016-10-17 15:34:08 +02:00
Joakim Erdfelt ade14ba34b Updating to version 9.3.14-SNAPSHOT 2016-10-14 11:33:51 -07:00
Joakim Erdfelt c3a78e70a8 Updating to version 9.3.13.v20161014 2016-10-14 10:39:37 -07:00
Greg Wilkins 98bb582d45 Jetty 9.4.x http interceptor #382
* Issue #382 Request compression

Added identity HttpInput.Interceptor
Moved GZIPContentDecoder to jetty-http
Reworking interceptor and GZIPContentDecoder to avoid data copies
Completed and tested GZIPContentDecoder
Implemented GzipHttpInputInterceptor
updated GzipHandler.java
updated gzip module
use common GZIP decoder
Gzip Bomb
handle read() after empty interception
2016-10-05 13:49:20 +11:00
Jesse McConnell 863913b64e set for dev 2016-09-30 19:05:47 +00:00
Jesse McConnell b91cc8a4ea set for release 2016-09-30 18:01:20 +00:00
Simone Bordet 03d9ad07c9 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-09-26 23:18:31 +02:00
Simone Bordet cba4169ba9 Made test more robust. 2016-09-26 23:17:29 +02:00
Simone Bordet e9e276c641 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-09-26 12:25:29 +02:00
Simone Bordet a8b25819eb Code cleanups. 2016-09-26 12:25:03 +02:00
Simone Bordet 716c595cdf Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-09-26 12:20:22 +02:00
Simone Bordet 74b86bad35 Fixes #960 - Async I/O spin when reading early EOF.
AsyncIOServletTest is now testing HTTP/1.1 and HTTP/2 transports.
2016-09-26 11:49:57 +02:00
Simone Bordet a1a132a601 Fixes #959 - CompleteListener invoked twice for HTTP/2 transport and response content. 2016-09-26 10:16:31 +02:00
Simone Bordet 9551d0f62b Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-09-22 21:57:12 +02:00
Simone Bordet 1ede9febc6 Code cleanups. 2016-09-22 21:28:09 +02:00
Jan Bartel 133d584b94 Issue #941
Make scavenger thread able to be disabled.
2016-09-22 17:10:30 +10:00
Jan Bartel a21434f289 Issue #914
Expose SessionHandler in SessionContext.
2016-09-21 15:25:01 +10:00
Joakim Erdfelt 6cf10172ca Updating to version 9.3.13-SNAPSHOT 2016-09-15 07:34:52 -07:00
Joakim Erdfelt 8b35fdc5a5 Updating to version 9.3.12.v20160915 2016-09-15 06:48:16 -07:00
Simone Bordet d2ddf5f5ad Code and Javadocs cleanup. 2016-09-14 20:42:38 +02:00
Simone Bordet 5ec60a30ed Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-09-14 16:44:39 +02:00
Simone Bordet aa00e4207d Issue #922 - Implements methods Connection.getBytes[In|Out]().
Implemented for HTTP/2.
2016-09-14 14:04:23 +02:00
Joakim Erdfelt fb7da26ad2 Updating to version 9.2.20-SNAPSHOT 2016-09-08 13:04:11 -07:00
Joakim Erdfelt 7b94bc32f4 Updating to version 9.2.19.v20160908 2016-09-08 12:11:44 -07:00
Simone Bordet 448100ff80 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-09-06 12:02:01 +02:00
Simone Bordet 6d485b2777 Fixes #902 - Expect: 100-Continue does not work with HTTP/2.
Improved handling of the 100 status code in both client and server.
2016-09-06 12:01:24 +02:00
Simone Bordet e21ad09e3a Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-09-05 23:09:12 +02:00
Simone Bordet 705a68dfc4 Issue #845 - Improve blocking IO for data rate limiting.
Moved tests to run HTTP and HTTP/2 tests, and added more test cases.
2016-09-05 19:13:05 +02:00
Jan Bartel 9aa0371188 Fix javadoc comments 2016-08-18 13:23:38 +10:00
Simone Bordet a38feda9a0 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-07-29 12:09:27 +02:00
Simone Bordet 2cdea3601b Fixes #790 - AsyncContentListener semantic broken with HTTP/2 transport.
Now using an IteratingCallback to buffer DATA frames and delivering
their content respecting AsyncContentListener semantic.
2016-07-29 12:08:55 +02:00
Joakim Erdfelt 2830e51e04 Merge branch 'jetty-9.3.x' into release-9.3.11 2016-07-28 12:20:36 -07:00
Jan Bartel 9f907316c7 Issue #784
Fix test for jetty-9.4 apis.
2016-07-28 15:11:32 +10:00
Jan Bartel e45e649761 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-07-28 15:06:12 +10:00
Jan Bartel c9842c7794 Issue #784
Add a unit test to try to reproduce.
2016-07-28 15:04:40 +10:00
Joakim Erdfelt 6e1b1cdb36 Updating to version 9.3.12-SNAPSHOT 2016-07-21 19:07:19 -07:00
Joakim Erdfelt 9fd6d4354e Updating to version 9.3.11.v20160721 2016-07-21 18:37:09 -07:00
Joakim Erdfelt 0b18340179 Updating to version 9.2.19-SNAPSHOT 2016-07-21 13:10:23 -07:00
Joakim Erdfelt d3ff3423f0 Updating to version 9.2.18.v20160721 2016-07-21 12:35:26 -07:00
Greg Wilkins 0a7903485a Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-07-20 17:01:21 +10:00
Greg Wilkins 7e16731b9d fix #592 2016-07-20 16:59:28 +10:00
Jan Bartel afcec96a23 Issue #663
Fix javadoc.
2016-07-05 17:56:12 +10:00
Jan Bartel 00f9b99d02 Issue #663
Fix accidental removal of arg to InfinispanTestServer.
2016-06-24 19:10:57 +10:00
Jan Bartel 0889a66f9c Issue #663 2016-06-24 16:21:25 +10:00
Jan Bartel 225c6a8086 Issue #663
Also fix javadoc; fix memcached module
2016-06-24 15:38:25 +10:00
Jan Bartel a0e7b21180 Make SessionDataMap a LifeCycle 2016-06-23 12:25:33 +10:00
Jan Bartel 26310f1167 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-23 12:03:08 +10:00
Jan Bartel 67f8a96eee Issue #658
Add unit tests for memcached with gcloud.
2016-06-23 11:23:44 +10:00
Jan Bartel 0ca191edff Issue #658 2016-06-23 07:49:11 +10:00
Jesse McConnell 399c5beb04 merge from 9.3.x 2016-06-22 15:23:51 -05:00
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 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 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
Simone Bordet b3fda0b733 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-06-20 23:11:16 +02:00
Simone Bordet d073780dde Refactored tests. 2016-06-20 23:10:44 +02:00
Simone Bordet 7ef22c8ebd Fixes #648 - Problem using InputStreamResponseListener to handle HTTP/2 responses.
The fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=484446
reimplemented InputStreamResponseListener using callbacks rather than
blocking waits.

However, HTTP/2 behaves a little differently than HTTP/1.
Where in HTTP/1 until the callback was completed no further calls to
onContent() were made, with HTTP/2 additional calls are made until
the flow control window is exhausted.

For this reason InputStreamResponseListener must queue content chunks
rather than dealing only with one chunk at a time.
2016-06-20 23:10:44 +02:00
Jan Bartel 1b508e3714 Add test for memcached session data. 2016-06-17 13:18:52 +10:00
Jan Bartel 1ce0592d6c Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-15 16:31:54 +10:00
Simone Bordet dfb20e6398 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-06-14 00:26:59 +02:00
Simone Bordet c0f54ab82f Increased timeouts to avoid failures on slower machines. 2016-06-14 00:26:18 +02:00
Jan Bartel 73a0cd6b06 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-10 11:53:45 +10:00
Jan Bartel 27ed0480b9 Issue #632
Remove unneeded scripts
2016-06-10 11:52:32 +10:00
Jan Bartel 1cdeac9c53 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-10 11:50:41 +10:00
Jan Bartel a6cfff8573 Issue #632 fix jmx tests to use random jetty server port 2016-06-10 11:46:15 +10:00
Greg Wilkins 383e81db38 Fix #627 Use start.d or start.ini not both
Updated start module to look for start.d and use it if it exists
Error or warning of both start.d and start.ini exist
updated jetty-distribution to use one or the other
2016-06-09 16:45:24 +10:00
Jan Bartel 64e8d1ff5d Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-08 10:42:28 +10:00
Jan Bartel f86d72696a Issue #622 2016-06-08 10:23:36 +10:00
Simone Bordet 73fe6715de Issue #306 - Merge jetty-parent into jetty-project.
Moved more plugin version declarations into jetty.project's pom.
2016-06-07 10:23:38 +02:00
Simone Bordet a8f25b550f Fixes #487 - JDK 9 build compatibility.
Fixes #306 - Merge jetty-parent into jetty-project.

- Removed jetty.parent dependency, moving all relevant sections to
jetty.project's pom.xml.
- Introduced profiles for JDK 8 only modules and configuration, and
for JDK 9 only modules and configurations.
- Major cleanup of pom.xml files.
- All Maven Plugin now declared in alphabetical order in
pluginManagement section of jetty.project's pom.xml.
2016-06-06 21:28:51 +02: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
Jan Bartel 833f291975 Ensure sessions that fail to save on evict are not evicted. 2016-06-01 12:41:39 +10:00
Simone Bordet b912c700ee Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-25 19:27:46 +02:00
Simone Bordet f3a805887e Fixes #542 - Support Connection.Listener bean on clients.
Introduced ClientConnectionFactory.customize() to look for
Connection.Listener beans.
ClientConnectionFactory implementation calls customize() when they
create a Connection instance, so the Connection.Listener beans are
registered onto the Connection.
2016-05-25 19:27:08 +02: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 061a2e85d9 Added jetty-logging.properties to debug tests. 2016-05-20 01:12:24 +02:00
Jesse McConnell 80cadf2c01 merging in from 9.3.x release 2016-05-19 10:05:44 -05:00
Jan Bartel a28a59be89 Sessions expire if now is >= calculated expiry 2016-05-19 16:30:39 +10:00
Jan Bartel c727518d5c Fix session test timeouts 2016-05-18 17:05:01 +10:00
Jan Bartel 07c45149d4 Skip mongo session tests by default 2016-05-18 17:05:01 +10:00
Jan Bartel 387f433711 Refactor names of session impl classes; fix bugs; add some tests 2016-05-18 17:05:01 +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 9a5d8f3943 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-06 17:43:49 +02:00
Simone Bordet 1056536155 Moved HttpClientLoadTest to "tests" module to test all transports. 2016-05-06 17:10:46 +02:00
Jan Bartel 70a665d3e7 Refactor session implementation: rename SessionStore impls. 2016-04-28 16:18:29 +10:00
Greg Wilkins f3b3741a58 Issue #533 Do not hide file resource exception
Throw IOException rather than MUE for file exception
2016-04-23 09:43:21 +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
Simone Bordet e2f252f817 Merged branch 'jetty-9.3.x' into 'master'. 2016-04-11 19:39:04 +02:00
Simone Bordet f0a1ccf4d3 Fixes #504 - HTTP/2 client transport cannot send request after idle timeout.
Made sure that the idle timeout mechanism notifies the destination
that the connection will close.

Also reviewed the close protocol to be: notify destination, then abort,
then close. In this way, HTTP/2 can send RST_STREAM before the
connection is closed.
2016-04-11 19:15:17 +02:00
Simone Bordet abf0307e5e Merged branch 'jetty-9.3.x' into 'master'. 2016-04-11 12:56:09 +02:00
Simone Bordet 5c3e068cb3 Fixes #481 - Event response.success notified without waiting for content callback for HTTP/2 transport.
Improved fix, notifying the response.success event using a
CompletableCallback to avoid that HttpReceiver.responseContent()
fails the update from ResponseState.TRANSIENT.
2016-04-11 12:55:37 +02:00
Jan Bartel 6514158e6a Remove unneeded SessionManager interface. 2016-04-06 16:31:23 +10:00
Simone Bordet 5aef3ba3e4 Merged branch 'jetty-9.3.x' into 'master'. 2016-04-04 15:41:04 +02:00
Simone Bordet 5c147288ef Fixes #481 - Event response.success notified without waiting for content callback for HTTP/2 transport.
Fixed by notifying the response.success event only when the callback
is succeeded.
2016-04-04 15:40:25 +02:00
Joakim Erdfelt 5353aeb573 Merge branch 'jetty-9.3.x' 2016-03-25 10:14:41 -07:00
Joakim Erdfelt 4722224b45 Excluding /tests/ from clirr 2016-03-24 16:09:05 -07:00
Joakim Erdfelt 5d882d12ab Fixing AttributeNormalizerTest to use real 'user.home'
+ Removing many debug lines
+ Resolving System.getProperty("user.home") to real system path
  before using it in the test case
2016-03-24 11:04:13 -07:00
Joakim Erdfelt 81c8708c52 Attempting to ascertain what's going on with AttributeNormalizer on CI 2016-03-24 10:13:39 -07:00
Joakim Erdfelt 3628e105e9 Fixing QuickStart / AttributeNormalizer test failures
+ Adding more noise to test cases to help determine what's going on in
  CI builds for test-quickstart
2016-03-23 21:28:27 -07: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
Jan Bartel bfeae1afa3 Remove periodic iteration over sessions 2016-03-23 16:59:36 +11:00
Joakim Erdfelt 36f559b483 Issue #446 - jetty-quickstart path normalization uses improper paths on Windows
Using URI syntax everywhere in AttributeNormalizer
2016-03-21 15:40:42 -07:00
Jan Bartel 51a4fc2f9e Fix stackless logger for jdbc session tests 2016-03-17 12:54:56 +11:00
Jan Bartel add04e8fba Remove necessity for SessionIdManager specializations. 2016-03-17 12:29:42 +11:00
Greg Wilkins c1b03c6d8c Issue #431
HttClientTest cleanup
2016-03-17 09:58:29 +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 6261150167 Add info to IllegalStateException on check for invalid session 2016-03-16 11:45:19 +11:00
Simone Bordet 5f22bede3a Merged branch 'jetty-9.3.x' into 'master'. 2016-03-15 22:04:45 +01:00
Simone Bordet 3cd568c9b1 Fixes #428 (Exception logged during HttpClientTest)
Removed printStackTrace() call.
2016-03-15 22:04:26 +01:00
Joakim Erdfelt dcfa0b8910 Merge branch 'jetty-9.3.x' 2016-03-15 07:49:28 -07:00
Greg Wilkins 5b920700c2 less verbose unit tests 2016-03-15 18:21:09 +11: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
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 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 e6c2c81bea Issue #417 (HttpClient: review support for OPTIONS *)
Implemented support for OPTIONS * HTTP/1.1 requests.
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
Simone Bordet d0593ab046 Merged branch 'jetty-9.3.x' into 'master'. 2016-03-08 11:56:14 +01:00
Joakim Erdfelt cc9a19775b Issue #343 - ensure release deployment of test-jetty-webapp:war and test-proxy-webapp:war 2016-03-07 16:25:54 -07:00
Simone Bordet d4cd34d2ba Merged branch 'jetty-9.3.x' into 'master'. 2016-03-07 17:01:20 +01:00
Simone Bordet 8af356bc0d Issue #305 (NPE when notifying the session listener if the channel is closed before a session has been opened)
Added guard against NPE. It was needed since the connection may not
be present if the connect operation failed.
2016-03-07 17:00:52 +01:00
Jan Bartel 303aea96a3 Implement uniform expiry testing for all datastores, FileDataStore still todo. 2016-03-05 16:01:18 +01: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
Jan Bartel ff49714d06 Implement session idle and expiration with single periodic sweep. 2016-03-03 00:38:25 +01:00
Jan Bartel b8d0ad50f8 Reimplementation of expiry and introduction of passivating unused sessions. 2016-02-29 21:03:30 +01:00
Simone Bordet 8aa3207164 Improved test by making requests carry a unique identifier. 2016-02-29 11:58:08 +01:00
Jesse McConnell c74b0c23e9 Issue #367 Resolve remaining git.eclipse.org build references 2016-02-26 08:11:27 -07:00
Jesse McConnell 931f67baab Update index.html 2016-02-26 08:08:17 -07:00
Jesse McConnell 7fab31e309 Update index.html 2016-02-26 08:08:16 -07:00
Jesse McConnell e46a19bde0 Update index.html 2016-02-26 08:08:16 -07:00
Jesse McConnell aaba9eca42 Update index.html 2016-02-26 08:08:16 -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 881edcb640 Update index.html 2016-02-26 07:34:33 -06:00
Jesse McConnell ad8733e5ab Update index.html 2016-02-26 07:33:44 -06:00
Jesse McConnell d0e8d5af2f Update index.html 2016-02-26 07:33:16 -06:00
Jesse McConnell 6e41a267ef Update index.html 2016-02-26 07:32:41 -06:00
Simone Bordet 7938c9f86f Merged branch 'jetty-9.3.x' into 'master'. 2016-02-26 10:37:47 +01:00
Jan Bartel ef6d0194b9 Issue #352 Integrate session idling for MongoSessionManager 2016-02-22 15:11:54 +01:00
Jan Bartel 9a554af480 Ensure infinispan timed-out sessions handled correctly 2016-02-19 10:57:04 +01:00
Greg Wilkins 2bf848dbd4 fixed test 2016-02-17 15:47:15 +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
Greg Wilkins 496be5e05f Issue #84 Ignored test 2016-02-16 17:08:10 +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
Simone Bordet f727e2bac3 Merged branch 'jetty9.3.x' into 'master'. 2016-02-13 11:32:53 +01:00
Joakim Erdfelt 30b5fe1c96 AttributeNormalizer.normalize() now supports URI 2016-02-12 09:29:49 -07:00
Joakim Erdfelt bc59c0853d Adjusting quickstart AttributeNormalizer to treat 'WAR' as a URI, not a Path 2016-02-12 09:11:19 -07:00
Joakim Erdfelt f98dde5e5b Updating to version 9.2.16-SNAPSHOT 2016-02-10 15:36:41 -07:00
Joakim Erdfelt 9b6890d3c1 Updating to version 9.2.15.v20160210 2016-02-10 14:49:12 -07:00
Simone Bordet cb79379b79 Merged branch 'jetty-9.3.x' into 'master'. 2016-02-05 18:14:56 +01:00
Simone Bordet 4a7fae30fb 486829 - Cancel stream error after a failed request with the HTTP/2.0 client.
Fixed by properly notifying the callback even when the exchange has
already been aborted.
2016-02-05 18:12:37 +01:00
Joakim Erdfelt 2aee8a7893 Merge branch 'jetty-9.3.x' 2016-02-03 14:32:53 -07:00
Greg Wilkins 6c9a444b6c 486530 - Handler added to WebAppContext prevents ServletContext initialization
Added warnings for loops and inappropriate handlers.
Used insertHandler in more XML files
2016-02-03 10:54:39 +01:00
Jan Bartel 273e87a851 Merge branch 'master' into session-refactor 2016-02-02 18:23:39 +01:00
Jan Bartel 0f19eda53d 486530 Handler added to WebAppContext prevents ServletContext initialization 2016-02-02 15:05:58 +01:00
Jan Bartel 2831674067 486530 Handler added to WebAppContext prevents ServletContext initialization 2016-02-02 15:04:22 +01:00
Jan Bartel fdf127ee19 486497 NPE in MappedLoginService 2016-02-02 10:09:48 +01:00
Jan Bartel d8c33e8dca 486497 NPE in MappedLoginService 2016-02-01 17:42:56 +01:00
Jan Bartel 599696bfc5 Merge branch 'master' into session-refactor 2016-02-01 16:57:35 +01:00
Jan Bartel 4f9abc279b Changes after merge 2016-02-01 13:59:51 +01:00