Commit Graph

1131 Commits

Author SHA1 Message Date
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 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 225c6a8086 Issue #663
Also fix javadoc; fix memcached module
2016-06-24 15:38:25 +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 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 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
Simone Bordet c0f54ab82f Increased timeouts to avoid failures on slower machines. 2016-06-14 00:26:18 +02:00
Jan Bartel 27ed0480b9 Issue #632
Remove unneeded scripts
2016-06-10 11:52:32 +10:00
Jan Bartel a6cfff8573 Issue #632 fix jmx tests to use random jetty server port 2016-06-10 11:46:15 +10:00
Jan Bartel f86d72696a Issue #622 2016-06-08 10:23:36 +10: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
Simone Bordet 061a2e85d9 Added jetty-logging.properties to debug tests. 2016-05-20 01:12:24 +02: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 1056536155 Moved HttpClientLoadTest to "tests" module to test all transports. 2016-05-06 17:10:46 +02: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 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 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
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 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
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
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 3cd568c9b1 Fixes #428 (Exception logged during HttpClientTest)
Removed printStackTrace() call.
2016-03-15 22:04:26 +01: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 d82b5ad65a Issue #411 Add more debug log for mongosessionmanager and remove debug printlns 2016-03-11 15:12:07 +11: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
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 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
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 ce5a3b11d6 Issue #367 Resolve remaining git.eclipse.org build references 2016-02-26 08:03:33 -06:00
Jan Bartel ef6d0194b9 Issue #352 Integrate session idling for MongoSessionManager 2016-02-22 15:11:54 +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 f10f32c080 478918 Change javax.servlet.error,forward,include literals to RequestDispatcher constants 2016-02-16 10:48:20 +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 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
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 2831674067 486530 Handler added to WebAppContext prevents ServletContext initialization 2016-02-02 15:04:22 +01:00
Jan Bartel d8c33e8dca 486497 NPE in MappedLoginService 2016-02-01 17:42:56 +01:00
Joakim Erdfelt 83bc83a99d 486674 - Quickstart path attribute normalization should be based on longest path match 2016-01-27 11:55:08 -07:00
Joakim Erdfelt e0ce545ad7 Updating to version 9.3.8-SNAPSHOT 2016-01-15 17:15:14 -07:00
Joakim Erdfelt c0b191119b Updating to version 9.3.7.v20160115 2016-01-15 16:40:15 -07:00
Jan Bartel dcc642c3da Rename gcloud-session-manager to jetty-gcloud-session-manager 2016-01-14 16:00:19 +11:00
Joakim Erdfelt 6e85554aad Making license header verification happy 2016-01-13 15:10:55 -07:00
Joakim Erdfelt cf9ea6e2a9 AttributeNormalizerTest failures on user.dir 2016-01-13 15:02:54 -07:00
Greg Wilkins e2a0794d91 485712 - Quickstart web.xml is absolute 2016-01-13 12:47:25 +11:00
Joakim Erdfelt cd39fd84fe Happy New Year 2016 2016-01-04 14:31:22 -07:00
Joakim Erdfelt b5db18378d Happy New Year 2016 2016-01-04 14:21:26 -07:00
Simone Bordet 24b99d4b33 Introduced factory methods for HTTP2Client and HttpClient. 2015-12-24 10:38:51 +01:00
Simone Bordet 988e596c71 484585 - Avoid sending request using a connection that is idle timing out.
Added guard to avoid that the idle timeout expires just before
sending the request.

Reworked the way idle timeouts are handled, to support the case where
the idle timeout just expired and the request can be tried on a
different connection/channel.
2015-12-18 15:56:31 +01:00
Greg Wilkins cdfa515ca3 484624 Disable CachingWebAppClassLoader 2015-12-18 14:41:19 +11:00
Simone Bordet c3889873f6 484167 - GOAWAY frames aren't handling disconnects appropriately on Client.
Fixed by overriding onClose() to listen for GOAWAY frames, and acting
appropriately.
2015-12-11 12:25:54 +01:00
Jan Bartel 25c01f7953 Reverse accidental commit of changes to test-jaas-webapp login.conf 2015-11-25 15:26:41 +11:00
Jan Bartel 6e37f4886a Refactor jaas login sequence to only fetch role data if user is authenticated according to that module. 2015-11-25 13:58:27 +11:00
Jan Bartel 648ab51afa Fixing jetty.home/base property in pom for test-jaas-webapp. 2015-11-25 08:52:48 +11:00
Joakim Erdfelt edf686fe0a Updating to version 9.3.7-SNAPSHOT 2015-11-06 12:13:00 -07:00
Joakim Erdfelt d737e1c638 Updating to version 9.3.6.v20151106 2015-11-06 11:09:32 -07:00
Joakim Erdfelt ec8f8d3e4f Updating to version 9.2.15-SNAPSHOT 2015-11-06 11:06:48 -07:00
Joakim Erdfelt ecba378f5c Updating to version 9.2.14.v20151106 2015-11-06 10:32:14 -07:00
Greg Wilkins 9e19a95d14 PushSessionCacheFilter 2015-11-05 18:40:18 +11:00
Simone Bordet 08c59628c9 Added FastCGI transport to HttpClientTransport tests. 2015-10-26 11:01:09 +01:00
Greg Wilkins 9a66395f0c Fixed demobase example xml 2015-10-26 09:45:28 +11:00
Jan Bartel 781a380fbd 480272 Update to newer jdt ecj version 2015-10-21 15:25:24 +11:00
Jan Bartel e00b56967a 479832 Use system properties for gcloud config for GCloudDatastore session manager 2015-10-15 19:43:34 +11:00
Joakim Erdfelt dde32787c4 Updating to version 9.3.6-SNAPSHOT 2015-10-12 15:47:37 -07:00
Joakim Erdfelt 29722bd880 Updating to version 9.3.5.v20151012 2015-10-12 15:10:39 -07:00
Jan Bartel 73de40921c Merge branch 'jetty-9.3.x' into gcloud-session-manager 2015-10-13 08:35:50 +11:00
Joakim Erdfelt 2cce7510e1 Updating to 9.3.5-SNAPSHOT 2015-10-08 17:49:09 -07:00
Jan Bartel 71c2d79daa Merge branch 'master' into gcloud-session-manager 2015-10-08 11:41:49 +11:00
Joakim Erdfelt 37296bec3c Updating to version 9.3.4.v20151007 2015-10-07 14:58:38 -07:00
Simone Bordet 0ca40b59c6 479277 - HttpClient with HTTP/2 transport does not work for "https" URLs.
Fixed by reworking how ClientConnectionFactories are handled by both
HTTP2Client and by HttpClientTransportOverHTTP2, to avoid that the
latter wraps the nested factories with SslConnection twice.
2015-10-07 21:39:02 +02:00
Jan Bartel dafb354d4b Ensure stale interval set for tests. 2015-10-01 17:59:45 +10:00
Jan Bartel 98c0570474 Implement scavenging and more tests. 2015-10-01 16:39:16 +10:00
Jan Bartel e5b5bea259 Create module and being gcloud datastore session tests 2015-10-01 09:41:07 +10:00
Simone Bordet 6300480c0b Forwarding HttpClient properties to HTTP2Client at startup. 2015-09-29 12:16:00 +02:00
Simone Bordet 3201d0acd2 477878 - HttpClient over HTTP/2 doesn't close upload stream.
Clarified the difference between last and consumed in HttpContent.
Fixed HTTP/2 transport to behave correctly in case of last content.
2015-09-25 19:31:40 +02:00
Simone Bordet b78fee10f5 Refactored to made it easier to use by subclasses. 2015-09-21 10:17:27 +02:00
Simone Bordet 460673f04b 477890 - Overwhelmed HTTP/2 server discards data.
HttpInput was using a bounded ArrayQueue with max capacity 64.
The queue was overflowing if there were more than 64 reads within the
flow control window capacity.

Fixed by replacing the ArrayQueue with ArrayDeque, which is unbounded.
2015-09-21 09:34:15 +02:00
Jan Bartel 03a601f2b2 477385 Make jetty osgi manifests only resolve jetty packages against a single distro version 2015-09-16 19:13:47 +10:00
Jan Bartel 35b7ef8aaa Comment out demonstration config for jsp precompilation in test-jetty-webapp. 2015-09-09 16:10:05 +10:00
Jesse McConnell 6409366499 [maven-release-plugin] prepare for next development iteration 2015-08-27 10:11:29 -05:00
Jesse McConnell 3086adc965 [maven-release-plugin] prepare release jetty-9.3.3.v20150827 2015-08-27 10:11:21 -05:00
Jesse McConnell f8734f23ce [maven-release-plugin] prepare for next development iteration 2015-08-25 14:10:01 -05:00
Jesse McConnell e9edf4c24b [maven-release-plugin] prepare release jetty-9.3.3.v20150825 2015-08-25 14:09:54 -05:00
Joakim Erdfelt 8e2b32173d Turning down logging 2015-08-14 14:48:51 -07:00
Joakim Erdfelt 6ea5b03e23 474634 - AsyncListener.onError() handling.
+ Reworking test-continuations to (hopefully) be a bit more reliable
  in its working with history assertions on slower hardware.
  Namely, the server is started, and stopped, for each testcase
  *before* the assertions of success are tested.
2015-08-14 14:48:51 -07:00
Joakim Erdfelt d1fa4583b3 Adding some output to testcase to help track down behavior seen on ci 2015-08-14 14:48:51 -07:00
Simone Bordet b819273c7b 474634 - AsyncListener.onError() handling.
Refactored continuation tests.
2015-08-14 14:48:51 -07:00
Joakim Erdfelt 173f6d8b3b Tweaking test-continuation testing to be more clear on the failure 2015-08-13 16:40:00 -07:00
Joakim Erdfelt a3684f7fb8 [maven-release-plugin] prepare for next development iteration 2015-07-30 09:47:57 -07:00
Joakim Erdfelt 798fc8118b [maven-release-plugin] prepare release jetty-9.2.13.v20150730 2015-07-30 09:47:48 -07:00
Joakim Erdfelt 4b3879845d [maven-release-plugin] prepare for next development iteration 2015-07-30 07:02:10 -07:00
Joakim Erdfelt 6b7e9ac4b0 [maven-release-plugin] prepare release jetty-9.3.2.v20150730 2015-07-30 07:02:02 -07:00
Jan Bartel 3909f45893 Ensure auth protected page in test-jaas webapp is not cached by browser 2015-07-29 14:42:16 +10:00
Jan Bartel 2e4941920b Add object as session attribute for SessionDump test servlet 2015-07-28 15:49:31 +10:00
Joakim Erdfelt 0476d4d28d Supplementing redirect rules with RedirectUtil
+ Redirect rules should produce full URI for "Location" header
+ Redirect rules should produce no response body content
2015-07-23 13:27:43 -07:00
Jesse McConnell 9b790c38ce [maven-release-plugin] prepare for next development iteration 2015-07-14 11:42:34 -05:00
Jesse McConnell b35d32f2b8 [maven-release-plugin] prepare release jetty-9.3.1.v20150714 2015-07-14 11:42:28 -05:00
Jesse McConnell 7204707902 [maven-release-plugin] prepare for next development iteration 2015-07-09 12:14:38 -05:00
Jesse McConnell 3b1533673e [maven-release-plugin] prepare release jetty-9.2.12.v20150709 2015-07-09 12:14:30 -05:00
Jan Bartel 75fc82b582 Add links to test-spec webapp for fragment static and dynamic content 2015-07-03 16:15:14 +10:00
Jesse McConnell 60e45a940e [maven-release-plugin] prepare for next development iteration 2015-06-15 15:34:11 -05:00
Jesse McConnell d3dec8d513 [maven-release-plugin] prepare release jetty-9.2.12.M0 2015-06-15 15:34:03 -05:00
Joakim Erdfelt cf6c4a914e Updating version to 9.3.1-SNAPSHOT 2015-06-15 10:25:49 -07:00
Joakim Erdfelt 1a9da9f9e4 Updating versions to 9.3.0.v20150612 2015-06-12 09:34:24 -07:00
Joakim Erdfelt 496b4dfc83 [maven-release-plugin] prepare for next development iteration 2015-06-11 15:08:36 -07:00
Joakim Erdfelt f53c5d8fac [maven-release-plugin] prepare release jetty-9.3.0.v20150611 2015-06-11 15:08:29 -07:00
Jesse McConnell bfe6c2638e [maven-release-plugin] prepare for next development iteration 2015-05-29 09:06:42 -05:00
Jesse McConnell 71e0f4d8ce [maven-release-plugin] prepare release jetty-9.2.11.v20150529 2015-05-29 09:06:36 -05:00
Jesse McConnell a7087cbfbf [maven-release-plugin] prepare for next development iteration 2015-05-28 10:06:51 -05:00
Jesse McConnell 913c63e597 [maven-release-plugin] prepare release jetty-9.2.11.v20150528 2015-05-28 10:03:44 -05:00
Simone Bordet 3323a4e88d Updated property names: sslConfig -> sslContext. 2015-05-26 18:03:55 +02:00
Joakim Erdfelt c25772e147 Fixing javadoc errors preventing release 2015-05-22 16:36:31 -07:00
Greg Wilkins bd27e7d2d4 467730 - HTTP2 requires enabled ciphers to be sorted by blacklist 2015-05-21 01:41:12 +10:00
Simone Bordet 10130afa8d Avoid to run the tests if Maven is run with the -DskipTests option. 2015-05-20 11:32:53 +02:00
Jan Bartel f6c1cc46d8 467055 Mongodb session scavenging can result in very slow query 2015-05-15 17:03:38 +10:00
Jan Bartel 3c7d550295 Ensure PurgeValidSessionTest for mongo starts with no sessions. 2015-05-15 17:02:34 +10:00