Commit Graph

13990 Commits

Author SHA1 Message Date
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
Jan Bartel b11ad33ae4 Merge remote-tracking branch 'origin/jetty-9.4.x' into issue-1150 2017-02-08 14:16:19 +11:00
Jan Bartel f76dafebc3 Issue #1307 2017-02-08 13:05:48 +11:00
Jan Bartel c48b471caa Issue #1300
Gcloud datastore emulator needs longer shutdown for tests.
2017-02-08 11:59:53 +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
Joakim Erdfelt 7524b09e29 Merge pull request #1301 from cakofony/gzip_decoder_bufferpool
HttpClient GZIPContentDecoder uses client ByteBufferPool
2017-02-07 16:57:55 -07:00
Jan Bartel 0520af0dc3 Issue #1300
Remove debug logging
2017-02-08 09:51:17 +11:00
Jan Bartel 7bc0ae57ca Issue #1300 2017-02-08 09:24:28 +11:00
Simone Bordet e01636d109 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-02-07 22:31:06 +01: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 83397d1ecf Merge pull request #1312 from WalkerWatch/doco/uber
Further clarification for jetty-all
2017-02-07 14:21:48 -07:00
WalkerWatch dcc79a5ecf Further clarification for jetty-all
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-02-07 16:12:42 -05:00
Carter Kozak 1a2bb90465 Issue #1309 Client GZIPContentDecoder uses client ByteBufferPool
Previously the GZIPContentDecoder would allocate a new buffer for
each gzip encoded response.

Signed-off-by: Carter Kozak <c4kofony@gmail.com>
2017-02-07 09:53:39 -05:00
Joakim Erdfelt 1fb0eff009 Merge pull request #1304 from WalkerWatch/doco/contributing
Updating contribution instructions for security issues.
2017-02-07 07:17:05 -07:00
WalkerWatch 376d301f7f Updating contribution instructions for security issues.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-02-06 17:18:03 -05:00
Joakim Erdfelt 0cd12e9e97 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-02-06 11:11:02 -07: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 6509bc584b Removing System.out 2017-02-03 10:34:30 -07:00
Joakim Erdfelt 2bd1029d1b Fixing InsufficientBytes test cases
+ Because of issues #1045 and #1185 insufficient bytes on a response results in a closed connection
2017-02-03 10:29:27 -07:00
Joakim Erdfelt 472a40806e 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-03 06:25:23 -07:00
Joakim Erdfelt 247d273e94 HttpTester.parseResponse(Input) returns on TE/Chunked now 2017-02-03 04:53:03 -07:00
Joakim Erdfelt 43c203b606 Bad tests take too long 2017-02-02 19:28:16 -07:00
Joakim Erdfelt b7adae104b Merge pull request #1299 from WalkerWatch/updates/start
Some updates to start doco.
2017-02-02 17:25:19 -07:00
Joakim Erdfelt 7f3ddf4edb Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-02-02 16:26:43 -07:00
Joakim Erdfelt 35b94fffd3 Improving touchy timeouts on slow machines 2017-02-02 16:25:42 -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 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
WalkerWatch 9479c386e8 Some updates to start doco.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2017-02-02 15:27:56 -05:00
Jan Bartel 6a03404658 Issue #1298
Generate files header.
2017-02-02 18:30:19 +11:00
Jan Bartel 2652b81fb1 Issue #1298 2017-02-02 18:14:23 +11:00
Greg Wilkins 0386589793 prototype files generation 2017-02-02 16:52:25 +11:00
Greg Wilkins 80386028c1 Trailers for generated requests 2017-02-02 13:27:12 +11:00
Simone Bordet 7923032582 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-02-02 00:24:51 +01:00
Greg Wilkins 461c6082ae Issue #1296 - Introduce HTTP parser "content complete" event. 2017-02-01 23:54:36 +01:00
Jan Bartel 0391c52e4c Merge remote-tracking branch 'origin/jetty-9.4.x' into issue-1150 2017-02-01 17:40:33 +11:00
Jan Bartel a2e1dd3a30 Issue #1284
Ensured session expired in db but resident in memory is not expired.
2017-02-01 14:23:28 +11:00
Simone Bordet 7e7459d825 Fixes #612 - Support HTTP Trailer.
Implemented support in the generic HttpChannel and Request classes.
Linked HTTP/1.1 and HTTP/2 trailers to call HttpChannel, so that trailers
are now available in Servlet APIs by casting to Jetty's Request class.
The semantic is that trailers will only be available _after_ reading
the request content.
2017-01-30 15:17:59 +01:00
Simone Bordet 4f7c53b9b1 Introduced additional call to parsedTrailer() and added tests. 2017-01-30 15:17:59 +01:00
Greg Wilkins e45f76e946 Issue #612 Http Trailers
Added support for parsing Http Trailers.
Currently ignored in HttpParser.HttpHandler
2017-01-30 15:17:59 +01:00
Jesse McConnell 700491f0da Merge pull request #1289 from earldouglas/its
Replace contraction with possesive
2017-01-28 16:23:39 -06:00
Jesse McConnell 621ebae192 Resolve #1292 remove bogus test dependency from jetty-home artifact dependencies 2017-01-27 17:16:00 -06:00
Greg Wilkins 7df6904a73 implements #1291 chunk hints 2017-01-27 16:04:32 +11:00