Simone Bordet
7918a58c71
Using Callback.Adapter.INSTANCE to avoid unneeded allocations.
2014-05-19 18:49:17 +02:00
Greg Wilkins
2e261b75d6
433692 improved buffer resizing
2014-04-29 20:36:13 +02:00
Simone Bordet
9f786402fd
Added TODO, reminding to notify failure outside sync blocks.
2014-01-14 22:51:18 +01:00
Joakim Erdfelt
a12fd9ea03
Happy New Year - 2014!
2014-01-02 14:50:14 -07:00
Simone Bordet
3d438c2028
424651 - org.eclipse.jetty.spdy.Flusher use of non-growable
...
ArrayQueue yield java.lang.IllegalStateException: Full.
Made the ArrayQueue growable.
2013-12-26 12:52:20 +01:00
Simone Bordet
7a51f602dd
Fixed SPDY Flusher.
...
Write were performed from within synchronized blocks, which was wrong.
Refactored the code to make these calls outside of synchronized blocks.
2013-12-20 19:13:09 +01:00
Simone Bordet
8d621a9331
424043 - IteratingCallback Idle race.
...
A few renamings and fixes to avoid IllegalStateExceptions.
2013-12-15 23:51:04 +01:00
Simone Bordet
41fc2b8f87
424043 - IteratingCallback Idle race.
...
Renamed Next enum to Action, and renamed some constant of the State
enum to avoid confusion with the Action enum.
Simplified succeeded() and failed(Throwable) code,
covering also cases not covered before.
Fixed case SCHEDULED in succeeded() that was returning in case the
compareAndSet failed.
Fixed race in perform(), where 2 threads may execute concurrently
after having returned from process().
Vastly improved javadocs and comments.
2013-12-15 00:47:55 +01:00
Greg Wilkins
7141483356
424043 - IteratingCallback Idle race
2013-12-14 09:14:12 +11:00
Simone Bordet
ce4e07f6a4
Added comments about optimizations that may be included as part of
...
fixing 423974 - Optimize flow control.
2013-12-13 13:39:46 +01:00
Simone Bordet
6f316f9887
423930 - SPDY streams are leaked.
...
With this fix, when streams are closed or failed, the stream is closed
and its idle timeout is canceled, avoiding the leaking.
2013-12-13 13:39:46 +01:00
Simone Bordet
f4a5f68bdd
Using org.junit.Assert rather than junit.framework.Assert.
2013-12-13 13:39:46 +01:00
Greg Wilkins
23091e2272
421697 - IteratingCallback improvements
...
made gather size configurable
2013-11-21 16:00:50 +11:00
Greg Wilkins
0a52c64d16
421697 - IteratingCallback improvements
...
Use the iteratingcallback for websocket
use gather writes for websocket
always write entire websocket payload
2013-11-21 15:11:56 +11:00
Greg Wilkins
1eb2997efd
421697 - IteratingCallback improvements
...
avoid wrapping writeCallback
Idle state added to IteratingCallback for SPDY
2013-11-21 14:52:39 +11:00
Greg Wilkins
f567bddad9
global clean up imports
2013-11-04 13:48:03 +11:00
Joakim Erdfelt
2c2bc46211
Fixing compilation errors
2013-11-03 11:38:38 -07:00
Greg Wilkins
eb3bb660b5
Merge remote-tracking branch 'origin/master' into jetty-9.1
...
Conflicts:
jetty-client/src/main/java/org/eclipse/jetty/client/util/DigestAuthentication.java
jetty-client/src/test/java/org/eclipse/jetty/client/HttpReceiverTest.java
jetty-client/src/test/java/org/eclipse/jetty/client/HttpSenderTest.java
jetty-http/src/main/java/org/eclipse/jetty/http/HttpField.java
jetty-server/src/test/java/org/eclipse/jetty/server/AbstractHttpTest.java
jetty-servlets/src/test/java/org/eclipse/jetty/servlets/AbstractDoSFilterTest.java
jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/generator/HeadersBlockGenerator.java
jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/parser/HeadersBlockParser.java
jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/ClientUpgradeRequest.java
jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/WebSocketFrame.java
jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/WebSocketSession.java
jetty-websocket/websocket-common/src/test/java/org/eclipse/jetty/websocket/common/extensions/compress/DeflateCompressionMethodTest.java
jetty-websocket/websocket-common/src/test/java/org/eclipse/jetty/websocket/common/extensions/compress/PerMessageDeflateExtensionTest.java
2013-11-03 18:22:09 +11:00
Mikhail Mazursky
6b0269a16d
[Bug 420930] Use Charset to specify character encoding
...
Signed-off-by: Mikhail Mazursky <mikhail.mazursky@gmail.com>
2013-11-02 14:44:36 +06:00
Simone Bordet
0c80567c12
Using StandardCharset fields instead of Charset.forName().
2013-10-21 16:14:18 +02:00
Simone Bordet
2d6190da59
Refactored class Fields to a better API.
2013-10-18 13:55:49 +02:00
Thomas Becker
081e7d3bbd
415609 spdy replace SessionInvoker with IteratingCallback. Introduce Flusher class to separate queuing/flushing logic from StandardSession
2013-10-11 10:51:05 +02:00
Thomas Becker
bfb90523d6
SPDY remove unnecessary flush calls
2013-09-23 14:39:49 +02:00
Greg Wilkins
f2f8ec54c6
Merge remote-tracking branch 'origin/master' into jetty-9.1
...
Conflicts:
aggregates/jetty-all/pom.xml
examples/embedded/src/main/java/org/eclipse/jetty/embedded/MinimalServlets.java
examples/embedded/src/main/java/org/eclipse/jetty/embedded/SecuredHelloHandler.java
2013-09-23 13:38:43 +10:00
Thomas Becker
5346e06d4a
417289 SPDY replace use of direct buffers with indirect buffers or make it configurable
2013-09-19 15:43:07 +02:00
Greg Wilkins
070ce9dd22
Merge remote-tracking branch 'origin/master' into jetty-9.1
...
Conflicts:
jetty-start/src/main/java/org/eclipse/jetty/start/Main.java
jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java
2013-09-09 15:41:17 +10:00
Mikhail Mazursky
767faece5c
[Bug 415999] Fix some of FindBugs warnings
...
Mostly not closed streams/DB resources are fixed. But also less
important things.
Signed-off-by: Mikhail Mazursky <mikhail.mazursky@gmail.com>
2013-09-09 00:24:31 -04:00
Thomas Becker
af1abb7af6
416026 improve error handlig in SPDY parsers
2013-08-28 14:45:39 +02:00
Joakim Erdfelt
a6527a2ae0
Javadoc fixes
2013-08-26 16:04:28 -07:00
Thomas Becker
525b268d41
415656 SPDY - add IdleTimeout per Stream functionality
2013-08-22 14:00:27 +02:00
Thomas Becker
81e92fcc13
409845 add test that makes sure that DataFrameGenerator correctly prepends the header information
2013-07-05 16:11:29 +02:00
Thomas Becker
d2470f6170
410805 StandardSession: remove all frameBytes for a given stream from queue if the stream is reset
2013-07-01 11:35:13 +02:00
Thomas Becker
d93faf589c
409598 spdy: Fix NPE when a broken client tried to create duplicate stream IDs
2013-06-12 16:23:31 +02:00
Thomas Becker
937c3b13b8
410098 inject accept-encoding header for all http requests through SPDY as SPDY clients MUST support spdy. Also remove two new tests that have been to implementation agnostic and not needed anymore due to recent code changes
2013-06-07 15:13:59 +02:00
Thomas Becker
f62cec561b
406214 fix constructor for PushSynInfo ignores timeout, remove timeout for creating push streams in HttpTransportOverSPDY
2013-04-26 16:33:03 +02:00
Thomas Becker
270083f6a1
405570 spdy push - send push resources in the order they have been requested. Do not interleave sending the bytes of the push streams.
2013-04-22 13:50:02 +02:00
Thomas Becker
7ed3a343ad
405449 spdy improve handling of duplicate stream Ids
2013-04-11 12:28:33 +02:00
Thomas Becker
6a6660bfc6
405364 spdy imeplement MAX_CONCURRENT_STREAMS
2013-04-10 16:49:45 +02:00
Thomas Becker
e1a31f468e
403370 move frameBytes.fail() call in StandardSession.flush() outside the synchronized block to avoid deadlock
2013-03-15 15:49:05 +01:00
Thomas Becker
1aa8fce78b
402277 spdy proxy: fix race condition in nested push streams initiated by upstream server. Fix several other small proxy issues
2013-03-04 10:25:17 +01:00
Thomas Becker
88e32cb021
401183 Handle push streams in new method StreamFrameListener.onPush() instead of SessionFrameListener.syn()
2013-02-19 15:22:55 +01:00
Thomas Becker
95698ca248
396606 make spdy proxy capable of receiving SPDY and talk HTTP to the upstream server
2013-01-31 15:11:30 +01:00
Thomas Becker
1f6d058b20
intermittent commit
2013-01-28 12:18:30 +01:00
Jesse McConnell
e1c516c7d1
merge from jetty-8 and update license blocks.
2013-01-11 17:04:53 -06:00
Jesse McConnell
a4dbb5823c
update license blocks for 2013
2013-01-11 14:57:51 -06:00
Greg Wilkins
27c31fb403
jetty-9 organised imports. Cleaned up some TODOs
2013-01-11 16:37:32 +11:00
Greg Wilkins
31def06214
jetty-9 URI parsing passed ByteBuffer so that strange query string encodings can be supported
2012-12-24 19:17:00 +11:00
Thomas Becker
e1a663865c
394210 spdy api rename stream.syn() to stream.push()
2012-12-21 18:14:14 +01:00
Thomas Becker
26c5eb428f
396193 spdy remove timeout parameters from api and move them to the Info* classes
2012-12-21 13:24:16 +01:00
Thomas Becker
440d4c4bf4
394211 - spdy: Expose RemoteServerAddress and LocalServerAddress in StandardSession
2012-12-12 18:48:49 +01:00