Commit Graph

12672 Commits

Author SHA1 Message Date
Simone Bordet 369c73ab45 Issue #1047 - ReadPendingException and then thread death.
Fixed by calling tryFillInterested() rather than fillInterested() to
cope with the race between reads scheduling read interest and
setWriteListener() that also executes code in
HttpChannelState.unhandle() that wants to schedule read interest.
2017-02-07 22:23:52 +01:00
Simone Bordet c0d261d7aa Removed duplicated logging. 2017-02-07 22:23:52 +01:00
Joakim Erdfelt 98688052ef Disabling InsufficientBytes tests in 9.3 (fixed in 9.4+) 2017-02-06 11:06:12 -07:00
Joakim Erdfelt b72854f02b Removing System.out 2017-02-06 10:18:26 -07:00
Joakim Erdfelt cdc58b4008 Fixing InsufficientBytes test cases
+ Because of issues #1045 and #1185 insufficient bytes on a response results in a closed connection
2017-02-06 10:18:26 -07:00
Joakim Erdfelt 0a1eee1c28 Fixing surefire breaking HttpManyWayToCommitTest
+ Reverting change to HttpTester.parseResponse(Input)
+ Providing new HttpTester.parsePartialResponse(Input)
+ InsufficientBytes tests no longer assert content strings with invalid
  characters (this was breaks the surefire report xml)
2017-02-06 10:18:26 -07:00
Joakim Erdfelt fbbd5f4777 HttpTester.parseResponse(Input) returns on TE/Chunked now 2017-02-06 10:18:26 -07:00
Joakim Erdfelt 25a95b83f9 Bad tests take too long 2017-02-06 10:17:56 -07:00
Joakim Erdfelt 35b94fffd3 Improving touchy timeouts on slow machines 2017-02-02 16:25:42 -07:00
Joakim Erdfelt 0254854299 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2017-02-02 15:54:27 -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
Greg Wilkins 461c6082ae Issue #1296 - Introduce HTTP parser "content complete" event. 2017-02-01 23:54:36 +01:00
Jesse McConnell 635355c6e7 Merge remote-tracking branch 'origin/release-9.3.16' into jetty-9.3.x 2017-01-26 11:07:27 -06:00
Jesse McConnell b844747d41 merge jetty-9.2.x into jetty-9.3.x 2017-01-26 11:07:01 -06:00
Simone Bordet b4fb6a74c7 Fixes #1282 - ByteArrayEndPointTest.testIdle() failure.
Reworked the waits in the test to avoid idle timeout checks happening
about at the same time as test operations.
2017-01-23 21:44:32 +01: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 408a94873f set for release 2017-01-20 12:30:27 -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
Jesse McConnell b4260da2d6 set for release 2017-01-20 09:04:10 -06:00
Simone Bordet acab5ef18e Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2017-01-20 15:42:12 +01:00
Simone Bordet 9653d74cae Issue #1229 - ClassLoader constraint issue when using NativeWebSocketConfiguration with WEB-INF/lib/jetty-http.jar present.
Guarded against NPE.
2017-01-20 15:41:41 +01:00
Simone Bordet 9ae93c19ca Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2017-01-20 12:20:21 +01:00
Simone Bordet 51f68dc57e Issue #1229 - ClassLoader constraint issue when using NativeWebSocketConfiguration with WEB-INF/lib/jetty-http.jar present.
Introduced String-based APIs to specify mappings, to avoid the
classloader issue.
2017-01-20 11:34:29 +01:00
Simone Bordet a205fb3aae Fixes #1276 - Remove org.eclipse.jetty.websocket.server.WebSocketServerFactory from SPI. 2017-01-20 09:55:01 +01:00
Greg Wilkins f9c829f7cc Issue #1269
report inferred encoding
2017-01-20 11:38:21 +11:00
Greg Wilkins 91987d4233 Issue #1269
Stop call to getCharacterEncoding forcing a choice.
2017-01-20 11:18:23 +11: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
Simone Bordet dc1658fad3 Revert "resolve merge and update license headers"
This reverts commit 3c53b3a32f.
2017-01-19 18:26:10 +01:00
Jesse McConnell 3c53b3a32f resolve merge and update license headers 2017-01-19 09:38:22 -06: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
Simone Bordet 4565c186d7 Fixes #1277 - http2 alpn test error. 2017-01-19 15:18:55 +01:00
Jan Bartel edfd05dd9c Issue #1268
Add unit tests, tweak log and error messages, fix bug.
2017-01-19 13:49:50 +11:00
Jan Bartel eeae3bfdad Issue #1274 2017-01-19 10:24:31 +11:00
Simone Bordet 53281d3202 Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2017-01-18 18:52:20 +01:00
Simone Bordet 79202d1cc6 Updated ALPN version for JDK 8u121. 2017-01-18 18:30:30 +01:00
Simone Bordet d8aafea4b4 Fixes #1272 - Update ALPN versions for 8u111.
Updated ALPN table for 8u111 and 8u112.
2017-01-18 17:14:23 +01:00
Simone Bordet f97396b131 Fixes #1275 - Get rid of Mockito.
Converted the 2 tests that were using Mockito and removed from the POMs.
2017-01-18 17:09:57 +01:00
Simone Bordet 732277c002 Converted IOException to EofException in case of client close or reset.
It's common for a client to either close the connection or reset a
stream, so EofException is a better exception to report since it will
be logged at DEBUG level by the server, reducing the noise in the logs.
2017-01-18 10:41:01 +01:00
Jan Bartel ae0a8c7f2b Issue #1267 2017-01-18 17:26:23 +11:00
Jan Bartel 4b2b5e0eed Issue #1267 2017-01-18 17:24:20 +11:00
Jan Bartel 69afe33b82 Issue #1268 2017-01-18 15:16:52 +11:00
Greg Wilkins 70866690e4 Issue #1270 Avoid GzipHandler rework by DispatcherType exclusion 2017-01-18 14:11:25 +11:00
Greg Wilkins a4dd1672da Fixes #1269 extensible assumed mimetypes 2017-01-18 13:42:42 +11:00
Simone Bordet f6ea2e4fa5 Issue #1073 - JDK9 support in Jetty 9.3.x.
Made module tests work with JDK 9 too.
2017-01-17 15:38:50 +01:00
Simone Bordet 8532b36c59 Fixes #1265 - JAXB not available in JDK 9.
Added the required "--add-modules java.se.ee" option to the Maven
Surefire Plugin, so that JAXB is available from the JDK runtime.
2017-01-17 15:11:17 +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