1631 Commits

Author SHA1 Message Date
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
5fe1ff697e Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-24 12:42:12 +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
0cac43d53f Fixed invocation of EndPoint.onClose().
Made sure EndPoint.onClose() is invoked only once and that EndPoints
that have a socket channel associated invoke the SelectorManager
lifecycle callbacks for EndPoints.
2016-05-19 00:15:00 +02:00
Simone Bordet
db8a59b6f5 Code cleanups. 2016-05-19 00:11:43 +02:00
Greg Wilkins
353b1b14c4 a slightly better onClose impl. Still not right 2016-05-18 19:09:23 +10:00
Greg Wilkins
1168115d5a another onClose fix attempt 2016-05-18 17:12:14 +10:00
Greg Wilkins
89d20223a6 reverted close change 2016-05-18 15:22:27 +10:00
Jesse McConnell
dc4574f380 [maven-release-plugin] prepare for next development iteration 2016-05-17 17:30:17 -05:00
Jesse McConnell
0bbebec1e0 [maven-release-plugin] prepare release jetty-9.3.9.v20160517 2016-05-17 17:30:13 -05:00
Jesse McConnell
d5c6793e6a [maven-release-plugin] prepare for next development iteration 2016-05-17 15:33:46 -05:00
Jesse McConnell
0bab7e6616 [maven-release-plugin] prepare release jetty-9.2.17.v20160517 2016-05-17 15:33:42 -05:00
Simone Bordet
2a4cbdd111 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-12 00:22:31 +02:00
Simone Bordet
016fc6569f Fixes #558 - HTTP/2 server hangs when thread pool is low on threads.
Modified ExecuteProduceConsume to test for Rejectable tasks when
trying to execute a task in low threads mode, and if so, reject them
immediately.
2016-05-12 00:13:35 +02:00
Simone Bordet
9a5d8f3943 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-06 17:43:49 +02:00
Simone Bordet
caa45283c7 Fixes #547 (ExecuteProduceConsume (EWYK) does not exit low threads mode)
Exposed getters/setters for ExecutionStrategy.Factory in
ServerConnector and SelectorManager, to allow explicit configuration
and testing.

Added test to verify that EPC exits low threads mode.
2016-05-06 17:10:46 +02:00
Simone Bordet
61f9192e58 Renamed field to better tell what's doing. 2016-05-06 17:10:46 +02:00
Simone Bordet
ad7c260869 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2016-05-03 10:54:32 +02:00
Simone Bordet
2ac1b73b55 Added the connection's hashCode to toString().
This would be useful in dump() where it would be possible to link the
EndPoint to the Connection.
2016-05-03 10:51:20 +02:00
Jan Bartel
19c9697af3 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-04-25 16:12:26 +10:00
Greg Wilkins
fbdd5e1da6 Issue #432 Limit queue size in ByteBufferPools
Created a shared Bucket instance that can count down available space.
2016-04-24 09:58:38 +10:00
Joakim Erdfelt
939505c342 Updating to version 9.2.17-SNAPSHOT 2016-04-14 14:03:21 -07:00
Joakim Erdfelt
778fac638d Updating to version 9.2.16.v20160414 2016-04-14 13:21:34 -07:00
Joakim Erdfelt
47bbd9364d Revert "Updating to version 9.2.16.v20160414"
This reverts commit 29ae63855b6a63e7dbbf714012f68f32d032d266.
2016-04-14 13:19:59 -07:00
Joakim Erdfelt
29ae63855b Updating to version 9.2.16.v20160414 2016-04-14 13:17:21 -07:00
Simone Bordet
a37fdcd0e2 Fixes #514 - Allow ExecutionStrategy to be configurable.
Introduced setters and constructor parameters to components that use
ExecutionStrategy.
2016-04-14 12:28:52 +02:00
Simone Bordet
6827c5b045 Fixes #514 - Allow ExecutionStrategy to be configurable.
Introduced setters and constructor parameters to components that use
ExecutionStrategy.
2016-04-14 12:20:31 +02:00
Joakim Erdfelt
6fb338e50d Updating to version 9.3.9-SNAPSHOT 2016-04-11 16:20:50 -07:00
Joakim Erdfelt
bb4f3c4882 Updating to version 9.3.9.M1 2016-04-11 15:35:22 -07:00
Joakim Erdfelt
13fde643ed Merge branch 'release-9.3.8' into jetty-9.3.x 2016-03-16 10:03:29 -07:00
Joakim Erdfelt
dcfa0b8910 Merge branch 'jetty-9.3.x' 2016-03-15 07:49:28 -07:00
Simone Bordet
26f8deddf7 Introduced Callback.Nested.
Refactored code that was using nested callbacks and removed
unnecessary overrides now that we have default methods.
2016-03-15 15:24:44 +01:00
Joakim Erdfelt
c68d3b1d8d Updating to version 9.3.9-SNAPSHOT 2016-03-14 09:07:52 -07:00
Joakim Erdfelt
1f3b3f31f4 Updating to version 9.3.8.v20160314 2016-03-14 08:30:20 -07:00
Simone Bordet
13f267bf8a Merged branch 'jetty-9.3.x' into 'master'. 2016-03-07 16:11:41 +01:00
Simone Bordet
8ad0944732 Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2016-03-07 16:04:46 +01:00
Simone Bordet
d36e5864db Issue #377 (HttpClient - No supported cipher suites leads to stuck requests)
Fixed by rethrowing the exception thrown by onOpen() so that the
SelectorManager can act appropriately.
2016-03-07 15:20:12 +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
a4889eee6b Merged branch 'jetty-9.3.x' into 'master'. 2016-02-19 16:51:47 +01:00
Simone Bordet
2e62bca2ea Issue #251 (Consider removing SSLEngine.beginHandshake() calls).
Removed SSLEngine.beginHandshake() calls.
2016-02-19 16:33:55 +01:00
Simone Bordet
51009208d4 Merged branch 'jetty-9.3.x' into 'master'. 2016-02-19 13:23:34 +01:00
Simone Bordet
519734bec4 Fixed usage of volatile reference. 2016-02-19 11:36:06 +01:00
Joakim Erdfelt
f98dde5e5b Updating to version 9.2.16-SNAPSHOT 2016-02-10 15:36:41 -07:00
Joakim Erdfelt
9b6890d3c1 Updating to version 9.2.15.v20160210 2016-02-10 14:49:12 -07:00
Greg Wilkins
acde7a7d56 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2016-02-04 08:49:47 +01:00
Greg Wilkins
df79ad689a Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-02-04 07:00:13 +01:00
Joakim Erdfelt
2aee8a7893 Merge branch 'jetty-9.3.x' 2016-02-03 14:32:53 -07:00
Greg Wilkins
1b87db6782 486930 - Selector does not correctly handle rejected execution exception
ignoring the test harness, as it does not work from command line?
2016-02-02 16:11:00 +01:00