Greg Wilkins
93e21c8426
429487 - Runner code cleanups
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=429487
Also-by: Alexander Orlov <alexander.orlov@loxal.net>
Signed-off-by: Greg Wilkins <gregw@intalio.com>
2014-03-04 10:25:36 +11:00
Jan Bartel
af3f2f4894
429409 [osgi] jetty.websocket.servlet must import jetty.websocket.server
2014-03-03 12:54:11 +11:00
Joakim Erdfelt
3cf3f88091
jetty-util is a hard dependency for jetty-jndi
...
+ jetty-util is needed because of jetty logging
+ jetty-util was being pulled in via jetty-webapp but only
as a provided dependency.
2014-02-26 14:12:14 -07:00
Joakim Erdfelt
e36871e566
429180 - Make requestlog filename parameterized
...
+ made filename and filenameDateFormat parameterized
2014-02-26 12:49:53 -07:00
Greg Wilkins
2d8ca94a96
428859 Do not auto initialise jsr356 websocket if no annotations or EndPoints discovered
2014-02-25 11:46:11 +11:00
Simone Bordet
4031bc7f3b
Reduced websocket memory footprint by releasing the HTTP machinery
...
(request and response) after the upgrade.
2014-02-24 23:44:21 +01:00
Simone Bordet
4123001158
Removed UpgradeContext since it was not used.
2014-02-24 23:44:21 +01:00
Joakim Erdfelt
b3bfe2783f
Fixing WebSocketSession.suspend()
2014-02-24 08:08:11 -07:00
Simone Bordet
f465a13d6d
428435 - Large streaming message fails in MessageWriter.
...
Fixed buffering, synchronization and callback notification in the
websocket stream implementation classes.
2014-02-24 14:28:10 +01:00
Greg Wilkins
d349d640c0
428859 Do not auto initialise jsr356 websocket if no annotations or EndPoints discovered
2014-02-24 16:31:56 +11:00
Greg Wilkins
6e0f8b505e
428859 patches from quickstart branch
2014-02-24 14:29:01 +11:00
Jan Bartel
4ce60a1c83
428710 - JDBCSession(Id)Manager use read committed isolation level
2014-02-24 12:50:56 +11:00
Simone Bordet
34aa88472a
428266 - HttpRequest mangles URI query string.
...
Now raw query string is preserved.
2014-02-21 17:55:19 +01:00
Simone Bordet
3e52b60452
428266 - HttpRequest mangles URI query string.
...
Now raw query string is preserved.
2014-02-21 16:24:52 +01:00
Simone Bordet
7db67ff58f
Removed @SuppressWarnings("ForLoopReplaceableByForEach") because
...
it is a non standard warning not treated by the compiler but only
by IDEs. Relevant lines have comments in any case.
2014-02-21 14:50:45 +01:00
Greg Wilkins
8d979408b7
428660 Delay closing async HttpOutput until after UNREADY->READY
2014-02-21 12:31:31 +11:00
Simone Bordet
7d6c1548b1
428232 - Rework batch mode / buffering in websocket.
...
Fixed missing notification of the FLUSH_FRAME.
2014-02-20 22:17:16 +01:00
Simone Bordet
c3c4d059a6
Removed unnecessary synchronization.
2014-02-20 15:44:22 +01:00
Greg Wilkins
15952aeee4
428232 - Rework batch mode / buffering in websocket.
2014-02-21 00:54:32 +11:00
Simone Bordet
75cc42a647
Improved dump() output.
2014-02-19 23:18:14 +01:00
Joakim Erdfelt
395e8f1c8b
Adding examples of managing the websocket extensions
2014-02-19 11:32:18 -07:00
Joakim Erdfelt
6b1f17b503
Demonstration of BFINAL
2014-02-19 11:32:18 -07:00
Joakim Erdfelt
c1f547e2b3
Adding javadoc
2014-02-19 11:32:18 -07:00
Jan Bartel
fc7e353394
373952 Ensure MongoSessionManager un/binds session attributes on refresh only if necessary
2014-02-19 14:59:31 +11:00
Jan Bartel
8384b0febe
428418 JettyStopMojo prints some messages on System.err
2014-02-19 12:06:10 +11:00
Simone Bordet
b8df85ec48
Session open and close are now logged at debug level.
2014-02-18 18:51:05 +01:00
Simone Bordet
1ac6b82912
428232 - Rework batch mode / buffering in websocket.
...
Introduced the automatic batch mode, akin to Jetty 8's WebSocket
implementation.
Now, if there are no more frames to process, and the previous frames
have been aggregated, FrameFlusher auto-flushes the aggregated frames.
This simplifies applications because they don't need to call flush()
explicitly.
2014-02-18 18:31:49 +01:00
Simone Bordet
3240e7383b
428232 - Rework batch mode / buffering in websocket.
...
Improved logging by wrapping LOG.debug() calls in a
if (LOG.isDebugEnabled()) statement to avoid boxing of primitive
values.
2014-02-18 18:31:49 +01:00
Simone Bordet
0786da6cd0
428232 - Rework batch mode / buffering in websocket.
...
Avoid to create a new ByteBuffer just to create the mask integer,
saves allocation cost.
2014-02-18 18:31:49 +01:00
Simone Bordet
61b4b0f029
428232 - Rework batch mode / buffering in websocket.
...
Better default size for SimpleTextMessage Utf8StringBuilder,
to avoid multiple expansions and data copy of the underlying array.
2014-02-18 18:31:48 +01:00
Simone Bordet
996cc8bd92
428232 - Rework batch mode / buffering in websocket.
...
Optimized FrameFlusher to not create iterators when iterating over a
list, saving allocation costs.
2014-02-18 18:31:48 +01:00
Simone Bordet
5d8b00a098
Avoid boxing of the number of bytes flushed.
2014-02-18 18:31:48 +01:00
Simone Bordet
4bdca367dd
428232 - Rework batch mode / buffering in websocket.
...
Refactored FrameFlusher to handle aggregation of frames to support
JSR 356's batch mode.
Now FrameFlusher can aggregate frames as long as the FlushMode they
were sent is AUTO. When a frame that has FlushMode SEND arrives,
it will trigger the flush of the aggregate buffer (and eventually
also other queued frames).
A special BINARY frame is used to implement explicit flush()
invocations.
2014-02-18 18:31:48 +01:00
Simone Bordet
8e5c06b95c
428232 - Rework batch mode / buffering in websocket.
...
Refactored OutgoingFrames.outgoingFrame() to take an additional
parameter, FlushMode. This is in preparation for handling this new
parameter in FrameFlusher.
2014-02-18 18:31:48 +01:00
Greg Wilkins
f092561a8a
428383 limit white space between requests
2014-02-18 10:02:00 +11:00
Greg Wilkins
352a1303e0
424899 Initialize GzipHandler mimeTypes
2014-02-17 13:04:27 +11:00
Greg Wilkins
abb70b3bca
427738 fixed XSS in async-rest demo
2014-02-17 13:03:33 +11:00
Greg Wilkins
c12748a9e3
428238 Test HEAD request with async IO
2014-02-17 12:40:45 +11:00
Greg Wilkins
1f02dfc24f
428238 Test HEAD request with async IO
2014-02-17 12:32:28 +11:00
Greg Wilkins
d83cb54db2
removed servlet-api-3.1.b08 dependency
2014-02-17 12:24:14 +11:00
Simone Bordet
d2f1954fa0
427700 - Outgoing extensions that create multiple frames should flush
...
them in order and atomically.
Optimized CompressExtension to reduce data copying at minimum on the
write path.
2014-02-15 17:53:37 +01:00
Simone Bordet
a8e4caca90
427700 - Outgoing extensions that create multiple frames should flush
...
them in order and atomically.
Removed unused code.
2014-02-15 17:53:23 +01:00
Simone Bordet
a2a90c5c87
427700 - Outgoing extensions that create multiple frames should flush
...
them in order and atomically.
Modified FragmentExtension to use a Queue and IteratingCallback to
make sure that frames are iteratively fragmented.
The creation of the next fragment only happens when there is a callback
from the next outgoing layer.
2014-02-14 22:21:59 +01:00
Simone Bordet
ad15b27a01
427700 - Outgoing extensions that create multiple frames should flush
...
them in order and atomically.
Refactored PerMessageDeflateExtension and DeflateFrameExtension
introducing superclass CompressExtension that factors in common
functionalities.
2014-02-14 22:21:59 +01:00
Simone Bordet
81b8990dec
427700 - Outgoing extensions that create multiple frames should flush
...
them in order and atomically.
Modified DeflateFrameExtension to use a Queue and IteratingCallback to
make sure that frames are iteratively compressed in chunks.
The compression of the next chunk only happen when there is a callback
from the next outgoing layer.
2014-02-14 22:21:59 +01:00
Simone Bordet
53b1ee9e47
427700 - Outgoing extensions that create multiple frames should flush
...
them in order and atomically.
Modified ExtensionStack to use a Queue and IteratingCallback to make
sure that messages are processed sequentially.
2014-02-14 22:21:59 +01:00
Jan Bartel
075e6a7363
428157 Methods of anonymous inner classes can't be called via xml
2014-02-14 16:03:29 +11:00
Jan Bartel
b88724f23c
426490 HttpServletResponse.setBufferSize(0) results in tight loop (100% cpu hog)
2014-02-14 11:57:53 +11:00
Joakim Erdfelt
cff7c9dbcb
Cleaning up websocket connection open/close in favor of session open/close
2014-02-13 16:22:55 -07:00
Greg Wilkins
18e19260ff
Apply changes resulting from the quickstart project
2014-02-13 12:31:14 +11:00