Commit Graph

12508 Commits

Author SHA1 Message Date
Greg Wilkins a2309057dc Test Harness for #596
Test harness to try to repeat problem with #596 of content-length added to a HEAD response.

In the process added a much better getResponse mechanism to the local connector that avoids
using the idle time.
2016-06-03 14:15:25 +10:00
Greg Wilkins 66ce47923e Issue #572 Ignore failing test pending further analysis 2016-06-03 09:08:44 +10:00
Greg Wilkins 98c328fb23 Jetty 9.4.x 572 (#614)
* Issue #572 Scheduling Strategy Deadlocks

Implemented dual strategy idea from #572 discussion

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* fixed http2 strategy choice

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* code cleanups

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* clean up seelctor actions/products

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* cleanups
2016-06-03 09:07:00 +10:00
Greg Wilkins ec7871718c added delay to improve SSL tcpClose test 2016-06-02 17:38:36 +10:00
Jan Bartel 0578d15813 Fix indexes for gcloudatastore; make initial retry backoff 1s as per SLA 2016-06-02 16:42:02 +10:00
Greg Wilkins 89032b7eac improved test isolation 2016-06-02 14:24:18 +10:00
Greg Wilkins e1b551c2ae Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-02 08:04:56 +10:00
Joakim Erdfelt 3b1f8df49e Removing bad org.omg.CORBA.Environment import 2016-06-01 11:58:50 -07:00
Jan Bartel 3c3ea0c6f2 Add option to SessionCache to delete unreadable sessions from SessionDataStore; fix jdbc module xml file. 2016-06-01 20:13:32 +10:00
Simone Bordet 059fbaa1d6 Removed @Ignore from a passing test. 2016-06-01 11:56:49 +02:00
Simone Bordet 8956245026 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-06-01 10:48:57 +02:00
Hauke Wulff 8d9c086fa4 FastFileServer throws exception on any GET file due to wrong Content-… (#599)
* FastFileServer throws exception on any GET file due to wrong Content-Length value

Any GET file request, e.g. curl http://localhost:8080/pom.xml
results in FastFileServer returning a "HTTP/1.1 500 Server Error".
The root-cause for the error is the following line in handle()
response.setDateHeader("Content-Length", file.length());
which attempts to set the content-length header using a date-function.
Explicitly setting the response Content-Length in servlet-code.

Signed-off-by: Hauke Wulff <hauk3wu1ff@gmail.com>
Reviewed-by: Simone Bordet <simone.bordet@gmail.com>
2016-06-01 10:46:58 +02:00
Greg Wilkins 7d6c05b5c0 Issue #610 Ignore failing test 2016-06-01 17:46:04 +10:00
Greg Wilkins 82921382a7 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-01 16:52:56 +10:00
Greg Wilkins e9bb364eb2 Issue #609 ignore failing test 2016-06-01 16:16:39 +10:00
Greg Wilkins 5c33a119da Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-01 15:30:13 +10:00
Greg Wilkins c2831bf09c Issue #608 reset encoding set from content type
Use an enum to track where a content encoding came from and selectively clear/reset
2016-06-01 15:29:05 +10:00
Jan Bartel 833f291975 Ensure sessions that fail to save on evict are not evicted. 2016-06-01 12:41:39 +10:00
Jesse McConnell b4c958e68c Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-05-31 20:38:31 -05:00
WalkerWatch 2508d73a94 Added note for CVE-2016-4800 and several small grammatical clean ups.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-05-31 20:37:06 -05:00
Simone Bordet 89232a6207 Fixes #605 - Guard concurrent calls to WebSocketSession.close().
Introduced an AtomicBoolean to guard AbstractWebSocketConnection.close().
Made IOState code more robust with respect to synchronization.
2016-05-31 18:28:12 +02:00
Simone Bordet 2e21234328 Code cleanups. 2016-05-31 18:23:51 +02:00
Simone Bordet bfeccd9e39 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-30 19:11:24 +02:00
Alexander Farber f6e460fc35 Remove Session.setMaximumMessageSize(long) example, because that method has been removed in jetty-9.1
Signed-off-by: Alexander Farber <Alexander.Farber@gmail.com>
2016-05-30 19:10:08 +02:00
Greg Wilkins ad588a9f0a Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-05-30 21:09:37 +10:00
Greg Wilkins 05c6a3664f Improved the HttpTester and added a Test 2016-05-30 21:08:37 +10:00
Jan Bartel 86eedd3ad8 Implement backoff retry for gcloud session data store; fix gcloud session module 2016-05-28 11:56:41 +10:00
Jesse McConnell d5fca6ee22 resolve broken javadoc 2016-05-27 16:25:50 -05:00
Jesse McConnell 68d0ff1373 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-05-27 15:41:29 -05:00
Jesse McConnell 3e809af7f6 alter the basedir of the documentation zip 2016-05-27 15:40:58 -05:00
Jan Bartel d6689ce803 Add memcached option for session data caching 2016-05-27 16:43:46 +10:00
Jesse McConnell 906fa45629 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-05-26 09:50:18 -05:00
Jesse McConnell 012a5864be set for dev 2016-05-26 09:49:51 -05:00
Jesse McConnell dcbc233b8b Merge remote-tracking branch 'origin/release-9.3.10.M0' into jetty-9.3.x 2016-05-26 09:49:24 -05:00
Jesse McConnell 8d3732a589 [maven-release-plugin] prepare for next development iteration 2016-05-26 08:41:42 -05:00
Jesse McConnell b935082f59 [maven-release-plugin] prepare release jetty-9.3.10.M0 2016-05-26 08:41:38 -05:00
Jesse McConnell fb7477c5d2 set for release 2016-05-26 08:09:28 -05:00
Simone Bordet b912c700ee Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-25 19:27:46 +02:00
Simone Bordet f3a805887e Fixes #542 - Support Connection.Listener bean on clients.
Introduced ClientConnectionFactory.customize() to look for
Connection.Listener beans.
ClientConnectionFactory implementation calls customize() when they
create a Connection instance, so the Connection.Listener beans are
registered onto the Connection.
2016-05-25 19:27:08 +02:00
Simone Bordet f6098497c0 Explicitly setting the EndPoint idle timeout in case
HttpClient.idleTimeout has changed after start().
2016-05-25 19:27:08 +02:00
Simone Bordet 6bf3607444 Fixed toString() NPE in case the stream is null. 2016-05-25 19:27:08 +02:00
Jesse McConnell 6819455c16 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2016-05-25 11:39:14 -05:00
Jesse McConnell b3eee7884b Merge pull request #587 from WalkerWatch/jetty-9.3.x
Quick start re-work and illustration.
2016-05-25 11:38:47 -05:00
WalkerWatch ff495bc92f Fixed bug that was causing docbook elements to duplicate on screen.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-05-24 21:42:26 -04:00
WalkerWatch 6c9276f946 Quick start re-work and illustration.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-05-24 21:30:56 -04:00
Simone Bordet ba48aa27b0 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-25 00:57:43 +02:00
Simone Bordet 4762a6eaa3 Issue #464 - Improve reporting of SSLHandshakeException.
Making sure that the raw EndPoint is closed if the decrypted EndPoint
output is shutdown when the input is also shutdown.
2016-05-25 00:52:10 +02:00
Simone Bordet 031bc0fed9 Issue #85 - Expose TLS protocol used for connection in SecureRequestCustomizer.
Exposed the SSLSession as attribute only if the attribute key is valid.
2016-05-25 00:50:01 +02:00
Simone Bordet c6aafecceb Code cleanups. 2016-05-25 00:47:58 +02:00
Simone Bordet 016a7b72a1 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-24 16:10:00 +02:00