Jesse McConnell
f7793ae94d
[Bug 387896] populate session in SessionAuthentication as a valueBound in addition to activation so it is populate when needed
2012-08-28 11:24:14 -05:00
Simone Bordet
d84eee0b46
Jetty9 - Reverted AbstractConnector to use MappedByteBufferPool, as ArrayByteBufferPool is leaking buffers.
2012-08-28 18:14:22 +02:00
Simone Bordet
861ae31fe7
Merge branch 'jetty-9-aggregation' into jetty-9-spdy-http
2012-08-28 16:42:31 +02:00
Simone Bordet
d9eae6d4a2
Merge branch 'jetty-9' into jetty-9-aggregation
2012-08-28 16:41:47 +02:00
Simone Bordet
9522bcb404
Jetty9 - Including also the spdy-jetty-http-webapp module.
2012-08-28 16:39:09 +02:00
Jesse McConnell
5fcdb6ac1a
Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9
2012-08-28 09:35:57 -05:00
Jesse McConnell
79861eaa05
adding in jetty-maven-plugin
2012-08-28 09:35:45 -05:00
Simone Bordet
7a2b53d987
Jetty9 - Dispatching the onConnect(Session) callback in a different thread.
...
This is needed for two reasons: the first is that onOpen() is called from the selector thread
and onConnect() may perform I/O (such as sending a SETTINGS frame), and second
because onOpen() may be called when NPN upgrades the connection.
In the latter case, SslConnection is busy with the SSL handshake (for example is filling)
and calling onConnect() triggers a write, that ends up in the SslConnection that sees that
it is still in the SSL handshake and needs to fill, resulting in a reentrant fill, which is not
supported correctly by SslConnection.
Dispatching to a new thread makes the call safe, since SslConnection is properly synchronized.
2012-08-28 15:20:14 +02:00
Thomas Becker
3c952da6ed
Merge branch 'master' of ssh://git.eclipse.org:29418/jetty/org.eclipse.jetty.project
2012-08-28 13:58:05 +02:00
Simone Bordet
2339da7cc0
Jetty9 - Marked tests as @Slow.
2012-08-28 13:04:18 +02:00
Simone Bordet
7bbd9675cc
Jetty9 - Fixed test making it more reliable.
2012-08-28 12:48:37 +02:00
Simone Bordet
5aa3702606
Jetty9 - Better logging.
2012-08-28 11:56:37 +02:00
Simone Bordet
6601b65162
Jetty9 - Made the test more reliable and marked it as slow.
2012-08-28 11:56:22 +02:00
Simone Bordet
7a1faf3c08
Jetty9 - Start counting for idleness when we register read interest.
...
Otherwise it was possible that the endPoint was created, upon creation
it started counting for idleness, after a while read interested was set
and the endPoint idle timed out before having the chance to read.
2012-08-28 11:55:01 +02:00
Simone Bordet
156f07d493
Jetty9 - Greatly simplified HttpChannelOverSPDY.
...
Removed old code that was not necessary anymore.
2012-08-28 09:33:11 +02:00
Simone Bordet
34ee7101cc
Jetty9 - Added calls to notify() also when calling shutdown() and earlyEOF(), to wake up threads waiting in blockForContent().
...
Also improved the blockForContent() loop condition, to exit when a shutdown or earlyEOF happens.
2012-08-28 09:31:30 +02:00
Simone Bordet
0acf2f9650
Jetty9 - Generified HttpChannel and HttpParser listeners to follow the generification of HttpInput.
2012-08-28 09:29:08 +02:00
Jesse McConnell
7af3d5c047
remove logging statement
2012-08-27 12:24:47 -05:00
Jesse McConnell
cf1337264b
[Bug 388073] null session id from cookie causes NPE fixed
2012-08-27 11:32:12 -05:00
Jesse McConnell
7e21d6c159
Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
2012-08-27 11:31:43 -05:00
Jesse McConnell
94c2dec2e2
add some session tests to the hash session manager, and a new one focusing on session cookie processing
2012-08-27 11:31:34 -05:00
Simone Bordet
5e4a2508b1
Jetty9 - Removed System.err.println().
2012-08-27 17:34:46 +02:00
Simone Bordet
a224a8e962
Jetty9 - Ignored two tests because the functionality they test is not yet implemented.
2012-08-27 17:21:58 +02:00
Simone Bordet
edd40ec299
Jetty9 - Fixed ProtocolNegotiationTest and additional minor cleanups/logging/comments.
2012-08-27 17:13:38 +02:00
Simone Bordet
c2095d7170
Jetty9 - Moved wiring of SslConnection out of HttpServerConnectionFactory.
...
The wiring of SslConnection in HttpServerConnectionFactory was not the
right place because a ConnectionFactory should just create the Connection
instances, not also wiring them up.
It is responsibility of the connector to wire the SslConnection in.
Moving the wiring outside HttpServerConnectionFactory fixed also a few
SPDY tests, where the wiring was already done outside (and therefore
was done twice).
2012-08-27 17:07:00 +02:00
Simone Bordet
1a2266b1b8
Jetty9 - Fixed test by specifying hardcoded idle timeout to avoiding NPE.
2012-08-27 16:58:29 +02:00
Simone Bordet
a935c26764
Jetty9 - Fixed typo.
2012-08-27 16:32:01 +02:00
Thomas Becker
77c03ad45f
388079: AbstractHttpConnection. Flush the buffer before shutting output down on error condition
2012-08-27 12:02:50 +02:00
Jan Bartel
6ab68f0dda
387943 Catch CNFE when no jstl jars are installed
2012-08-27 18:12:44 +10:00
Jan Bartel
ef17e69bd5
Merge branch 'jetty-8' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-8
2012-08-27 17:27:32 +10:00
Jan Bartel
c6cf4d4fb5
Add a toString() method to TldLocatableURLClassloader
2012-08-27 17:26:52 +10:00
Simone Bordet
bc0f9cd9e6
Jetty9 - Made test more robust.
2012-08-27 09:21:56 +02:00
Simone Bordet
5a3a25c880
Jetty9 - Logging idle timeouts.
2012-08-27 09:21:35 +02:00
Simone Bordet
7b58c584b9
Jetty9 - Fixed tests: now creating a connector requires an instance of Server, otherwise throws an NPE.
2012-08-27 08:38:27 +02:00
Greg Wilkins
9a1a020f0e
jetty-9 renamed HttpTransport.{commit|write} to send
2012-08-27 14:43:29 +10:00
Jan Bartel
28667f1707
387953 jstl does not work with jetty-7 in osgi
2012-08-27 14:05:05 +10:00
Greg Wilkins
838ddcd444
jetty-9 wider test margin for DoSfilterTest
2012-08-27 14:01:26 +10:00
Greg Wilkins
6e9bea1938
jetty-9 gzip tests handle HTTP/1.0 EOF content
2012-08-27 13:35:31 +10:00
Greg Wilkins
54d6739879
jetty-9 improved test speed
2012-08-27 12:41:36 +10:00
Greg Wilkins
d8b287134f
jetty-9 improved range request processing and tests
2012-08-27 12:17:40 +10:00
Greg Wilkins
6d2fb580a1
jetty-9 fixed dispatcher tests. These have been wrong since 7?
2012-08-27 11:20:10 +10:00
Greg Wilkins
353978726b
jetty-9 reverted isHead change
2012-08-27 11:14:19 +10:00
Greg Wilkins
cb5dd493fb
jetty-9 merged jetty-9-aggregation
2012-08-27 10:24:34 +10:00
Simone Bordet
c743bf4081
Jetty9 - Using the correct length when copying bytes, otherwise BufferUnderflowExceptions are thrown.
2012-08-25 10:43:39 +02:00
Simone Bordet
cda0528625
Jetty9 - Second draft of SPDY wiring: more test cases pass, still work to do.
2012-08-24 19:36:10 +02:00
Simone Bordet
6b3d5f5390
Jetty9 - First draft of SPDY wiring: most test cases pass, still work to do.
2012-08-24 16:18:53 +02:00
Greg Wilkins
726898ffd8
jetty-9 fixed after merged
2012-08-24 20:39:03 +10:00
Simone Bordet
171ad66962
Fixed compilation errors after merging branch 'jetty-9-aggregation' into jetty-9-spdy-http
2012-08-24 12:20:44 +02:00
Greg Wilkins
72bfacd5a4
Merge branch 'jetty-9' into jetty-9-aggregation
2012-08-24 20:17:08 +10:00
Greg Wilkins
1d654a08cf
jetty-9 restructured graceful shutdown
2012-08-24 20:16:23 +10:00