Joakim Erdfelt
57ef060325
Issue #2936 - Allow Dispatcher.error() to work for BadMessageException
...
+ Applying fixes from review
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-10-02 08:39:05 -05:00
Joakim Erdfelt
fe66e3d0cb
Issue #2936 - Allow Dispatcher.error() to work for BadMessageException
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-10-01 10:43:57 -05:00
Joakim Erdfelt
b3739f42b8
Issue #2936 - Improving testcase to replicate reported scenario as described
2018-09-30 07:01:06 -05:00
Greg Wilkins
c3ca4b7ee9
Issue #2936 Test bad message error page
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-09-28 15:29:32 +10:00
Jan Bartel
c165d07492
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2018-09-26 12:13:31 +10:00
Jan Bartel
5593e5b479
Jetty 9.4.x 2903 delay listener instantiation ( #2930 )
...
* Issue #2903 Ensure listeners not instantiated for quickstart gen
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-09-26 11:27:57 +10:00
olivier lamy
5e8a7403d1
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2018-09-22 20:11:03 +10:00
Olivier Lamy
71a1801433
Issue #2918 restore a TestTracker with junit5 ( #2927 )
...
* add TestTracker junit5 extension #2918
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-21 14:03:05 +10:00
Greg Wilkins
a9566d429c
Issue #2912 Remove Content-Length from inflated requests ( #2915 )
...
Issue #2912 Remove Content-Length from inflated requests
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-09-21 07:44:53 +10:00
olivier lamy
32912b922d
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2018-09-06 17:39:57 +10:00
olivier lamy
1504b7da93
Revert "Issue #2431 - Upgrade to Junit 5 ( #2436 )"
...
This reverts commit e24fc48539
.
2018-09-06 09:27:11 +10:00
Joakim Erdfelt
e24fc48539
Issue #2431 - Upgrade to Junit 5 ( #2436 )
...
+ Changes needed for new Junit 5
+ Migrating from Vintage junit API to Jupiter junit API
+ Relies on SNAPSHOT jetty-test-helper
- this will be a formal release once this issue has been
resolved satisfactory
+ Have jenkins always pull latest SNAPSHOT for each build
+ Adding jetty.snapshots repository
+ Using surefire 2.22.0 per advice from junit
+ Ensuring <reuseForks>true</reuseForks> to work around issue junit-team/junit5#801
+ Disabling <forkMode>always</forkMode> in maven-surefire-plugin
due to bug https://github.com/junit-team/junit5/issues/801
+ OSGi tests must remain at vintage due to PaxExam
+ Moving from vintage TestingDir to jupiter WorkDir
+ Fixing imports to use jupiter, not vintage
+ Migrating vintage ExpectedException to jupiter assertThrows
+ Migrating vintage TestName to jupiter TestInfo
+ Migrating @RunWith(Parameterized.class)
to @ParameterizedTest with Argument Sources
+ Migrating assertTrue(val.contains(needle))
to assertThat(val, containsString(needle))
+ Aligning junit versions per recommendations from @sormuras
+ Adjusting parameter order change for assertEquals()
+ Test LifeCycle Annotation Migration
junit 4 | junit 5 / jupiter
------------ | -----------
@Before | @BeforeEach
@After | @AfterEach
@BeforeClass | @BeforeAll
@AfterClass | @AfterAll
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-05 21:27:18 +10:00
Joakim Erdfelt
a3f1592c50
Issue #2431 - Upgrade to Junit 5 ( #2436 )
...
+ Changes needed for new Junit 5
+ Migrating from Vintage junit API to Jupiter junit API
+ Relies on SNAPSHOT jetty-test-helper
- this will be a formal release once this issue has been
resolved satisfactory
+ Have jenkins always pull latest SNAPSHOT for each build
+ Adding jetty.snapshots repository
+ Using surefire 2.22.0 per advice from junit
+ Ensuring <reuseForks>true</reuseForks> to work around issue junit-team/junit5#801
+ Disabling <forkMode>always</forkMode> in maven-surefire-plugin
due to bug https://github.com/junit-team/junit5/issues/801
+ OSGi tests must remain at vintage due to PaxExam
+ Moving from vintage TestingDir to jupiter WorkDir
+ Fixing imports to use jupiter, not vintage
+ Migrating vintage ExpectedException to jupiter assertThrows
+ Migrating vintage TestName to jupiter TestInfo
+ Migrating @RunWith(Parameterized.class)
to @ParameterizedTest with Argument Sources
+ Migrating assertTrue(val.contains(needle))
to assertThat(val, containsString(needle))
+ Aligning junit versions per recommendations from @sormuras
+ Adjusting parameter order change for assertEquals()
+ Test LifeCycle Annotation Migration
junit 4 | junit 5 / jupiter
------------ | -----------
@Before | @BeforeEach
@After | @AfterEach
@BeforeClass | @BeforeAll
@AfterClass | @AfterAll
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-09-05 10:07:17 +10:00
WalkerWatch
90f15f278b
9.4.x->10.0.x
2018-08-27 22:58:01 -04:00
Jan Bartel
09be34e08b
Issue #2844 Clean up webdefault and DefaultServlet documentation ( #2851 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-08-28 09:53:06 +10:00
Simone Bordet
5b5f2fcf5f
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2018-08-27 10:29:12 +02:00
Greg Wilkins
bd143a674b
Issue #2787 BadMessage if bad query detected in dispatcher ( #2827 )
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-08-22 08:29:12 +10:00
Greg Wilkins
04cbb13ad3
Issue #2787 BadMessage if bad query detected in dispatcher
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-08-18 11:52:28 +10:00
WalkerWatch
b249021b6d
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2018-08-07 21:18:25 -04:00
Joakim Erdfelt
d11d611542
Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x
2018-08-07 15:59:55 -05:00
Joakim Erdfelt
7ad182fbcf
Issue #2780 - making servlet output reliable for EOL
2018-08-07 15:59:42 -05:00
Jan Bartel
88d1ead25b
Issue #2754 Only instantiate listener if it will be used ( #2763 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-08-07 12:23:09 +10:00
Joakim Erdfelt
9390c2df3f
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2018-08-06 09:04:58 -05:00
Greg Wilkins
d6b7f8d71f
Merge pull request #2729 from lachlan-roberts/jetty-9.4.x-2706-ResourceService
...
Issue #2706 - Resource Service Incorrectly Returning 404
2018-07-20 15:29:09 +02:00
Lachlan Roberts
8444681880
Issue #2706 - Resource Service Incorrectly Returning 404
...
changes from review
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-07-20 21:30:00 +10:00
Greg Wilkins
cf3681ef56
Issue #1688 Encoded form content ( #2733 )
...
* Issue #1688 Encoded form content
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* fixes from review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-07-20 09:30:36 +02:00
Joakim Erdfelt
30f6132117
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2018-07-03 10:55:22 -05:00
Greg Wilkins
346879f2a5
Merge pull request #2664 from mperktold/jetty-9.4.x
...
Issue #2662 Unnecessary boxing conversions
2018-06-13 22:52:27 +02:00
Matthias Perktold
f901efc413
Issue #2662 - Unnecessary boxing conversions
...
Signed-off-by: Matthias Perktold <tias251@gmail.com>
2018-06-13 16:20:12 +02:00
Joakim Erdfelt
0cd4dacbac
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
# Conflicts:
# VERSION.txt
# aggregates/jetty-all-compact3/pom.xml
# aggregates/jetty-all/pom.xml
# apache-jsp/pom.xml
# apache-jstl/pom.xml
# examples/async-rest/async-rest-jar/pom.xml
# examples/async-rest/async-rest-webapp/pom.xml
# examples/async-rest/pom.xml
# examples/embedded/pom.xml
# examples/pom.xml
# jetty-alpn/jetty-alpn-client/pom.xml
# jetty-alpn/jetty-alpn-conscrypt-client/pom.xml
# jetty-alpn/jetty-alpn-conscrypt-server/pom.xml
# jetty-alpn/jetty-alpn-java-client/pom.xml
# jetty-alpn/jetty-alpn-java-server/pom.xml
# jetty-alpn/jetty-alpn-openjdk8-client/pom.xml
# jetty-alpn/jetty-alpn-openjdk8-server/pom.xml
# jetty-alpn/jetty-alpn-server/pom.xml
# jetty-alpn/pom.xml
# jetty-annotations/pom.xml
# jetty-ant/pom.xml
# jetty-bom/pom.xml
# jetty-cdi/cdi-2/pom.xml
# jetty-cdi/cdi-core/pom.xml
# jetty-cdi/cdi-full-servlet/pom.xml
# jetty-cdi/cdi-servlet/pom.xml
# jetty-cdi/cdi-websocket/pom.xml
# jetty-cdi/pom.xml
# jetty-cdi/test-cdi-webapp/pom.xml
# jetty-client/pom.xml
# jetty-continuation/pom.xml
# jetty-deploy/pom.xml
# jetty-distribution/pom.xml
# jetty-documentation/pom.xml
# jetty-fcgi/fcgi-client/pom.xml
# jetty-fcgi/fcgi-server/pom.xml
# jetty-fcgi/pom.xml
# jetty-gcloud/jetty-gcloud-session-manager/pom.xml
# jetty-gcloud/pom.xml
# jetty-hazelcast/pom.xml
# jetty-home/pom.xml
# jetty-http-spi/pom.xml
# jetty-http/pom.xml
# jetty-http2/http2-alpn-tests/pom.xml
# jetty-http2/http2-client/pom.xml
# jetty-http2/http2-common/pom.xml
# jetty-http2/http2-hpack/pom.xml
# jetty-http2/http2-http-client-transport/pom.xml
# jetty-http2/http2-server/pom.xml
# jetty-http2/pom.xml
# jetty-infinispan/pom.xml
# jetty-io/pom.xml
# jetty-jaas/pom.xml
# jetty-jaspi/pom.xml
# jetty-jmx/pom.xml
# jetty-jndi/pom.xml
# jetty-jspc-maven-plugin/pom.xml
# jetty-maven-plugin/pom.xml
# jetty-memcached/jetty-memcached-sessions/pom.xml
# jetty-memcached/pom.xml
# jetty-nosql/pom.xml
# jetty-osgi/jetty-osgi-alpn/pom.xml
# jetty-osgi/jetty-osgi-boot-jsp/pom.xml
# jetty-osgi/jetty-osgi-boot-warurl/pom.xml
# jetty-osgi/jetty-osgi-boot/pom.xml
# jetty-osgi/jetty-osgi-httpservice/pom.xml
# jetty-osgi/pom.xml
# jetty-osgi/test-jetty-osgi-context/pom.xml
# jetty-osgi/test-jetty-osgi-fragment/pom.xml
# jetty-osgi/test-jetty-osgi-server/pom.xml
# jetty-osgi/test-jetty-osgi-webapp/pom.xml
# jetty-osgi/test-jetty-osgi/pom.xml
# jetty-plus/pom.xml
# jetty-proxy/pom.xml
# jetty-quickstart/pom.xml
# jetty-rewrite/pom.xml
# jetty-runner/pom.xml
# jetty-security/pom.xml
# jetty-server/pom.xml
# jetty-server/src/main/config/etc/jetty-http.xml
# jetty-server/src/main/config/etc/jetty-ssl.xml
# jetty-servlet/pom.xml
# jetty-servlets/pom.xml
# jetty-spring/pom.xml
# jetty-start/pom.xml
# jetty-unixsocket/pom.xml
# jetty-util-ajax/pom.xml
# jetty-util/pom.xml
# jetty-util/src/main/java/org/eclipse/jetty/util/MultiException.java
# jetty-util/src/test/java/org/eclipse/jetty/util/MultiExceptionTest.java
# jetty-webapp/pom.xml
# jetty-websocket/javax-websocket-client-impl/pom.xml
# jetty-websocket/javax-websocket-server-impl/pom.xml
# jetty-websocket/javax-websocket-server-impl/src/main/java/org/eclipse/jetty/websocket/jsr356/server/AnnotatedServerEndpointConfig.java
# jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/TrackingSocket.java
# jetty-websocket/pom.xml
# jetty-websocket/websocket-api/pom.xml
# jetty-websocket/websocket-client/pom.xml
# jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/ClientCloseTest.java
# jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/ClientConnectTest.java
# jetty-websocket/websocket-common/pom.xml
# jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/extensions/compress/ByteAccumulator.java
# jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/extensions/compress/CompressExtension.java
# jetty-websocket/websocket-common/src/test/java/org/eclipse/jetty/websocket/common/WebSocketRemoteEndpointTest.java
# jetty-websocket/websocket-server/pom.xml
# jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/WebSocketUpgradeFilterTest.java
# jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/misbehaving/MisbehavingClassTest.java
# jetty-websocket/websocket-servlet/pom.xml
# jetty-websocket/websocket-tests/src/test/java/org/eclipse/jetty/websocket/tests/extensions/FragmentExtensionTest.java
# jetty-websocket/websocket-tests/src/test/java/org/eclipse/jetty/websocket/tests/jsr356/sockets/pong/PongContextListener.java
# jetty-websocket/websocket-tests/src/test/java/org/eclipse/jetty/websocket/tests/server/jsr356/ConfiguratorTest.java
# jetty-xml/pom.xml
# pom.xml
# tests/pom.xml
# tests/test-continuation/pom.xml
# tests/test-http-client-transport/pom.xml
# tests/test-integration/pom.xml
# tests/test-jmx/jmx-webapp-it/pom.xml
# tests/test-jmx/jmx-webapp/pom.xml
# tests/test-jmx/pom.xml
# tests/test-loginservice/pom.xml
# tests/test-quickstart/pom.xml
# tests/test-sessions/pom.xml
# tests/test-sessions/test-file-sessions/pom.xml
# tests/test-sessions/test-gcloud-sessions/pom.xml
# tests/test-sessions/test-hazelcast-sessions/pom.xml
# tests/test-sessions/test-infinispan-sessions/pom.xml
# tests/test-sessions/test-jdbc-sessions/pom.xml
# tests/test-sessions/test-memcached-sessions/pom.xml
# tests/test-sessions/test-mongodb-sessions/pom.xml
# tests/test-sessions/test-sessions-common/pom.xml
# tests/test-webapps/pom.xml
# tests/test-webapps/test-http2-webapp/pom.xml
# tests/test-webapps/test-jaas-webapp/pom.xml
# tests/test-webapps/test-jetty-webapp/pom.xml
# tests/test-webapps/test-jndi-webapp/pom.xml
# tests/test-webapps/test-mock-resources/pom.xml
# tests/test-webapps/test-proxy-webapp/pom.xml
# tests/test-webapps/test-servlet-spec/pom.xml
# tests/test-webapps/test-servlet-spec/test-container-initializer/pom.xml
# tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml
# tests/test-webapps/test-servlet-spec/test-web-fragment/pom.xml
# tests/test-webapps/test-webapp-rfc2616/pom.xml
2018-06-12 11:11:38 -05:00
Simone Bordet
4f1dd352d6
Issue #2468 - Remove SoLinger. ( #2644 )
...
* Issue #2468 - Remove SoLinger.
For non-blocking sockets, StandardSocketOptions#SO_LINGER javadocs
report that the behavior is undefined. In JDK 11 setting SoLinger
for non-blocking sockets will be ignored.
As such, there is no point in allowing SoLinger to be configured
in Jetty that only uses non-blocking sockets.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-06-09 13:21:24 +02:00
Joakim Erdfelt
53e8bc2a63
Backport of issue #2560 fixes to jetty-9.3.x
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-31 12:43:17 -05:00
Joakim Erdfelt
c4bcc4005a
Merge branch 'jetty-9.4.x-issue-2560-pathresource-exceptions' of github.com:eclipse/jetty.project into jetty-9.4.x-issue-2560-pathresource-exceptions
2018-05-31 11:32:24 -05:00
Joakim Erdfelt
ad4dceb1c0
Issue #2560 - Moving InvalidPath logic from PathResource to ResourceContentFactory
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-31 11:31:36 -05:00
Joakim Erdfelt
c36390967f
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-issue-2560-pathresource-exceptions
2018-05-31 10:15:11 -05:00
Jan Bartel
0f23af315c
Issue #2599 Fix AsyncServletIOTest
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-05-30 18:15:04 +02:00
Joakim Erdfelt
be61fabc63
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-issue-2560-pathresource-exceptions
2018-05-29 12:09:07 -05:00
Greg Wilkins
d3b81e5372
Fix for #2583
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-29 12:41:19 +02:00
Greg Wilkins
2bcc528920
expand spruious tabs in java sources
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-29 10:40:09 +02:00
Joakim Erdfelt
65de2c6690
Issue #2560 - Review of PathResource exception handling
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-22 10:30:30 -05:00
Greg Wilkins
252ab9facf
Jetty 9.4.x 2550 coalesce ranges ( #2551 )
...
Issue #2550 coalesce ranges
Author: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-18 08:45:54 +10:00
Joakim Erdfelt
8763c6065d
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2018-04-20 11:32:46 -05:00
Olivier Lamy
f36eba4577
class.newInstance is deprecated #2435 ( #2437 )
...
* Class.newInstance() is deprecated in Java 9+ #2435
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-17 19:07:20 +10:00
Joakim Erdfelt
1c04f9838d
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x-fixed
2018-03-22 16:42:42 -05:00
WalkerWatch
534b8ea38b
Add edit warning for .mod files. Resolves #173
2018-03-15 13:23:42 -04:00
Greg Wilkins
a933456089
update etags for all methods #1416
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-13 14:07:37 +11:00
Greg Wilkins
bcb9fa3b32
Merge pull request #2257 from lachlan-roberts/jetty-9.4.x-2206-ReferenceEquality
...
Resolved errorprone ReferenceEquality warnings #2206
2018-03-07 11:11:40 +11:00
Joakim Erdfelt
e3e3f9eb0b
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x-fixed
2018-03-06 11:16:25 -06:00
Lachlan Roberts
a639ee9275
Resolved errorprone MissingOverride warnings #2206
...
`@Override` was added to methods which were missing the annotation #2206
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-01 13:59:25 +11:00
Lachlan Roberts
0cfc25d4ed
Resolved errorprone ReferenceEquality warnings #2206
...
Objects which inherit or implement an `equals()` method should not be compared with == or !=
When the comparison of references is intentional `@SuppressWarnings("ReferenceEquality")` can be used
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-02-28 14:26:02 +11:00
Greg Wilkins
ec9827bb35
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2018-01-11 16:57:33 +01:00
Greg Wilkins
8b7480f088
Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes
2018-01-10 22:25:49 +01:00
Joakim Erdfelt
d5a0878019
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2018-01-09 10:08:30 -06:00
Joakim Erdfelt
21365234f8
Issue #2108 - Updating license headers for year 2018
2018-01-09 09:44:41 -06:00
Joakim Erdfelt
41ed9f29f4
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2018-01-09 09:37:25 -06:00
Joakim Erdfelt
fa4c7b0ca9
Issue #2108 - Updating license headers for year 2018
2018-01-09 08:39:37 -06:00
Joakim Erdfelt
067fc5d2d8
Issue #2108 - Upgrade licenses for 2018
2018-01-09 07:42:06 -06:00
Greg Wilkins
54f49dec7d
Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes
2018-01-09 13:32:19 +01:00
Greg Wilkins
45e3abbdcf
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2018-01-09 13:17:32 +01:00
olivier lamy
2a89f23a46
javadoc fixes #2056 greg review
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-01-08 11:22:20 +11:00
olivier lamy
e07ba49283
more javadoc fixes #2056
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-12-29 11:07:51 +11:00
Greg Wilkins
22beb1d02a
Updated tests to use _LEGACY modes
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-27 14:16:23 +01:00
Greg Wilkins
7e516e29fb
pass existing compliance tests
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-24 18:00:03 +01:00
Jan Bartel
78a2c8c6d2
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-12-06 15:46:49 +01:00
Greg Wilkins
5ce07dddd6
#2006 Use a NOOP to allow unhandle to cope with stolen read ( #2009 )
...
#2006 Use a NOOP to allow unhandle to cope with stolen read
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-12-02 12:14:43 +01:00
Jan Bartel
b1c80ba231
Issue #1986 ServletContextHandler.Context addListener() methods support session listeners ( #2000 )
...
* Issue #1986 Support session listeners in ServletContextHandler.addEventListener method.
Signed-off-by: Jan Bartel <janb@webtide.com>
2017-11-30 15:03:37 +01:00
Greg Wilkins
d4061fcfeb
Issue #1966 Case Sensitive method (PR #1967 )
...
Issue #1966 Case Sensitive method (PR #1967 )
* Modified the compliance violations to warn if case insensitivety is applied to a header
* removed duplicated if
* Fixed string comparison
* Improved compliance messages and comments
* updated expected violation messages
* Require a header colon only when in 7230 compliance mode
2017-11-29 18:56:54 +01:00
Jan Bartel
d81b835ad0
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-09-27 12:19:54 +10:00
Greg Wilkins
a7891b2f52
Issue #1841 reduce ServletHolder contention
2017-09-26 16:40:49 +10:00
Greg Wilkins
6ef618e8cf
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-09-23 09:22:41 +10:00
Greg Wilkins
86c6caf608
Issue #1841 reduce ServletHolder contention
2017-09-23 08:47:45 +10:00
Jan Bartel
925ceda005
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-08-16 15:13:09 +10:00
Greg Wilkins
c843b809f0
Fixed #1737 DefaultServlet wrong welcome dispatcher using non-root URL path
...
If operating in pathInfoOnly mode, prepend the serlvet path to the welcome path
2017-08-16 09:54:52 +10:00
Joakim Erdfelt
12e61bf973
Making tests more reliable on lesser FileSystems
2017-08-08 09:14:11 -07:00
Greg Wilkins
c9a1395f08
Issue #1618 Async dispatch encoded passed URI
2017-08-08 09:13:43 -07:00
Joakim Erdfelt
61904052f4
Issue #1618 - new testcase for startAsync(req,resp).dispatch() behavior with regards to URL/URI
2017-08-08 09:13:41 -07:00
Joakim Erdfelt
8c96fdde4c
Issue #1618 - updating testcase expectations for getPathInfo to match javadoc
2017-08-08 09:13:41 -07:00
Joakim Erdfelt
4556680ddb
Issue #1618 - adding testcase to verify AsyncContext dispatch encoding
2017-08-08 09:13:40 -07:00
Joakim Erdfelt
11f2cc5294
Updating test to use HttpTester
2017-08-08 09:13:39 -07:00
Greg Wilkins
e7ef74dd4f
removed deprecated test method usage
2017-08-08 09:10:25 -07:00
Greg Wilkins
58a4d9e115
Fixes #1592 bad compressed etag comparison
2017-08-08 09:10:25 -07:00
Greg Wilkins
34b25ff385
Issue #1676 removed deprecated PathMap
2017-07-18 19:59:07 +02:00
Greg Wilkins
79cafb37a0
Issue #1676 Removed deprecated module jetty-continuations
2017-07-18 15:42:14 +02:00
Joakim Erdfelt
a9c329859d
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-07-12 13:18:12 -07:00
Joakim Erdfelt
bb9a05d9fe
Making tests more reliable on lesser FileSystems
2017-06-29 09:57:28 -07:00
Greg Wilkins
23c8e64fd8
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-06-21 14:40:13 +02:00
Greg Wilkins
90e5b5603b
Issue #1618 Async dispatch encoded passed URI
2017-06-21 10:28:26 +02:00
Joakim Erdfelt
579b99c2c9
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-06-20 08:43:51 -07:00
Joakim Erdfelt
166b4b9e47
Issue #1618 - new testcase for startAsync(req,resp).dispatch() behavior with regards to URL/URI
2017-06-19 13:38:19 -07:00
Joakim Erdfelt
2416430527
Issue #1618 - updating testcase expectations for getPathInfo to match javadoc
2017-06-19 08:39:39 -07:00
Joakim Erdfelt
59e919bfe5
Issue #1618 - adding testcase to verify AsyncContext dispatch encoding
2017-06-19 08:33:12 -07:00
Joakim Erdfelt
166f44fad2
Updating test to use HttpTester
2017-06-19 08:23:56 -07:00
Greg Wilkins
10bb8c3605
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-06-06 12:27:52 +02:00
Greg Wilkins
c4ae7ab8d9
removed deprecated test method usage
2017-06-06 12:27:21 +02:00
Greg Wilkins
269f9643f0
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-06-06 10:44:39 +02:00
Greg Wilkins
26e8d18a42
Fixes #1592 bad compressed etag comparison
2017-06-06 10:06:48 +02:00
Greg Wilkins
cbe857de01
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-05-11 10:08:36 +02:00
Greg Wilkins
b0edf18ad9
Issues #1538 #1435
...
Get base content type directly rather than through Type which maybe null
2017-05-08 15:31:00 +02:00
Greg Wilkins
3495525fe1
Isssue #1530 Do not check for broken final content, only for no last chunk
2017-05-03 20:26:02 +02:00
Greg Wilkins
ce8342f12a
Updated to latest servlet 4.0 draft
2017-05-03 11:04:57 +02:00
Simone Bordet
cab1ec77ad
Merged branch 'jetty-9.4.x' into 'master'.
2017-05-02 10:03:30 +02:00
Greg Wilkins
5493c9e596
Refactor ServletHandler to add getMappedServlet method ( #1519 )
2017-05-01 16:38:55 +02:00
Greg Wilkins
68caf72835
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-05-01 13:30:41 +02:00
Greg Wilkins
5e5d650b05
Issue #1500
2017-04-26 16:02:18 +02:00
Joakim Erdfelt
e5b5a3c4ee
Issue #1500 - adding testcase
2017-04-24 12:42:57 -07:00
Greg Wilkins
63ff4af6b8
improved unit test
2017-04-21 15:21:04 +10:00
Greg Wilkins
02276974a8
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-04-20 13:19:28 +10:00
Greg Wilkins
2f04b0f869
Fix #1487
2017-04-20 11:38:28 +10:00
Greg Wilkins
f5631a9f1b
Fix #1486
2017-04-20 09:38:50 +10:00
Greg Wilkins
c4f2be4cfa
Issue #1454 convenience methods
2017-04-11 10:09:33 +10:00
Greg Wilkins
dd084b4e74
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-03-30 17:20:22 +11:00
Greg Wilkins
781c5750d9
Test for #1435
2017-03-30 11:31:53 +11:00
Joakim Erdfelt
c5c7be2bc5
Merge branch 'jetty-9.4.x'
2017-02-02 16:23:13 -07:00
Joakim Erdfelt
5e57b9562f
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2017-02-02 16:14:10 -07:00
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
Simone Bordet
cef2ff9522
Happy New Year 2017.
2017-01-19 19:31:53 +01: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
46668d5a66
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-01-19 13:54:22 +11:00
Jan Bartel
1ecaac9383
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-01-19 13:53:51 +11:00
Jan Bartel
edfd05dd9c
Issue #1268
...
Add unit tests, tweak log and error messages, fix bug.
2017-01-19 13:49:50 +11:00
Greg Wilkins
80163993aa
Merge remote-tracking branch 'origin/jetty-9.4.x'
2017-01-18 15:24:26 +11:00
Greg Wilkins
2a3c367f55
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-01-18 15:21:05 +11:00
Jan Bartel
69afe33b82
Issue #1268
2017-01-18 15:16:52 +11:00
Simone Bordet
b7b3dfdc77
Merged branch 'jetty-9.4.x' into 'master'.
2017-01-12 17:53:09 +01:00
Greg Wilkins
611e79945c
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-01-11 18:10:50 +11:00
Greg Wilkins
36dcf47f18
Issue #1234 onBadMessage
...
Added a boolean to determine if headerComplete has been called, and if so then earlyEOF is called
2017-01-11 17:36:04 +11:00
Joakim Erdfelt
fa6d9029fc
Merge branch 'jetty-9.4.x'
2016-11-15 14:30:19 -07: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
6781a949b1
Issue#1066 Simplify HttpGeneration
...
Reduce the transformations needed on header fields, so they can be more often
set directly and no need to split and recombine.
The Content-Length field is added IF it is needed for framing or if it was explicitly set
The Transfer-Encoding: chunk field is used only as a hint that there is content.
Connection fields are used as is, but are checked for close and keep-alive
2016-11-03 16:55:33 +11:00
Jan Bartel
dfdd324bc8
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-11-03 10:56:35 +11:00
Jan Bartel
f3f31d163c
Issue #1050
...
Add check for duplicate FilterHolder,ServletHolder objects
2016-11-03 10:55:02 +11:00
Jan Bartel
1a6dd7615d
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-11-02 17:33:35 +11:00
Jan Bartel
8461cc07b3
Issue #1050
2016-11-02 17:32:55 +11:00
Simone Bordet
69aa9d77ee
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-10-28 12:15:14 +02:00
Simone Bordet
206122756f
Fixes #1037 - Don't execute AsyncListener.onTimeout events in spare Scheduler-Thread.
...
Now calling onTimeout() from pooled threads.
Restored AsyncListener test cases.
2016-10-28 12:01:39 +02:00
Denis Bardadym
8eb56edc8a
Fix typo in DefaultServlet ( #988 )
...
Fixes #952
Signed-off-by: Denis Bardadym <bardadymchik@gmail.com>
2016-10-14 14:18:16 +11:00
Jan Bartel
15be8d206a
Merge remote-tracking branch 'origin/jetty-9.4.x'
2016-10-13 15:27:59 +11:00
Jan Bartel
8e4c595b52
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-10-13 15:26:48 +11:00
Jan Bartel
5a85c33e6e
Issue #1000
...
Refine warning message.
2016-10-13 15:25:45 +11:00
Jan Bartel
6a2316fb23
Merge remote-tracking branch 'origin/jetty-9.4.x'
2016-10-13 15:21:51 +11:00
Jan Bartel
457c66c58d
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-10-13 15:21:17 +11:00
Jan Bartel
37ec4160bb
Issue #1000
2016-10-13 15:06:47 +11:00
Greg Wilkins
be1726e251
Merge remote-tracking branch 'origin/jetty-9.4.x'
2016-10-05 13:51:03 +11: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
Simone Bordet
79889f05f5
Merged branch 'jetty-9.4.x' into 'master'.
2016-09-26 12:21:05 +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
f3b3d4a2ff
Merged branch 'jetty-9.4.x' into 'master'.
2016-09-22 21:57:46 +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
1f92ba2112
Code cleanup.
2016-09-22 21:28:09 +02:00
Simone Bordet
4f533f39be
Merged branch 'jetty-9.4.x' into 'master'.
2016-09-16 10:38:25 +02:00
Simone Bordet
82aec3986e
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-09-16 10:37:45 +02:00
Olivier Lamy
1bf87b317b
Add support of a query param to reset stats of StatisticsHandler tru StatisticsServlet ( #919 )
...
StatisticsServlet: support a new parameter to be able to reset stats
Signed-off-by: olivier lamy <olamy@webtide.com>
2016-09-16 10:36:33 +02:00
Simone Bordet
eb78d5e2c3
Merged branch 'jetty-9.4.x' into 'master'.
...
Removed deprecated ConnectorStatistics class and its usages.
2016-09-14 17:28:51 +02:00
Simone Bordet
14e000428f
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-09-14 17:26:00 +02:00
Simone Bordet
cb89ea8466
Fixes #131 - Improve Connector Statistic names and values.
...
Removed references to deprecated ConnectorStatistic in favor of
ConnectionStatistics.
2016-09-14 17:24:45 +02:00
Greg Wilkins
26cfaa2efb
Merge remote-tracking branch 'origin/jetty-9.4.x'
2016-09-14 18:29:28 +10:00
Greg Wilkins
ea08a6db72
Issue #911
...
Fix spec compliance, return HttpServletRequest.getContextPath as encoded.
2016-09-14 18:28:02 +10:00
Jan Bartel
44fa57b38a
Merge remote-tracking branch 'origin/jetty-9.4.x'
2016-09-09 16:39:16 +10:00
Greg Wilkins
b6a39cf7d3
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-09-09 10:13:38 +10:00
Greg Wilkins
68340a94d0
Issue #911 encode requestURI in startAsync(req,res)
2016-09-09 10:12:08 +10:00
Greg Wilkins
0c0d47055c
Merge remote-tracking branch 'origin/jetty-9.4.x'
2016-09-09 09:22:39 +10:00
Greg Wilkins
b408786b9a
Issue #911 encode requestURI in startAsync(req,res)
2016-09-09 09:20:24 +10:00
Greg Wilkins
4312995d89
Issue #911 encode requestURI in startAsync(req,res)
2016-09-09 09:19:01 +10:00
Greg Wilkins
ebec811427
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-09-09 09:10:48 +10:00
Greg Wilkins
1247380976
Issue #911 encode requestURI in startAsync(req,res)
2016-09-09 09:09:51 +10:00
Greg Wilkins
e29aa306cf
Merge remote-tracking branch 'origin/jetty-9.4.x'
2016-09-08 15:03:31 +10:00
Greg Wilkins
a6512c991b
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-09-08 15:03:10 +10:00
Greg Wilkins
f7d017ca1a
Issue #911 encode requestURI in startAsync(req,res)
2016-09-08 15:00:54 +10:00
Jan Bartel
4639aeb536
Merge remote-tracking branch 'origin/jetty-9.4.x'
2016-09-02 15:45:48 +10:00
Jan Bartel
30bf3febdc
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-09-02 15:45:15 +10:00
Jan Bartel
58c3b30f9e
Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x
2016-09-02 15:43:31 +10:00
Jan Bartel
9e74080f8b
Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x
2016-09-02 15:42:48 +10:00
Greg Wilkins
32f1b30901
Merge remote-tracking branch 'origin/jetty-9.4.x'
2016-09-02 14:58:08 +10:00
Greg Wilkins
25574d2843
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-09-02 14:57:44 +10:00
Greg Wilkins
1f7c5a5b20
Issue #898
...
Added addCSV method to HttpFields to more efficiently add values to a CSV field without duplicates.
Improved usage of QuotedCSV and removed older parsing
Used new method in GazipHttpOutPutInterceptor to avoid duplicate Vary fields
2016-09-02 14:57:13 +10:00
Jan Bartel
0d6667dc9f
Issue #894
2016-09-02 13:50:25 +10:00
Greg Wilkins
7d4a509462
Merge remote-tracking branch 'origin/jetty-9.4.x'
2016-07-28 18:45:47 +10:00
Greg Wilkins
a415e72e2d
Fixed Debug NPE #754
...
Fixed the fix
2016-07-28 18:29:21 +10:00
Joakim Erdfelt
a0d866687f
Merge branch 'jetty-9.4.x'
2016-07-25 17:03:11 -07:00
Joakim Erdfelt
87c8e1c019
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-07-25 17:02:51 -07:00
Greg Wilkins
e53ea55f48
Issue #752 SETTINGS_MAX_HEADER_LIST_SIZE
...
Defined missing status codes (removed old/wrong javadoc)
Changed use of 413 to 431
Received SETTINGS_MAX_HEADER_LIST_SIZE is set on hpack encoded and warning generated only for large responses.
2016-07-23 12:17:50 +10:00
Greg Wilkins
53c07a5a83
Servlet 4.0 getMappings rough implementation #746
2016-07-20 13:58:19 +10:00
Simone Bordet
491be7505b
Merged branch 'jetty-9.4.x' into 'master'.
2016-07-19 10:34:59 +02:00
Greg Wilkins
86ff9f984d
fixed noisy/broken tests
2016-07-19 15:16:14 +10:00
Simone Bordet
a1cc30c751
Merged branch 'jetty-9.4.x' into 'master'.
2016-07-15 18:12:46 +02:00
Simone Bordet
6adb5eb031
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-07-15 18:12:02 +02:00
Simone Bordet
0433a8ca73
Issue #730 - "Slow" client causes IllegalStateException.
...
Fixed by allowing state ASYNC to call onWritePossible().
2016-07-15 18:11:28 +02:00
Simone Bordet
a38e819907
Code cleanups.
2016-07-15 18:09:44 +02:00
Joakim Erdfelt
e47052f706
Merge branch 'jetty-9.4.x'
2016-07-13 12:30:08 -07:00
Joakim Erdfelt
165a7082ba
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2016-07-13 12:29:43 -07:00
Joakim Erdfelt
241ef90769
Issue #721 - Enhancing multi-line response header testcase
2016-07-13 12:29:02 -07:00
Simone Bordet
624405d54d
Merged branch 'jetty-9.4.x' into 'master'.
2016-07-13 20:10:56 +02:00
Simone Bordet
2954ef0fd8
Merge branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2016-07-13 20:10:08 +02:00
Joakim Erdfelt
e4249fdd9b
Issue #721 - Adding testcase for multi-line response values
2016-07-13 09:33:30 -07:00
Joakim Erdfelt
b28064c2c8
Using LocalConnector in test
2016-07-13 09:20:34 -07:00