Commit Graph

1018 Commits

Author SHA1 Message Date
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 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
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
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
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 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
Jan Bartel 75fc82b582 Add links to test-spec webapp for fragment static and dynamic content 2015-07-03 16:15:14 +10: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
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
Jan Bartel 8e2011d102 464839 Add limit to MongoSessionIdManager purge queries 2015-05-15 12:17:17 +10:00
Greg Wilkins 435bed0c37 fixed import into eclipse IDE 2015-05-13 23:13:16 +10:00
Greg Wilkins 3e0b95be4f 430951 Support SNI with ExtendedSslContextFactory
made ExtendedSslContextFactory work with non SNI keystore
2015-05-08 12:06:20 +10:00
Greg Wilkins 5d041ad54f 466645 Allow XmlConfiguration Properties to use Elements or Attributes 2015-05-07 16:24:11 +10:00
Greg Wilkins 37b4ba00b1 Merge remote-tracking branch 'origin/jetty-9.2.x' 2015-05-06 17:14:22 +10:00
Greg Wilkins f4d6f49d2f 466329 Fixed local only TestFilter 2015-05-06 14:32:06 +10:00
Greg Wilkins ad16f0c334 fixed test integration to use example-keystore 2015-05-01 19:32:16 +10:00
Jan Bartel e30c05cc2b Merge remote-tracking branch 'origin/jetty-9.2.x'
Conflicts:
	tests/test-integration/src/test/java/org/eclipse/jetty/test/support/TestableJettyServer.java
	tests/test-integration/src/test/resources/BIOHttp.xml
	tests/test-integration/src/test/resources/BIOHttps.xml
	tests/test-integration/src/test/resources/NIOHttp.xml
	tests/test-integration/src/test/resources/NIOHttps.xml
2015-04-30 10:44:44 +10:00
Greg Wilkins d5c95a1302 465747 - Jetty is failing to process all HTTP OPTIONS requests.
The Server handleOptions method was handling all OPTIONS * requests with a blank 200 response.
This has been fixed so that this method only checks that * URI is only applied to OPTIONS method.
2015-04-29 14:01:20 +10:00
Jan Bartel 184c4d4af8 464564 NoSql sessions created inside a forward not persisted correctly 2015-04-23 14:27:11 +10:00
Joakim Erdfelt 4db2784354 464727 - Update Javadoc for Java 8 DocLint 2015-04-22 16:54:50 -07:00
Greg Wilkins 9eb2cb4c0f 446564 Refactored RequestLog Mechanism
reverted API
2015-04-22 10:37:39 +10:00
Simone Bordet 599ab9bb1b 460671 - Rationalize property names.
Property format is now "jetty.<module|component>.<propertyName>".

Updated all references with new properties.
2015-04-13 16:21:48 +02:00