7772 Commits

Author SHA1 Message Date
Simone Bordet
4923252ce4 Changed defaults for ArrayByteBufferPool.
There are cases, for example in WebSocket, where we want to allocate
small buffers to write frame headers and then do a gathered write.
ArrayByteBufferPool had a minimum size of 64 bytes,
which was too big and always led to allocation rather than pooling,
leading to performance slowdowns.

Defaults are now minSize=0, increment=1024.
2013-08-23 15:56:44 +02:00
Simone Bordet
72c4dbc46e 415062 SelectorManager wakeup optimisation.
Fixed race condition that could have allowed changes in queue but
selector waiting in select().
2013-08-23 14:12:11 +02:00
Greg Wilkins
bddf536caa fixed header 2013-08-23 20:07:05 +10:00
Greg Wilkins
e4235ea070 415744 - Reduce Future usage in websocket 2013-08-23 19:58:46 +10:00
Greg Wilkins
c27020740f 415062 SelectorManager wakeup optimisation 2013-08-23 11:01:54 +10:00
Greg Wilkins
a6b6891d8b 415641 Remove remaining calls to deprecated HttpTranspoert.send
Actually removed the impl of the deprecated method that is no longer called.
2013-08-23 10:23:52 +10:00
Greg Wilkins
56353349c2 Merge branch 'jetty-9.1' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9.1 2013-08-22 23:02:10 +10:00
Greg Wilkins
59540abeda Merge remote-tracking branch 'origin/master' into jetty-9.1
Conflicts:
	jetty-server/src/main/java/org/eclipse/jetty/server/HttpOutput.java
	jetty-util/src/main/java/org/eclipse/jetty/util/IteratingCallback.java
2013-08-22 22:58:58 +10:00
Thomas Becker
465f151669 415641 Remove remaining calls to deprecated HttpTranspoert.send(HttpGenerator.ResponseInfo info, ByteBuffer content, boolean lastContent) throws IOException 2013-08-22 14:00:27 +02:00
Thomas Becker
525b268d41 415656 SPDY - add IdleTimeout per Stream functionality 2013-08-22 14:00:27 +02:00
Greg Wilkins
c4583918a3 415330 Avoid multiple callbacks at EOF 2013-08-22 21:31:29 +10:00
Greg Wilkins
16191da3ac reduced test times 2013-08-22 21:31:29 +10:00
Simone Bordet
c0ed8375d3 Removed unnecessary hack to determine the logger name. 2013-08-22 12:20:18 +02:00
Simone Bordet
8f41e33938 Improved idle timeout mechanism. 2013-08-22 12:17:13 +02:00
Jan Bartel
a64319b9b1 Merge remote-tracking branch 'origin/master' into jetty-9.1 2013-08-22 20:11:08 +10:00
Jan Bartel
1ad9d6cff6 411934 War overlay configuration assumes src/main/webapp exists 2013-08-22 20:03:46 +10:00
Greg Wilkins
15f3a4e7c7 reduced test times 2013-08-22 18:17:50 +10:00
Joakim Erdfelt
03cd15ea82 Adding Module / Modules system classes for start.d 2013-08-21 15:12:17 -07:00
Joakim Erdfelt
77cbd9ec4b Import cleanup 2013-08-21 15:12:17 -07:00
Jan Bartel
48ae7ec3f6 Merge remote-tracking branch 'origin/master' into jetty-9.1 2013-08-22 07:56:22 +10:00
David Harrigan
e351f04002 bug 415302
Patch to protect against null input's.

-=david=-

Signed-off-by: David Harrigan <dharrigan@gmail.com>
2013-08-22 07:47:10 +10:00
Simone Bordet
4f21d42b78 Fixed recycling of fields, now correctly restored to their initial
values.
2013-08-21 22:22:05 +02:00
Simone Bordet
0cdd884672 Merged branch 'master' into 'jetty-9.1'. 2013-08-21 22:20:11 +02:00
Simone Bordet
8951c4c773 Added tests for AsyncContext listeners behaviour. 2013-08-21 22:18:56 +02:00
Joakim Erdfelt
00e5daa37e Adding some WebSocket examples 2013-08-21 11:13:45 -07:00
Thomas Becker
f11d9ba4d6 Remove HttpStalledServerConnectionTest 2013-08-21 10:43:07 +02:00
Joakim Erdfelt
4d9cb44536 WebSocket - Calling setPayload() outside of ContinuationFrame 2013-08-20 16:51:11 -07:00
Joakim Erdfelt
e56fddfc4a WebSocket - Calling setPayload() outside of TextFrame and BinaryFrame 2013-08-20 16:45:26 -07:00
Joakim Erdfelt
a089780701 WebSocket - Calling setPayload() outside of PingFrame and PongFrame 2013-08-20 16:39:26 -07:00
Joakim Erdfelt
975d9870d2 WebSocket - more code cleanup 2013-08-20 16:28:51 -07:00
Joakim Erdfelt
c6a4af4f78 WebSocket - cleaning up frame initialization and use 2013-08-20 15:45:07 -07:00
Joakim Erdfelt
8c77fe2404 WebSocket - addressing bug in Partial message support 2013-08-20 15:31:12 -07:00
Joakim Erdfelt
c548cba71c WebSocket - fixing windowed parse issue with masked frames 2013-08-20 12:56:32 -07:00
Jesse McConnell
307fdced91 Merge branch 'master' into jetty-9.1 2013-08-20 14:02:45 -05:00
Jesse McConnell
fd5d789ff5 [Bug 411069] better set compiler defaults to 1.7, including webdefault.xml for jsp 2013-08-20 13:34:33 -05:00
Jesse McConnell
724b96955d Merge branch 'jetty-8' 2013-08-20 13:03:26 -05:00
Jesse McConnell
b4fab3fbc5 Merge branch 'jetty-7' into jetty-8 2013-08-20 13:02:40 -05:00
Jesse McConnell
3d6711b4ab [Bug 413484] setAttribute in nosql session management better handles _dirty status 2013-08-20 13:01:52 -05:00
Jesse McConnell
a69deacc4c [Bug 411069] update minimum jdk versions in pom.xml's 2013-08-20 12:40:33 -05:00
Joakim Erdfelt
34f03cb0e8 WebSocket / releasing (header) buffer acquired during generation 2013-08-20 09:57:57 -07:00
Greg Wilkins
9bb6d91742 414635 Modular start.d and jetty.base property
dependencies
2013-08-20 17:04:20 +10:00
Greg Wilkins
26fbd41376 414635 Modular start.d and jetty.base property
Transitive dependencies. Working jetty.base
2013-08-20 17:03:30 +10:00
Jan Bartel
ccf59bf75d 412934 Ignore any re-definition of an init-param within a descriptor
Also tidy of code.
2013-08-20 09:45:02 +10:00
Joakim Erdfelt
f08aa88fbd jetty-start / HomeBase -> BaseHome and fix to ini expansion order 2013-08-19 16:17:32 -07:00
Joakim Erdfelt
8e66da396e Merge branch 'jetty-9.1-wssplitframe' into jetty-9.1 2013-08-19 15:27:09 -07:00
Joakim Erdfelt
3dbcc04b73 Breaking apart WebSocketFrame into sub-frame types
+ Performance improvements?
+ Less copying of data
2013-08-19 15:26:07 -07:00
Simone Bordet
45724b63ec Improved masking performance by using ints instead of bytes. 2013-08-19 22:11:52 +02:00
Simone Bordet
1c73ce674f Using direct buffers for reads, to avoid copy of the bytes by the
JDK, and because they yield better performance for masking.
2013-08-19 22:11:40 +02:00
Jan Bartel
ad8db51ed5 415314 Jetty should not commit response on output if < Response.setBufferSize() bytes are written 2013-08-19 17:52:39 +10:00
Greg Wilkins
c0402dec4a 414635 Modular start.d and jetty.base property
Merged branch jetty-9.1-altstart with cherry picks of
ecf30e4
72f8143
998f95b
46a9495
fe4b922
3443593
2b40990
07636db
4e1a62b
aed6811
578613e
b1b394b
2013-08-19 16:29:01 +10:00