10212 Commits

Author SHA1 Message Date
Greg Wilkins
39b478e2c4 Speculative fix for EWYK SSL client 2015-01-02 14:33:25 +01:00
Greg Wilkins
3ad8f627e7 improved javadoc 2015-01-01 17:32:44 +01:00
Greg Wilkins
beacb948b1 Allow configuration of ExecutionStrategy
eg -Dorg.eclipse.jetty.io.ManagedSelector.ExecutionStrategy=org.eclipse.jetty.util.thread.ExecutionStrategy$ExecuteProduceRun
2015-01-01 17:04:00 +01:00
Greg Wilkins
3af9b145a3 Deprecated the AbstractConnection dispatchIO mechanism 2015-01-01 16:18:13 +01:00
Greg Wilkins
20fc880c3e Merge branch 'master' into jetty-9.3-ewyk 2014-12-31 16:29:40 +01:00
Greg Wilkins
200b3a3e64 fixed merge 2014-12-31 16:28:35 +01:00
Greg Wilkins
2e3c223917 Merge remote-tracking branch 'origin/jetty-9.2.x' 2014-12-31 16:16:57 +01:00
Greg Wilkins
d2cd28f7fa 455863 Fixed jetty.sh handling of multiple JETTY_ARGS
Also-by: Adrian Muraru <amuraru@adobe.com>
Signed-off-by: Greg Wilkins <gregw@intalio.com>
2014-12-31 16:01:54 +01:00
Greg Wilkins
58faca9e09 430951 Improved ordering of SSL ciphers 2014-12-31 15:45:08 +01:00
Greg Wilkins
5f2a7fdfce fixed http client respond before consumed test.
The server now is a bit lazier if the handler has not consumed content.  It will not block to consume and gives up and closes the connection instead.
2014-12-31 11:48:23 +01:00
Joakim Erdfelt
a79b154d1b 456209 - Bad ContextClassLoader in WebSocket onMessage
+ Sets the class loader on an incoming frame to the
  class loader that loaded the web socket session

Also-by: Michael MacFadden <michael@macfadden.org>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2014-12-29 12:10:55 -07:00
Greg Wilkins
191286970a Use remote IP to distribute connections over selectors 2014-12-28 01:05:56 +01:00
Greg Wilkins
fd605248dc Bah humbug 2014-12-25 10:21:20 +01:00
Greg Wilkins
a89a6927e8 yet another refactor of HttpInput.... must read -1 before isFinished is true 2014-12-24 19:34:06 +01:00
Jan Bartel
331d2a278d 455174 jetty-plus JNDI tests should use unique JNDI paths 2014-12-24 18:33:41 +01:00
Jan Bartel
fc2b6f0f74 455655 ensure multipart form-data parsing exception thrown to servlet 2014-12-24 18:25:27 +01:00
Jan Bartel
56b528145f 455476 - Persist updated session expiry time for MongoSessionManager 2014-12-24 14:05:40 +01:00
Greg Wilkins
ee3481cb3f fixed ByteArrayEndPoint dispatch 2014-12-24 12:50:19 +01:00
Greg Wilkins
26de8931a3 less verbose errors 2014-12-24 12:42:07 +01:00
Greg Wilkins
3e8969be6f different callbacks for HTTP blocking and async reads 2014-12-24 10:31:33 +01:00
Greg Wilkins
fecc03a2f5 fixed some more tests after EWYK refactor 2014-12-23 22:20:49 +01:00
Greg Wilkins
3f59bc4c14 refactored HttpConnector for EWYK - work in progress 2014-12-23 17:15:27 +01:00
Simone Bordet
023c593d35 Removed loop calling the ExecutionStrategy, since it was spinning.
In case of ProduceExecuteRun, the producer is called in a loop, and
it never returns null (unless stopped), so ExecutionStrategy.execute()
never returns.

In case of ExecuteProduceRun, ExecutionStrategy.execute() does return,
but only after it has arranged another thread to continue producing.
Therefore calling ExecutionStrategy.execute() in a loop was spinning
since the ExecutionStrategy had already arranged to produce with
another thread and therefore calling execute() again was a
no-operation hence causing the spinning.
2014-12-23 17:01:10 +01:00
Simone Bordet
9cff4a57e7 Merged branch 'master' into 'jetty-9.3-ewyk'. 2014-12-22 21:34:10 +01:00
Simone Bordet
e8c88cfd9c Merged branch 'jetty-9.2.x' into 'master'. 2014-12-22 21:32:09 +01:00
Simone Bordet
fc42d5d4aa Configuring output aggregation size when configuring output buffer size. 2014-12-22 21:29:02 +01:00
Simone Bordet
c944b06a61 New tests testing request retry. 2014-12-22 21:27:59 +01:00
Greg Wilkins
2a584613ee work in progress on EWYK HTTP 2014-12-21 20:56:36 +01:00
Greg Wilkins
e363dd41c2 HttpConnection refactoring work in progress 2014-12-21 15:23:36 +01:00
Greg Wilkins
24ffe377ce improved HttpInputTest 2014-12-21 12:42:27 +01:00
Greg Wilkins
ebaf84b97e Refactored HttpInput to use poison pills 2014-12-21 10:43:37 +01:00
Greg Wilkins
b0b038f5b0 fillInterest never recurses 2014-12-19 23:03:01 +01:00
Simone Bordet
448f150ac4 Cleaned up ExecutionStrategy by adding javadocs, removing methods not
used and renaming classes and methods to better names.
2014-12-19 11:25:09 +01:00
Simone Bordet
393bfa76f0 Code cleanups. 2014-12-19 10:15:14 +01:00
Simone Bordet
3d5c785dd3 Temporarily commented out non-compiling code. 2014-12-18 17:14:34 +01:00
Simone Bordet
4ccd5207b5 Switched ExecutionStrategy to EWYK. 2014-12-18 17:14:34 +01:00
Simone Bordet
e35c51eb7d Implemented dispatch to the application using an ExecutionStrategy.
Now instead of having the channel to dispatch when it detects that it
has to call the application (upon receiving a HEADERS frame, or upon
a push "fake" request), now the whole mechanism is controlled by an
ExecutionStrategy.
2014-12-18 17:14:34 +01:00
Simone Bordet
7f98b64658 Clearing the buffer in case of parser errors that lead to a
connection failure.
2014-12-18 17:14:34 +01:00
Simone Bordet
1c2c83e962 Added TODO to remove references to ByteBuffer.array() without
checking whether the ByteBuffer does have a backing array.
2014-12-18 17:14:34 +01:00
Greg Wilkins
3b34423b17 EWYK SelectorManager 2014-12-18 17:06:32 +01:00
Greg Wilkins
31e06b5791 refactored jetty-io to not have onFillable statemachine. work in progres... 2014-12-18 14:10:06 +01:00
Jan Bartel
5e8e0b11f5 455476 MongoSessionManager sessions always expire at create + maxIdle 2014-12-17 17:08:13 +01:00
Greg Wilkins
97af3632a1 SelectManager executes endpoint tasks 2014-12-17 17:03:15 +01:00
Greg Wilkins
bbd2ba60e7 fixed refactor file header 2014-12-17 16:36:46 +01:00
Greg Wilkins
cdd2b0a9d2 refacted SelectorManager to have a ManagedSelector 2014-12-17 16:29:24 +01:00
Greg Wilkins
37e7e5217a updated EWYK strategy 2014-12-17 12:52:17 +01:00
Jan Bartel
89a9aa2472 455330 Multiple Jetty-ContextFilePath entries separated by commas doesn't work 2014-12-17 12:22:34 +01:00
Joakim Erdfelt
40ae4767d1 Some extra safety checks 2014-12-16 15:52:33 -07:00
Joakim Erdfelt
2b241ac04b 454773 - SSLConnection use on Android client results in loop
+ Adding safety check for SSL unwrap in client mode that
  results in OK status but no content
2014-12-12 09:24:39 -07:00
Greg Wilkins
fe444b28dd 455047 Update JASPI
Added test harnesses. Corrected a few issues.
2014-12-12 16:48:45 +01:00