5623 Commits

Author SHA1 Message Date
Joakim Erdfelt
20317fffeb Fixing stacktrace noise on tests 2012-10-10 11:35:19 -07:00
Joakim Erdfelt
1892dbfa03 Bug 391591 - WebSocket client should support x-webkit-deflate-frame
* Adding test + hack for BFINAL 0 vs BFINAL 1
2012-10-10 11:34:32 -07:00
Joakim Erdfelt
0cc7b5f907 Bug 391590 - WebSocket client needs ability to set requested extensions
* Adding UpgradeRequest.addExtensions(String ... extConfigs) interface
* Implementing in WebSocket Client & WebSocket Server
* Fixing case sensitive ClientUpgradeRequest.getHeaderValues(String key)
2012-10-10 11:19:06 -07:00
Joakim Erdfelt
9b7eb1da79 Bug 391588 - WebSocket Client does not set masking on close frames 2012-10-10 11:16:44 -07:00
Joakim Erdfelt
cae79aabc5 Fixing naming 2012-10-10 11:15:44 -07:00
Joakim Erdfelt
54e9c312ab Removing old handshake 2012-10-10 11:11:45 -07:00
Joakim Erdfelt
f2595a7ec3 Bumping up to jetty-test-helper 2.0 with new @Rule TestTracker & AdvancedRunner status messages. 2012-10-10 09:10:51 -07:00
Jesse McConnell
f26b792782 [Bug 391483] fix bad javadoc example in shutdown handler 2012-10-09 15:23:01 -05:00
Simone Bordet
f2756da146 jetty-9: replaced usage of deprecated JUnit class. 2012-10-09 10:41:53 +02:00
Simone Bordet
03b27d0c61 jetty-9: HTTP client: always dispatching after connection creation.
This is needed to allow onOpen() to execute just after the connection creation,
otherwise the application may delay the onOpen() call indefinitely by implementing
a request listener method.
2012-10-09 10:36:12 +02:00
Simone Bordet
0e448c6514 jetty-9: HTTP client: replaced usage of deprecated JUnit class. 2012-10-09 10:34:44 +02:00
Simone Bordet
02d0cc125c jetty-9: HTTP client: named the scheduler for better debugging. 2012-10-09 10:34:21 +02:00
Greg Wilkins
b1c50180b9 jetty-9 some better names 2012-10-09 09:09:04 +11:00
Simone Bordet
bad8f74840 jetty-9: HTTP client: avoid double dispatch for SSL, and made I/O dispatch a configurable parameter. 2012-10-08 14:25:59 +02:00
Simone Bordet
be044015ff jetty-9: HTTP client: allow configuration of sockets. 2012-10-08 11:38:26 +02:00
Simone Bordet
0ecd64a747 jetty-9: HTTP client: implemented Request idle timeout. 2012-10-08 11:05:27 +02:00
Simone Bordet
7cad4ebe52 jetty-9: DecryptedEndPoint now delegates the set of the idle timeout to the underlying EndPoint.
DecryptedEndPoint does not perform any scheduling for idle timeouts, because those are done
by SelectChannelEndPoint that is the usual underlying EndPoint of DecryptedEndPoint.
In case of more nested EndPoint/Connection chains, EndPoints that delegate (such as
DecryptedEndPoint) should delegate the idle timeout to the underlying EndPoint.
2012-10-08 11:05:27 +02:00
Simone Bordet
c751860af2 jetty-9: Improved HttpReceiver state handling. 2012-10-08 11:05:27 +02:00
Simone Bordet
84f6f65e90 jetty-9: Improved configurability of SPDYClient.Factory. 2012-10-08 11:05:27 +02:00
Simone Bordet
2748a9381e jetty-9: Added support for connect timeout. 2012-10-08 11:05:26 +02:00
Greg Wilkins
f4d12412eb jetty-9 added FilterConnectionFactory and made SpdyServer use it 2012-10-08 15:22:49 +11:00
Jan Bartel
31807b7892 391188 Files written with Request.getPart().write(filename) should not be auto-deleted 2012-10-08 11:09:41 +11:00
Greg Wilkins
c5d8fd748b jetty-9 added FilterConnection 2012-10-07 09:09:23 +11:00
Hugues Malphettes
12ee234010 Adding the javadoc that seems to be expected 2012-10-06 21:03:48 +08:00
Hugues Malphettes
3efefe37bc Clean-up OSGi test; add spdy OSGi test; fix felix
Upgrade to the latest pax-exam
Support for felix-3.x and 4.x as tested
Fix the spdy MANIFEST.MF generations
Add an integration test for SPDY
Refactor the test code

Squashed commit of the following:

commit bd020ee1214992d8d21a11dc800e04dc5e9b2001
Author: Hugues Malphettes <hmalphettes@gmail.com>
Date:   Sat Oct 6 16:58:43 2012 +0800

    Add spdy integration test for OSGi and clean-up

    Refacor the pax-exam OSGi integration tests
    Add an integration test for spdy.
    Execute the test under 2 versions of felix and 2 versions of equinox.

commit f3151a272ab92560432f3b76f564bf06b19bc22b
Author: Hugues Malphettes <hmalphettes@gmail.com>
Date:   Sat Oct 6 16:28:51 2012 +0800

    Fix the generated MANIFEST.MF

    OSGi integration test in the next commit.

commit 3152aa2b5e39cf2d3b81f8400488c0672e922b8d
Author: Hugues Malphettes <hmalphettes@gmail.com>
Date:   Fri Oct 5 16:58:29 2012 +0800

    Fix the startup of the servlet.

    setInitOrder(0) was working in jetty-7 and jetty-8 but not in jetty-9
    anymore. setInitOrder(1) is fine.

commit 8038d314f4f423e8608fd09dd42b840e101a0c13
Author: Hugues Malphettes <hmalphettes@gmail.com>
Date:   Thu Oct 4 17:53:28 2012 +0800

    Upgrade to pax-exam-2.6

commit 7136fa88e2410ac345b6ae0657d882c7e9714c0b
Author: Hugues Malphettes <hmalphettes@gmail.com>
Date:   Thu Oct 4 17:53:07 2012 +0800

    Support for felix-3.x and felix-4.x

commit 0bcc6b0d8ed5144150f90f578a90c558419349d1
Author: Hugues Malphettes <hmalphettes@gmail.com>
Date:   Thu Oct 4 17:53:28 2012 +0800

    Upgrade to pax-exam-2.6

commit 2e17466624650df433b6c5f11abafb56539ee740
Author: Hugues Malphettes <hmalphettes@gmail.com>
Date:   Thu Oct 4 17:53:07 2012 +0800

    Support for felix-3.x and felix-4.x
2012-10-06 17:26:14 +08:00
Joakim Erdfelt
41ea028706 Adding websocket client example 2012-10-04 14:02:36 -07:00
Joakim Erdfelt
d23215f3f4 Bug 391140 - Implement x-webkit-deflate-frame extension as-used by Chrome/Safari 2012-10-04 10:11:50 -07:00
Jan Bartel
36a2ed10be 391080 Multipart temp files can be left on disk from Request.getPart and getParts 2012-10-04 18:31:09 +10:00
Jan Bartel
25cdef966c 391080 Multipart temp files can be left on disk with MultiPartFilter 2012-10-04 15:24:23 +10:00
Jan Bartel
23fe83a689 391082 No exception if multipart input stream incomplete 2012-10-04 14:51:13 +10:00
Greg Wilkins
b18a5b05dc jetty-9 fixed double onFillable after 101 upgrade 2012-10-03 10:12:08 -07:00
Greg Wilkins
e1b7b4f101 jetty-9 fixed broken websocket from prir optimisations of HTTP dispatch 2012-10-02 18:01:23 -07:00
Greg Wilkins
435f8a6db8 jetty 9: Improved NPN client connection to perform the connection replacement from onFillable() rather than from NPN callback methods. 2012-10-02 15:49:25 -07:00
Greg Wilkins
604f4985d3 jetty 9: Improved NPN client connection to perform the connection replacement from onFillable() rather than from NPN callback methods. 2012-10-02 15:47:57 -07:00
Greg Wilkins
97d08c399a jetty-9 removed race with NPN replacing connection and extra wrap causing NPE in SSLEngineImpl 2012-10-02 15:00:31 -07:00
Greg Wilkins
6cc0734a1a jetty-9 miscillaneous optimizations: donot dispatch to HTTP and SPDY; improved executorCallback 2012-10-02 13:48:51 -07:00
Jesse McConnell
a665c70214 Merge branch 'jetty-9' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9 2012-10-02 08:01:59 -05:00
Thomas Becker
ef2939b86c jetty-9: AbstractTest replace deprecated TestWatchmen with TestWatcher 2012-10-02 12:12:33 +02:00
Jan Bartel
ce3ba58887 390163 Implement ServletRegistration.Dynamic.setServletSecurity 2012-09-29 16:15:55 +10:00
Joakim Erdfelt
28bb21eaf4 Updating websocket chart images for javadoc 2012-09-28 14:27:20 -07:00
Jan Bartel
c7e36470c5 390503 http-method-omission element not being processed 2012-09-28 20:16:52 +10:00
Jan Bartel
286df12f03 Merge remote-tracking branch 'origin/master' into jetty-8
Conflicts:
	jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java
2012-09-28 19:27:07 +10:00
Jan Bartel
156e33bd23 Merge remote-tracking branch 'origin/master' into jetty-8 2012-09-28 18:47:33 +10:00
Jan Bartel
f3e151467d 390161 Apply DeferredAuthentication fix to jaspi 2012-09-28 18:34:00 +10:00
Joakim Erdfelt
550c2835cf Adding some more examples 2012-09-27 16:41:29 -07:00
Joakim Erdfelt
c8fe5c18ec Making WebSocketServlet and WebSocketHandler both use same technique to configure 2012-09-27 12:38:33 -07:00
Jan Bartel
0ab5773963 390560 The method AnnotationParser.getAnnotationHandlers(String) always returns a empty collection. 2012-09-28 00:26:22 +10:00
Greg Wilkins
d3cb78e338 jetty-9 test servlet init order 2012-09-27 22:43:18 +10:00
Greg Wilkins
eacd75bbfd 390161 jetty-9 do not share DeferredAuthentication 2012-09-27 10:13:23 +10:00
Jan Bartel
95298f27c7 JETTY-1547 Jetty does not honor web.xml web-app/jsp-config/jsp-property-group/default-content-type 2012-09-27 07:25:34 +10:00