Commit Graph

12832 Commits

Author SHA1 Message Date
Joakim Erdfelt 196b2c384b Fixes #1357 - Refactored date/time handling and added tests for RolloverFileOutputStream 2017-02-27 11:25:39 -07:00
Greg Wilkins 5d6a1e3025 Issue #1351 Ignore missing quality 2017-02-25 12:37:50 +09:00
Greg Wilkins 45232639ba rename Interest 2017-02-25 12:37:21 +09:00
Simone Bordet db7d89a5c9 Fixes #1342 - Improve ByteBufferPool scalability.
Replaced Lock+ArrayDeque with ConcurrentLinkedDeque.
2017-02-20 12:06:08 +01:00
Joakim Erdfelt 8fe94cd110 Issue #1328 - Making Response.setBufferSize(int) ISE more clear 2017-02-15 11:40:17 -07:00
Joakim Erdfelt 852d9d5c01 Issue #1326 - Search system properties too for --stop
+ The NPE should be cleared up as well
2017-02-15 10:38:37 -07:00
Greg Wilkins 10b7326c3c Issue #1047 - ReadPendingException and then thread death.
Tidy up write side.
It cannot be the same as the read side as there is no registration for write interest.  There is only write operations and the
callbacks associated with them.
2017-02-08 15:58:35 +11:00
Greg Wilkins 8ecfbab79f Issue #1047 - ReadPendingException and then thread death.
Alternate fix. Tracking needed vs interested state within HttpChannelState rather
that ignoring duplicate interest registrations.
2017-02-08 15:58:35 +11:00
Joakim Erdfelt 5920e14c9b Merge pull request #1191 from CaoTianze/jetty-9.3.x
delete redundant addBean(serverChannel) invoke
2017-02-07 16:58:09 -07:00
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