Commit Graph

12170 Commits

Author SHA1 Message Date
WalkerWatch ef63395b07 Removed references to SPDY in Chapter 3, updated Chapter 10 with general info on Sessions
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-06-07 16:40:24 -04:00
Jesse McConnell 39ef0ec7d6 fix bad test target dir usage 2016-06-07 11:55:48 -05:00
Jesse McConnell 6b92b698a9 Merge pull request #618 from WalkerWatch/jetty-9.3.x
Chapter 10 clean up and link fixes.
2016-06-07 11:54:49 -05:00
WalkerWatch 1d3816fdc5 Chapter 10 clean up and link fixes.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2016-06-06 21:20:11 -04:00
Greg Wilkins 40af755251 restructure failing test to better analyse failure 2016-06-07 10:44:33 +10:00
Joakim Erdfelt dd8afc34b9 Merge branch 'jetty-9.3.x' into bugs/388 2016-06-06 08:37:36 -07:00
Joakim Erdfelt 8758cbb607 Fixes #388 - Provide pluggable RemoteEndpoint service 2016-06-06 07:44:46 -07:00
Joakim Erdfelt 6e3d85e15e Merge branch 'feature/looptest' into jetty-9.3.x 2016-06-06 07:02:25 -07:00
Joakim Erdfelt 4ce35feb41 Adding OPTS 2016-06-06 07:01:48 -07:00
Joakim Erdfelt 40526513f4 More looptest experimentation 2016-06-03 14:27:33 -07:00
Joakim Erdfelt 5e3a534d5d More looptest experimentation 2016-06-03 14:17:28 -07:00
Simone Bordet 58f8d44ae2 Improved looptest.sh.
Fixed reference to test class.
Added DEBUG logging.
2016-06-03 23:14:18 +02:00
Joakim Erdfelt f495053e9b More looptest experimentation 2016-06-03 13:13:53 -07:00
Joakim Erdfelt 661a5aeef4 Experimenting with looptest and jenkins 2016-06-03 11:42:08 -07:00
Joakim Erdfelt 23338db1d6 Merge branch 'jetty-9.3.x' of github.com:eclipse/jetty.project into jetty-9.3.x 2016-06-03 10:14:12 -07:00
Joakim Erdfelt f814c3d46c Adding looptest for help with CI only flappy test failures 2016-06-03 10:14:09 -07:00
Simone Bordet c05e265c5b Moved scheme checks to the right place. 2016-06-03 17:57:59 +02:00
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 ec7871718c added delay to improve SSL tcpClose test 2016-06-02 17:38:36 +10:00
Greg Wilkins 89032b7eac improved test isolation 2016-06-02 14:24:18 +10:00
Simone Bordet 059fbaa1d6 Removed @Ignore from a passing test. 2016-06-01 11:56:49 +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 e9bb364eb2 Issue #609 ignore failing test 2016-06-01 16:16:39 +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
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
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 05c6a3664f Improved the HttpTester and added a Test 2016-05-30 21:08:37 +10:00
Jesse McConnell 3e809af7f6 alter the basedir of the documentation zip 2016-05-27 15:40:58 -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 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 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 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 ddddc3a675 Fixes #574 - Introduce a TLS handshake completed listener.
Introduced class SslHandshakeListener that can be registered as a
bean in both the ServerConnector and in clients such as HttpClient
and HTTP2Client.

When creating SslConnection instances, the factory will query the
connector (client or server) for SslHandshakeListener beans and, if
present, will be added to the SslConnection.
2016-05-24 16:09:19 +02:00
Simone Bordet d73c60db14 Issue #464 - Improve reporting of SSLHandshakeException. 2016-05-24 11:15:18 +02:00
Simone Bordet f95daca8b4 Code cleanups. 2016-05-24 11:15:18 +02:00
Simone Bordet b1ebcf9139 Using lambdas instead of anonymous inner classes. 2016-05-24 11:15:18 +02:00
Jesse McConnell 0a083fa8a0 Merge pull request #582 from WalkerWatch/jetty-9.3.x
Converted chapters 5 and 6 to ventilated prose and cleaned up formatting and…
2016-05-23 08:23:46 -05:00