Commit Graph

138 Commits

Author SHA1 Message Date
Thomas Becker 37e0b8ffe4 spdy: StandardSession format toString method 2012-07-26 13:10:08 +02:00
Jesse McConnell f755d014cd [maven-release-plugin] prepare for next development iteration 2012-07-16 13:23:59 -05:00
Jesse McConnell 04b7e807a0 [maven-release-plugin] prepare release jetty-7.6.5.v20120716 2012-07-16 13:23:53 -05:00
Jesse McConnell f59b2a0632 reset release 2012-07-16 12:54:36 -05:00
Jesse McConnell 9315ed8b73 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2012-07-13 12:24:50 -05:00
Thomas Becker 0fcb42e7bf spdy: add logging when ProxyEngineSelector resets a stream 2012-07-13 16:46:24 +02:00
Jesse McConnell 12ecc10c6a [maven-release-plugin] prepare for next development iteration 2012-07-13 09:35:08 -05:00
Jesse McConnell bf40110fb8 [maven-release-plugin] prepare release jetty-7.6.5.v20120713 2012-07-13 09:34:52 -05:00
Thomas Becker 198f713f7d spdy: spdy-proxy refactoring to allow multiple ProxyEngine implementations for different protocols. Header name fix to lowercase header names before creating the bytes to sent over the wire. 2012-07-13 11:53:56 +02:00
Simone Bordet 1843324bab Added support for X-Forwarded-For header. 2012-07-12 17:45:00 +02:00
Simone Bordet a7dab4bd2d Fixed spin loop caused by interaction of HttpGenerator._bypass and HttpGenerator.isBufferFull().
In HttpOutput.write(), an infinite spin loop was triggered when a previous write() set _bypass to true,
but _bypass was not reset after the write was complete. An additional write would have caused
a call to isBufferFull(), implemented in terms of _bypass, which would have returned true erroneously,
and this would have caused the infinite spin loop.
Now we properly reset _bypass when we fully write a data frame, so that isBufferFull() can properly
return false and allow for further writes.
2012-07-12 17:16:57 +02:00
Simone Bordet 0ad04eca6e Fixed test that was broken by changes to the pushed URI header in spdy/2. 2012-07-12 15:13:47 +02:00
Jesse McConnell aa941f5711 quick pass through to clean up missing or incorrect license blocks 2012-07-11 12:29:46 -05:00
Simone Bordet 6348a96071 Added test to show how to connect to an external server with the SPDY client. 2012-07-10 16:16:41 +02:00
Simone Bordet 9253bb791e Added capability of customizing request and response headers by overriding a method, and added Via header also on responses. 2012-07-09 16:00:44 +02:00
Thomas Becker e3b6344641 spdy: proxy fix to keep scheme on forwarded requests 2012-07-09 14:09:47 +02:00
Simone Bordet 4738584ccd Improved proxy logging. 2012-07-09 13:21:32 +02:00
Thomas Becker 77c673c89b spdy: push referrer call period starts when first resource is added. Before it started when main resource was created 2012-07-06 17:33:52 +02:00
Simone Bordet 652fcc3552 Merge "spdy: move x-spdy-push header to internal request. fix StandardStream.toString()" 2012-07-06 09:54:57 -04:00
Simone Bordet dd7eb898c9 Merge "spdy: different push strategies per connection factory" 2012-07-06 09:53:28 -04:00
Thomas Becker ac7c3c8f0d spdy: move x-spdy-push header to internal request. fix StandardStream.toString() 2012-07-06 15:46:31 +02:00
Thomas Becker e7a52df43d spdy: different push strategies per connection factory 2012-07-06 15:23:06 +02:00
Simone Bordet f4ebc89ee3 Merge "spdy: add StandardSession and StandardStream toString() improvements" 2012-07-06 06:52:27 -04:00
Thomas Becker 17b585d2ce spdy: isIfModifiedSinceHeaderPresent should have been removed, but slipped through a conflict merge. remove that method. 2012-07-05 17:47:50 +02:00
Thomas Becker 1ff0b18b94 spdy: ReferrerPushStrategy configurable by SPDY version and add referrer push period 2012-07-04 19:28:08 +02:00
Simone Bordet 5e619ce525 Merge "spdy: push strategy move if-modified-since check from connection to ReferrerPushStrategy" 2012-07-04 11:38:19 -04:00
Thomas Becker 091fd73c3e spdy: add StandardSession and StandardStream toString() improvements 2012-07-04 15:43:09 +02:00
Greg Wilkins a519ecc1fb improved SPDY dump 2012-07-03 15:31:56 +02:00
Thomas Becker f09eaee521 spdy: push strategy move if-modified-since check from connection to ReferrerPushStrategy 2012-06-18 18:17:25 +02:00
Simone Bordet 3c0e13a7fe Fixed test after changes to the semantic of last-good-stream-id. 2012-06-12 14:07:18 +02:00
Simone Bordet 0ac2b99f6a Final pass at the implementation of a reverse SPDY proxy. 2012-06-12 12:56:58 +02:00
Simone Bordet 8f356ea922 Second pass at the implementation of a reverse SPDY proxy. 2012-06-12 00:38:46 +02:00
Simone Bordet 479c957a68 First pass at the implementation of a reverse SPDY proxy. 2012-06-11 18:53:37 +02:00
Simone Bordet 457fdc74e5 Modified StandardStream to not depend on SynStreamFrame. 2012-06-11 14:32:14 +02:00
Simone Bordet aeb3a23482 Making sure that cancelling the attempt to connect closes the channel. 2012-06-11 14:25:51 +02:00
Simone Bordet af836eb4b7 As per the Future contract, throw CancellationException if the Promise has been cancelled. 2012-06-11 14:23:53 +02:00
Simone Bordet 836c647fb8 Added utility method valuesAsString(). 2012-06-11 14:22:46 +02:00
Simone Bordet 4bb0a30839 Overridden allocate() to support direct buffers. 2012-06-11 14:21:03 +02:00
Simone Bordet b4e45d1bb7 Added method to allow to clear the async connection factories, for better configurability. 2012-06-08 12:29:39 +02:00
Simone Bordet 8894cdc31d Reviewed handling of the last stream id.
Now the last stream id is updated when a SYN is received, as the spec states.
2012-06-08 10:13:18 +02:00
Simone Bordet 7f39b8b7a4 Refactored atomic updates of max and min into utility class Atomics. 2012-06-08 09:59:36 +02:00
Simone Bordet cd05259be4 Updated ReferrerPushStrategy to limit the number of associated resources. 2012-06-05 13:30:15 +02:00
Simone Bordet c7d09af3f2 Improved ReferrerPushStrategy to check also for content-type of pushed resources. 2012-06-05 12:33:10 +02:00
Simone Bordet f5d63e8626 Moved version() method to base test class, and using HTTPSPDYHeader instead of hardcoded strings. 2012-06-05 12:32:07 +02:00
Simone Bordet b9a3c98055 Benchmark for PushStrategy: HTTP vs SPDY no push vs SPDY push. 2012-06-04 19:28:45 +02:00
Simone Bordet 3b0076fc6a Fixed completeHeader() to just not attempt to detect the close state.
This is needed because the buffer to write may be big, and while it's
the only buffer, it may take multiple writes to be written.
If it takes more than one write, we risk to mark the first frame as closed
and subsequent frames cannot be written.

Fixed flush() to loop until the whole content has been flushed.
2012-06-04 19:28:45 +02:00
Simone Bordet e328cb8141 Improved push of resources by executing them in a different thread.\nAdded a HTTP header that signal to the application that the HTTP request is actually a push. 2012-06-04 19:28:45 +02:00
Simone Bordet 51f307ca7c Made test more reliable. 2012-06-04 19:28:45 +02:00
Simone Bordet 20c0f23cc7 Improved exception logging. 2012-06-04 19:28:45 +02:00
Simone Bordet f0c2fd2474 Improved error reporting in case of a write failure. 2012-06-04 19:28:45 +02:00