Commit Graph

8838 Commits

Author SHA1 Message Date
Greg Wilkins 119718d86f added jetty-quickstart module 2014-03-19 09:56:19 +11:00
Jan Bartel 1ffd308bbe Remove duplicate mock classes; updated version of annotation and transaction dependencies 2014-03-18 16:13:40 +11:00
Joakim Erdfelt 47e7583ada 430088 - OnMessage*Callable decoding of streaming binary or text is not thread safe
+ Adding testcase for Decoder.TextStream and lots of short messages with
  order indicator (for the order in which they were sent)
  Test case validates that all of the messages were received, not that
  they were in any particular order (as the use of Streaming prevents
  reliable ordering)
+ Adding defensive copy of callable array in order to prevent any
  possibility of concurrency issues with streams and dispatched
  calls.
2014-03-17 15:05:55 -07:00
Simone Bordet 2ddb5f7dea Javadocs. 2014-03-17 11:40:36 +01:00
Joakim Erdfelt e1417861b9 430088 - OnMessageTextStreamCallable is not thread safe
+ Adding client side testcase for Decoder.TextStream use with a Reader
  and multiple frames being received.
2014-03-14 13:46:47 -07:00
Simone Bordet aa8b79b30a Integrated the FastCGI module into the distribution. 2014-03-14 13:11:31 +01:00
Simone Bordet 2f2d6bc538 Refactored FastCGI module into just two modules, client (for usage of
a standalone FCGI client) and server.
2014-03-14 11:35:54 +01:00
Simone Bordet 24b9270499 Removed dependency from junit-dep, now only using junit. 2014-03-14 11:02:14 +01:00
Greg Wilkins acbe13a210 430341 - add apache jsp and jstl optional modules 2014-03-14 16:54:03 +11:00
Greg Wilkins b3be247423 merged quickstart changes 2014-03-14 13:07:00 +11:00
Greg Wilkins d76c786803 430273 Cancel async timeout breaks volatile link to avoid race with slow expire 2014-03-14 10:27:32 +11:00
Simone Bordet 2b59cd305d Removed section to enforce usage of JDK 7 (it's implicit in Jetty 9). 2014-03-13 16:30:35 +01:00
Simone Bordet 655ed356aa Added bundle-symbolic-name property. 2014-03-13 16:30:02 +01:00
Simone Bordet ad1a231dad Integrated FastCGI module into main Jetty repository. 2014-03-13 16:21:34 +01:00
Simone Bordet 5bf85701dc Merged FastCGI implementation into 'master'. 2014-03-13 15:36:03 +01:00
Simone Bordet fbbe2426e5 Moved FastCGI project to a module directory for inclusion in the main Jetty repository. 2014-03-13 15:35:19 +01:00
Greg Wilkins 9c30e7a303 430242 - added SharedBlockingCallback to support threadsafe blocking 2014-03-13 21:12:55 +11:00
Jan Bartel b405ad8c4f 429357 JDBCSessionManager.Session.removeAttribute don't set dirty flag if attribute already removed 2014-03-13 16:21:23 +11:00
Greg Wilkins 4de73d508b 430242 - added SharedBlockingCallback to support threadsafe blocking 2014-03-13 14:46:00 +11:00
Greg Wilkins af7dd4b99e increase large writes to try to always achieve !isReady 2014-03-13 10:53:00 +11:00
Joakim Erdfelt 2afd16ec39 427368 - start.sh fails quietly on command line error
+ Correcting bad --daemon use
+ Adding start-log-file command line instead
+ Adding feedback about start-log-file use
2014-03-11 14:29:11 -07:00
Joakim Erdfelt b95e454f7d 417022 - Access current HttpConnection from Request not ThreadLocal
+ Adjusting WebSocketServerFactory.upgrade() to receive HttpConnection
  from Request object instead of ThreadLocal.
2014-03-11 12:12:44 -07:00
Joakim Erdfelt 6802dbd75c Cleaning up imports 2014-03-11 10:45:37 -07:00
Joakim Erdfelt 0c8bdb650c cleaning up test 2014-03-10 12:31:44 -07:00
Greg Wilkins 84fa579ec7 429616 Use UTF-8 encoding for XML 2014-03-10 15:23:08 +11:00
Jan Bartel eacdaf7073 Make ServiceLoader.load work with jetty-osgi-boot to support annotations. 2014-03-10 13:42:06 +11:00
Jan Bartel b6f36dadb2 Add appropriate headers to allow ServiceLoader mechanism to work with OSGi. 2014-03-10 13:42:05 +11:00
Jan Bartel 272940c2ec Exclude javax.activation jar from glassfish mail jar as unnecessary. 2014-03-10 13:42:05 +11:00
Jesse McConnell c273401742 set for dev 2014-03-07 09:10:45 -06:00
Jesse McConnell 0ec0d452e9 [maven-release-plugin] prepare for next development iteration 2014-03-07 09:10:08 -06:00
Jesse McConnell 1e555567a9 [maven-release-plugin] prepare release jetty-9.1.3.v20140225 2014-03-07 09:10:08 -06:00
Jesse McConnell 76429e55e4 set for release 2014-03-07 09:10:08 -06:00
Joakim Erdfelt a3e5e0858c 428595 - JSR-356 / ClientContainer does not support SSL
+ Default SslContextFactory initialized
+ Setting for trustAll configurable via System property
    "org.eclipse.jetty.websocket.jsr356.ssl-trust-all"={bool}
2014-03-06 13:28:56 -07:00
Joakim Erdfelt 5d36a4cb73 428594 - File upload with onMessage and InputStream fails
+ Adding unit test to verify reported behavior
2014-03-06 13:19:30 -07:00
Joakim Erdfelt f282ffe897 429779 - masked zero length websocket frame gives NullPointerException during streaming read
+ Corrected payload buffer copying to ignore null and empty payloads
2014-03-06 11:29:42 -07:00
Jan Bartel 6959d911d5 428597 javax-websocket-client-impl and javax-websocket-server-impl jars Manifests do not export packages for OSGI 2014-03-06 16:47:10 +11:00
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
Jesse McConnell 5a487901ab [maven-release-plugin] prepare for next development iteration 2014-02-25 14:54:17 -06:00
Jesse McConnell 511162bc73 [maven-release-plugin] prepare release jetty-9.1.3.v20140225 2014-02-25 14:54:11 -06:00
Jesse McConnell e7208b86fa set for release 2014-02-25 14:27:42 -06:00
Jesse McConnell a585f57175 Merge branch 'master' into release-9 2014-02-25 14:26:32 -06: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