Commit Graph

3677 Commits

Author SHA1 Message Date
Jan Bartel 35a0386df0 373037 jetty.server.Response.setContentLength(int) should not close a Writer when length=0 2012-03-05 15:19:34 +11:00
Jan Bartel 0c4450dc5d JETTY-1409 GzipFilter will double-compress application/x-gzip content 2012-03-05 14:10:47 +11:00
Jesse McConnell f434acd6ba [Bug 373162] add improved implementation for getParameterMap(), needs a test though and the existing setup doesn't seem like it would easily support the needed test so need to do that still 2012-03-02 17:31:08 -06:00
Simone Bordet 142a1058ba Rolled back changes where SPDY listeners were notified asynchronously in a different thread.
Since the SPDY API can be fully asynchronous, there is no strict need to introduce this extra
asynchronous layer, although it requires that applications use fully asynchronous API and
never block.

The HTTP layer remains asynchronous (servlets are invoked asynchronously in a different thread).

Eventually, we may introduce a SessionFrameListener.Async interface that allows applications
to be invoked asynchronously in a different thread, but that requires some implementation
magic, in particular to invoke correctly IdleListener callbacks.
2012-03-03 00:23:53 +01:00
Jesse McConnell a7bc2b5863 Merge branch 'release' 2012-03-02 09:26:46 -06:00
Jesse McConnell fe6445ff7d reset version for development 2012-03-02 09:26:30 -06:00
Simone Bordet ef17aede69 Added *.todo to .gitignore. 2012-03-02 16:24:07 +01:00
Simone Bordet 22f0f58062 Implemented support for async HTTP requests over SPDY. 2012-03-02 16:15:01 +01:00
Jesse McConnell 51311d050e [maven-release-plugin] prepare for next development iteration 2012-03-02 08:37:46 -06:00
Jesse McConnell a8296ec3d5 [maven-release-plugin] prepare release jetty-7.6.2.v20120302 2012-03-02 08:37:38 -06:00
Jesse McConnell c58092f6f7 Updating VERSION.txt top section 2012-03-02 08:14:17 -06:00
Jesse McConnell 66fcd1ff7d Merge branch 'master' into release 2012-03-02 08:12:55 -06:00
Simone Bordet 94742d3e94 Updated HTTP layer to invoke the application asynchronously. 2012-03-02 11:45:06 +01:00
Greg Wilkins 74da51a8e6 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-03-02 16:52:18 +11:00
Greg Wilkins 3892549202 370285: chunk content if merged with new content 2012-03-02 16:48:48 +11:00
Jan Bartel 081071b42c JETTY-1489 WebAppProvider attempts to deploy .svn folder 2012-03-02 16:19:07 +11:00
Greg Wilkins 68fa3c50b4 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-03-02 08:07:57 +11:00
Greg Wilkins 79ce93ba94 357318: cancel key before close as speculative work around for JVM bug 2012-03-02 08:07:16 +11:00
Thomas Becker 9f68c6e6bf 369214: HotSwapHandler uses AggregateLifeCycles.addBean() 2012-03-01 15:32:22 +01:00
Thomas Becker ab5592daf0 369214: HotSwapHandler code format 2012-03-01 15:32:22 +01:00
Thomas Becker 04c679dddb 372115: added some braces to oneline if stmts of AsyncContextTest.java 2012-03-01 15:15:10 +01:00
Thomas Becker 54262c4ba5 372115: codeformat of AsyncContextTest.java 2012-03-01 15:15:04 +01:00
Thomas Becker 3a94e45050 372115: Cleanup of AsyncContextTest.java 2012-03-01 15:14:56 +01:00
Jesse McConnell 56b6954af3 nop change 2012-03-01 08:09:37 -06:00
Thomas Becker 492cc7508a 370842: X-Forwarded-Host header is now set by request.getHeader(Host) which doesn't ommit the port information 2012-03-01 15:04:31 +01:00
Simone Bordet 0161f780c9 Updated idle timeout checking.
Now that applications are notified in a different thread, idleness becomes an event
and therefore a new IdleListener interface has been introduced and implemented.
2012-03-01 15:02:35 +01:00
Simone Bordet e8d09fad53 Updated idle timeout checking.
Now that applications are notified in a different thread, idleness becomes an event
and therefore a new IdleListener interface has been introduced and implemented.
2012-03-01 14:59:30 +01:00
Simone Bordet 49bb4f8e8b Improved notification of Handler methods by catching and logging exceptions,
and by notifying them asynchronously to avoid stack overflows.
2012-03-01 12:57:37 +01:00
Simone Bordet 5f61ffc024 Better choice for direct ByteBuffer size. 2012-03-01 12:56:18 +01:00
Simone Bordet f4e4effe50 DataInfo javadocs + modified slightly the API for helper methods, passing a boolean telling to read or consume the bytes. 2012-03-01 11:47:51 +01:00
Jan Bartel 5c0c8c7e73 371168 Update ClientCrossContextSessionTest 2012-03-01 17:43:38 +11:00
Jan Bartel 97c37f68ba 372487 JDBCSessionManager does not work with Oracle 2012-03-01 17:05:54 +11:00
Jesse McConnell 1e6b5d4123 nop commit 2012-02-29 10:08:10 -06:00
Simone Bordet f9345bdc84 Made Settings.ID open to unknown codes, and implemented SPDY v3 format. 2012-02-29 11:52:19 +01:00
Simone Bordet 074e8be054 Javadocs clarification on data(). 2012-02-29 11:00:45 +01:00
Simone Bordet 7d7e524385 Improved tests. 2012-02-29 11:00:24 +01:00
Jan Bartel c95da2aa18 372806 Command line should accept relative paths for xml config files 2012-02-29 18:09:29 +11:00
Simone Bordet ae0a155a39 Cosmetics. 2012-02-29 00:47:32 +01:00
Simone Bordet 3b8c6dfd4c Revised exception handling. 2012-02-29 00:43:17 +01:00
Simone Bordet 1238de8a28 Improved test. 2012-02-29 00:33:57 +01:00
Simone Bordet 43623829bc Better toString(). 2012-02-29 00:33:37 +01:00
Simone Bordet ca9b6ebd2c Moved Session.flush() to ISession: applications do not get any benefit from calling flush(). 2012-02-29 00:33:22 +01:00
Simone Bordet 95ffdd8feb Fixed dispatching of data frames in another thread. 2012-02-29 00:32:33 +01:00
Simone Bordet 9575e8a7d2 Added comment on flow control policy. 2012-02-28 23:47:06 +01:00
Simone Bordet 17bb26f053 Better implementation for flow control.
Now DataInfo has an API for performing 2 distinct operations: reading and consuming.
The WINDOW_UPDATE message is sent only when the bytes are consumed and not
when the application callback returns (possibly without having neither read nor
consumed the bytes).
2012-02-28 23:41:46 +01:00
Simone Bordet b1ef0e87c9 Reviewed use of StreamException and SessionException. 2012-02-28 17:40:03 +01:00
Simone Bordet 3f1c7aa102 Rethrowing SPDYException in case of stream exception. 2012-02-28 17:09:52 +01:00
Simone Bordet 8392dab7b4 Removed read buffers, since we do not need anymore reentrant parsing because we now call the application in a different thread. 2012-02-28 17:02:23 +01:00
Simone Bordet 50ead5c19c Synchronized the generation and enqueuing of control frames, in order to maintain a correct compression context. 2012-02-28 17:01:30 +01:00
Simone Bordet 980d728502 Implemented asynchronous notifications of frame listener callbacks. 2012-02-28 15:32:51 +01:00