11970 Commits

Author SHA1 Message Date
Jan Bartel
303aea96a3 Implement uniform expiry testing for all datastores, FileDataStore still todo. 2016-03-05 16:01:18 +01:00
Simone Bordet
5fa6bf4c10 Merged branch 'jetty-9.3.x' into 'master'. 2016-03-05 14:59:21 +01:00
Simone Bordet
fb05062f0d Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2016-03-05 14:58:50 +01:00
Greg Wilkins
10bd934476 Issue #346 HttpParser RFC2616 Compliance mode
Empty header values returned as "" in all compliance modes
2016-03-05 14:26:47 +01:00
Simone Bordet
a4686bc6a4 Issue #353 (Jetty Client doesn't forward authentication headers with redirects when using proxy)
Fixed by making sure that URI matches take into account default HTTP
ports.
2016-03-05 13:29:31 +01:00
Greg Wilkins
692aae0d3e Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-03-05 11:06:34 +01:00
Greg Wilkins
d1fc5eb67d Revert "Issue #346 HttpParser RFC2616 Compliance mode"
This reverts commit 58e5a54ab6e65eacac87dd2421b21b4848b59ccf.
RFC7430 allows empty header values
2016-03-05 11:03:32 +01:00
Greg Wilkins
58e5a54ab6 Issue #346 HttpParser RFC2616 Compliance mode
Ignore headers without values.
2016-03-05 11:03:11 +01:00
Greg Wilkins
f4453ba5e0 Issue #346 HttpParser RFC2616 Compliance mode
Headers with no value return "" in <= RFC2616 mode
2016-03-05 09:21:34 +01:00
Greg Wilkins
9291953380 Merge pull request #385 from eclipse/bugs/124
Issue #124 - Don't produce text/html if the request doesn't accept it

merge to master may need manual help
2016-03-05 09:12:17 +01:00
Joakim Erdfelt
0f0eb569e9 Issue #124 - Don't produce text/html if the request doesn't accept it
+ Using cleaner HttpFields access to 'Accept' header

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2016-03-04 11:28:34 -07:00
Jan Bartel
3c2f5bbcb6 Implement different intervals for scavenge and idlepassivation checks; update all tests 2016-03-04 18:06:55 +01:00
Jan Bartel
436c4835a4 Implement saving or passivating when all requests have exited session; implement separate timeout for expiry scavenge and idle timeout and periodic inspection 2016-03-04 18:06:55 +01:00
Simone Bordet
b61c5ffc1f Merged branch 'jetty-9.3.x' into 'master'. 2016-03-04 15:50:10 +01:00
Mehtab Singh Mann
3e1082e122 Issue #356 (Element error-page/location must start with a '/')
Signed-off-by: Mehtab Singh Mann <mehtabsinghmann@gmail.com>
2016-03-04 15:49:48 +01:00
Simone Bordet
9e75fa1fb9 Merge pull request #394 from mehtabsinghmann/master
Issue #356 (Element error-page/location must start with a '/')
2016-03-04 15:45:23 +01:00
Mehtab Singh Mann
23bbbaf8c1 Issue #356 (Element error-page/location must start with a '/')
Signed-off-by: Mehtab Singh Mann <mehtabsinghmann@gmail.com>
2016-03-04 19:12:44 +05:30
Simone Bordet
bede684cac Merged branch 'jetty-9.3.x' into 'master'. 2016-03-03 08:21:26 +01:00
Simone Bordet
311c7466b0 Issue #386 (Explicit Authorization header is dropped when handling 407s)
Fixed by copying explicitly set authorization headers.
2016-03-03 08:20:55 +01:00
Joakim Erdfelt
a7be6bc8ea Issue #124 - Don't produce text/html if the request doesn't accept it
+ If request has no 'Accept' header, produce text/html as before.
+ If request has 'Accept' header, then test for 'text/html' or '*/*'
  entries before producing html output.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2016-03-02 17:16:14 -07:00
Joakim Erdfelt
8f8fcd1b1a Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-03-02 16:48:15 -07:00
Joakim Erdfelt
b357521899 Issue #107 - ResourceHandler range support testcase 2016-03-02 16:48:05 -07:00
Jan Bartel
ff49714d06 Implement session idle and expiration with single periodic sweep. 2016-03-03 00:38:25 +01:00
Simone Bordet
6d9b36c8a4 Issue #381 (HttpClient does not send the Authorization header with authenticating proxy)
Fixed by tracking correctly the conversation attributes for
authentication, and by applying both proxy authentication results and
server authentication results.
2016-03-02 18:02:20 +01:00
Greg Wilkins
2b67e04861 fixed bad merge 2016-03-02 17:32:17 +01:00
Joakim Erdfelt
eba2bffefe Merge branch 'jetty-9.3.x' 2016-03-02 09:08:30 -07:00
Joakim Erdfelt
4e426e9be3 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-03-02 09:07:33 -07:00
Joakim Erdfelt
1b310c84b0 Issue #247 improving invalid buffer manipulation exception messages 2016-03-02 09:06:21 -07:00
Greg Wilkins
3300d54b5a Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-03-02 14:13:29 +01:00
Greg Wilkins
3963309f62 Issue #379 Insufficient information on asyncNotSupported
Converted the boolean for asyncSupported to a String holding the source
of the async not supported.
2016-03-02 14:09:15 +01:00
Greg Wilkins
9c5a8d3f28 Issue #378 Can't configure per nodes settings in start.ini
Updated gcloud-session to look for GAE environment variable for the node ID
2016-03-02 14:05:04 +01:00
Simone Bordet
3ebb391fe1 Merged branch 'jetty-9.3.x' into 'master'. 2016-03-01 22:11:10 +01:00
Simone Bordet
7e7b126847 Issue #362 (Very slow page load and missing resources when using HTTP/2 with Jetty 9.3.7)
The issue happened when the selector was both read ready and write
ready. In that case fillable() was called before completeWrite(),
causing the reader thread to read, parse, call the application which
performed a blocking write, thus never returning to call
completeWrite().

Inverting the calls (first completeWrite() then fillable()) solves
the issue because completeWrite() never calls application code.
2016-03-01 22:08:02 +01:00
Simone Bordet
53e41d291f Merged branch 'jetty-9.3.x' into 'master'. 2016-03-01 16:32:03 +01:00
Simone Bordet
a8bbe8749f Issue #353 (Jetty Client doesn't forward authentication headers with redirects when using proxy)
Added test case, but code seems already good.
2016-03-01 16:31:40 +01:00
Simone Bordet
978b3262c8 Merged branch 'jetty-9.3.x' into 'master'. 2016-03-01 16:00:50 +01:00
Simone Bordet
24a203f976 Fixed compilation issue. 2016-03-01 15:58:32 +01:00
Simone Bordet
21abfb0351 Merged branch 'jetty-9.3.x' into 'master'. 2016-03-01 15:35:49 +01:00
Simone Bordet
04bb4af12c Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2016-03-01 15:21:19 +01:00
Simone Bordet
d53766f6fe Issue #365 (Potential connection leakage in case of aborted request)
Fixed by releasing the connection that will not be used to the pool.
2016-03-01 15:19:02 +01:00
Jan Bartel
b8d0ad50f8 Reimplementation of expiry and introduction of passivating unused sessions. 2016-02-29 21:03:30 +01:00
Joakim Erdfelt
bf4a634d0b Merge branch 'release-9.3.8' into jetty-9.3.x 2016-02-29 11:45:29 -07:00
Simone Bordet
bd62320285 Issue #360 (Improve HTTP/2 stream interleaving)
Fixed by making the interleave quantum be the frame size rather than
the flow control window size.

Reworked HTTP2Flusher.process() to be simpler and properly
interleave frames.
2016-02-29 18:45:30 +01:00
Simone Bordet
2c11372bc4 Merged branch 'jetty-9.3.x' into 'master'. 2016-02-29 17:17:09 +01:00
Simone Bordet
cec3694355 Consistently using BufferUtil, especially clearToFill() and
flipToFlush().
2016-02-29 16:31:38 +01:00
Simone Bordet
b8fcc5112f Issue #372 (Data race in HttpReceiverOverHTTP2)
Fixed implementations of onData() to properly complete the callback
and to copy the data if they use it asynchronously.
2016-02-29 14:39:27 +01:00
Simone Bordet
aa6de825b7 Issue #372 (Data race in HttpReceiverOverHTTP2)
Fixed by copying the buffer passed to onData().
2016-02-29 14:02:17 +01:00
Simone Bordet
8aa3207164 Improved test by making requests carry a unique identifier. 2016-02-29 11:58:08 +01:00
Simone Bordet
65b11654c5 Improved logging. 2016-02-29 11:56:49 +01:00
Simone Bordet
bb08b65d15 Merged branch 'jetty-9.3.x' into 'master'. 2016-02-29 11:33:25 +01:00