Commit Graph

370 Commits

Author SHA1 Message Date
Greg Wilkins 31def06214 jetty-9 URI parsing passed ByteBuffer so that strange query string encodings can be supported 2012-12-24 19:17:00 +11:00
Thomas Becker e1a663865c 394210 spdy api rename stream.syn() to stream.push() 2012-12-21 18:14:14 +01:00
Thomas Becker 26c5eb428f 396193 spdy remove timeout parameters from api and move them to the Info* classes 2012-12-21 13:24:16 +01:00
Simone Bordet c9f4513a89 Reworked HTTP client API, removing usage of Future. 2012-12-19 16:27:20 +01:00
Greg Wilkins 6bfc19be1b jetty-9 optimisation to dispatch before parsing so that handling is done in same thread 2012-12-14 09:50:22 +11:00
Thomas Becker 440d4c4bf4 394211 - spdy: Expose RemoteServerAddress and LocalServerAddress in StandardSession 2012-12-12 18:48:49 +01:00
Thomas Becker e299169ee3 StandardSession change LOG.warn in flush() back to LOG.debug 2012-12-12 18:48:49 +01:00
Thomas Becker 6567940471 HttpTransportOverSPDYTest hide stacktrace 2012-12-12 18:48:49 +01:00
Greg Wilkins 3e151901bf jetty-9 Use public HttpField 2012-12-08 01:41:01 +11:00
Greg Wilkins a20d984d30 jetty-9 Added Trie for cached string lookup. HttpFields does not use StringMap 2012-12-08 01:41:00 +11:00
Thomas Becker dc2850c898 396036 SPDY send controlFrames even if Stream is reset to avoid breaking the compression context 2012-12-07 13:22:19 +01:00
Thomas Becker db6fdca3b9 395922: Unit test that checks if ControlFrameBytes are sent in the right order even with priorization 2012-12-07 11:39:53 +01:00
Thomas Becker 98d17bdea9 395922: Avoid that SPDY frames containing headers are sent in another order than they have been created 2012-12-06 14:18:52 +01:00
Simone Bordet b2e878a7e8 + Introduced Request.content(ContentProvider content, String contentType)
+ Introduced a new renamings to clarify concepts
+ Vastly improved Javadocs.
2012-12-04 16:18:09 +01:00
Thomas Becker efc1a3e98f Fix javadoc in Stream.java and logging if a Stream is committed twice 2012-11-30 13:55:09 +01:00
Thomas Becker e1fb49d4d7 remove log.info in StandardSession.flush() 2012-11-29 14:22:01 +01:00
Thomas Becker 61fbc68be7 395312 log.warn if a SPDY stream gets committed twice 2012-11-29 13:37:02 +01:00
Greg Wilkins 4d823c28bf jetty-9 added jetty-all for javadoc, reinstated static context for javadoc, made proxy to xref 2012-11-29 17:41:54 +11:00
Greg Wilkins 21f717078c jetty-9 handle null push strategy 2012-11-29 17:03:40 +11:00
Thomas Becker 30091ccd89 395314 Add missing flush() call after StandardSession.complete() has been called. Some test cleanup. 2012-11-28 17:43:53 +01:00
Thomas Becker 68afcbba6c 395313 HttpTransportOverSPDY.send() does not rethrow exceptions, but call Callback.failed() only 2012-11-28 17:41:44 +01:00
Thomas Becker 0ec793bee5 395312 Avoid that streams get committed twice 2012-11-28 17:40:43 +01:00
Thomas Becker 6e70ee4211 394370 Add integration test for client resetting SPDY push SYN's 2012-11-26 15:25:47 +01:00
Simone Bordet ee893d8526 Corrected changes introduced with Promise.
Save creation of iterators for every append() and prepend() in StandardSession.
Removed PromisingCallback, only used by SPDY and better implemented otherwise.
2012-11-23 13:16:32 +01:00
Greg Wilkins 9edac367c8 394854 optimised promise implementation 2012-11-23 12:18:52 +11:00
Simone Bordet 04aafcae3c Fixed NPEs caused by guard introduced in AbstractFrameBytes's constructor for null callbacks. 2012-11-23 12:18:52 +11:00
Greg Wilkins 7737dc8c76 394854 Implemented Promise 2012-11-23 12:18:51 +11:00
Simone Bordet e9705abf21 Updated spdy configuration. 2012-11-19 23:29:16 +01:00
Thomas Becker 4ee88c3bc0 jetty-spdy-proxy.xml fixes, still not working 2012-11-19 23:29:16 +01:00
Thomas Becker a99a3ae254 newline after license header 2012-11-19 16:28:24 +01:00
Thomas Becker 3edae8a52d 394370 Add unit tests for HttpTransportOverSPDY.send() 2012-11-19 15:27:20 +01:00
Thomas Becker b76669434f Add messages to StreamExceptions thrown in StandardSession and StandardStream 2012-11-16 12:50:32 +01:00
Thomas Becker 6bc8bab92d 394383 - add logging of the SSLEngine 2012-11-16 11:43:24 +01:00
Greg Wilkins 139de22bc0 394370 correctly handle last content and responses with no content 2012-11-16 12:42:52 +11:00
Greg Wilkins 62e033fcd0 394370 392237 reverted Improved handling of SPDY async send. Added simple NPE protection to further investigate problem 2012-11-16 10:55:10 +11:00
Greg Wilkins b5c6555a4a 392237 Improved handling of SPDY async send 2012-11-16 10:45:08 +11:00
Simone Bordet 73ecfd6755 394383 - NPNServerConnection not upgraded causes spin.
Following a discussion on spdy-dev, we close the connection
if the NextProtocol message is missing.
2012-11-15 17:15:49 +01:00
Simone Bordet eda558aaa8 Added guard in case of null next protocol. 2012-11-15 15:29:03 +01:00
Simone Bordet a736ebc062 394383 - NPNServerConnection not upgraded causes spin.
We now guard the case where fill() returns, the TLS handshake is completed,
but we have no next protocol.
If that happens, we force the default protocol.
2012-11-15 14:22:13 +01:00
Thomas Becker accc3b321a config fix 2012-11-02 17:16:13 +01:00
Thomas Becker 971bf4dec7 393281: Add getters to expose ReferrerPushStrategy Config 2012-11-02 14:27:11 +01:00
Thomas Becker 3d3e077509 393281: Add User-Agent filter to ReferrerPushStrategy 2012-11-02 13:21:42 +01:00
Greg Wilkins 52464a5ba6 Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java
	jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourceAnnotationHandler.java
	jetty-client/src/test/java/org/eclipse/jetty/client/SslHttpExchangeTest.java
	jetty-client/src/test/java/org/eclipse/jetty/client/SslSecurityListenerTest.java
	jetty-deploy/src/main/java/org/eclipse/jetty/deploy/WebAppDeployer.java
	jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/ContextProvider.java
	jetty-http/src/main/resources/org/eclipse/jetty/http/mime.properties
	jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java
	jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java
	jetty-jmx/src/main/java/org/eclipse/jetty/jmx/MBeanContainer.java
	jetty-jmx/src/main/java/org/eclipse/jetty/jmx/ObjectMBean.java
	jetty-overlay-deployer/src/main/java/org/eclipse/jetty/overlays/OverlayedAppProvider.java
	jetty-plus/src/main/java/org/eclipse/jetty/plus/annotation/Injection.java
	jetty-plus/src/main/java/org/eclipse/jetty/plus/security/DataSourceLoginService.java
	jetty-proxy/src/main/java/org/eclipse/jetty/proxy/ProxyServlet.java
	jetty-rewrite/src/main/java/org/eclipse/jetty/rewrite/handler/ProxyRule.java
	jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java
	jetty-server/src/main/java/org/eclipse/jetty/server/session/JDBCSessionIdManager.java
	jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/proxy/ProxyHTTPSPDYConnection.java
	jetty-spdy/spdy-jetty-http/src/main/java/org/eclipse/jetty/spdy/http/ServerHTTPSPDYAsyncConnection.java
	jetty-start/src/main/java/org/eclipse/jetty/start/Main.java
	jetty-util/src/main/java/org/eclipse/jetty/util/Fields.java
	jetty-websocket/src/main/java/org/eclipse/jetty/websocket/WebSocketClientFactory.java
	jetty-websocket/src/main/java/org/eclipse/jetty/websocket/WebSocketConnectionRFC6455.java
	jetty-websocket/src/test/java/org/eclipse/jetty/websocket/WebSocketClientTest.java
	jetty-websocket/src/test/java/org/eclipse/jetty/websocket/WebSocketMessageRFC6455Test.java
	test-jetty-nested/src/main/java/org/eclipse/jetty/nested/Dump.java
	test-jetty-webapp/src/main/java/com/acme/Dump.java
2012-11-02 14:08:05 +11:00
Greg Wilkins 8723408731 Merge remote-tracking branch 'origin/jetty-7' into jetty-8
Conflicts:
	jetty-servlets/src/main/java/org/eclipse/jetty/servlets/MultiPartFilter.java
2012-11-02 13:17:53 +11:00
Greg Wilkins 65202e9abe 393363 Use Locale.ENGLISH for all toUpperCase and toLowerCase calls 2012-11-02 11:55:00 +11:00
Thomas Becker 1d6ec310b5 393160: fix connection leaks in NextProtoNegoClientConnection and NextProtoNegoServerConnection 2012-10-30 18:48:38 +01:00
Greg Wilkins add3c2b381 392237 improved names and examples for documentation 2012-10-29 17:59:39 +11:00
Simone Bordet 605b0360e1 HTTP client: reviewed API.
The API were inconsistent: sometimes using the C format for getters and setters
(e.g. String host(), void host(String)), sometimes using the JavaBeans format.

Now the API stick with the JavaBean format apart the "fluent" API in Request,
that is in the fluent format (i.e. C setter format, but returning this instead of void).
2012-10-26 23:42:18 +02:00
Greg Wilkins c51cabccc1 392237 moved HttpTransport towards asynchronous solution 2012-10-25 23:28:32 +11:00
Greg Wilkins bf7a0ace22 392237 Added BlockingCallback optimisation 2012-10-25 22:36:13 +11:00