Commit Graph

7474 Commits

Author SHA1 Message Date
Joakim Erdfelt b549410932 JSR-356 - Making WebSocketUpgradeFilter an attribute in the ServletContext 2013-07-25 09:43:47 -07:00
Simone Bordet 9c41f57b7c Merged branch 'master' into 'jetty-9.1'. 2013-07-25 17:43:54 +02:00
Simone Bordet 26a4e35689 Merged branch 'jetty-8' into 'master'. 2013-07-25 17:43:18 +02:00
Simone Bordet aa66b520f7 Merged branch 'jetty-7' into 'jetty-8'. 2013-07-25 17:41:06 +02:00
Simone Bordet eed3a7fec0 Increase external proxy test timeout. 2013-07-25 17:36:55 +02:00
Simone Bordet 06504f2c65 Fixed proxy test. 2013-07-25 17:20:17 +02:00
Simone Bordet 8c2be70330 Merged branch 'master' into 'jetty-9.1'. 2013-07-25 17:11:09 +02:00
Simone Bordet 89977cdab1 Completed a couple of TODOs. 2013-07-25 16:40:48 +02:00
Simone Bordet 743c78cc0c 412846 - jetty Http Client Connection through Proxy is failing with Timeout.
The problem was due to the fact that the server replied with HTTP/1.0
to the CONNECT request; because of this, the parser was not set in the
"head response mode".

Now we are setting the parser in the head response mode also if the
request method is a CONNECT.
2013-07-25 16:38:22 +02:00
Simone Bordet ee3c249579 Merged branch 'jetty-7' into 'jetty-8'. 2013-07-25 16:08:58 +02:00
Simone Bordet 3b18490ead 409028 - Jetty HttpClient does not work with proxy CONNECT method.
The problem was due to the fact that the server replied with HTTP/1.0
to the CONNECT request; because of this, the parser was set as non
persistent, and the tunnel was immediately closed.

Now we are setting the parser as persistent if the method is a CONNECT,
no matter what HTTP version the server specifies.
2013-07-25 16:08:02 +02:00
Jan Bartel 1d77a139fd Merge remote-tracking branch 'origin/master' into jetty-9.1 2013-07-25 23:06:33 +10:00
Jan Bartel 50a67eac6a Merge remote-tracking branch 'origin/jetty-8'
Conflicts:
	jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java
	jetty-client/src/test/java/org/eclipse/jetty/client/IdleTimeoutTest.java
	jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java
2013-07-25 13:22:14 +10:00
Jan Bartel 72b077921d Merge remote-tracking branch 'origin/jetty-7' into jetty-8 2013-07-25 11:26:35 +10:00
Greg Wilkins 2f08ba2948 413684 - Trailing slash shows JSP source
Fixed alias checkers.   Non existent directory does check for none existence.  Prefix and Suffix check look for none empty/trivial prefix/suffixes
2013-07-25 11:01:23 +10:00
Joakim Erdfelt ab7268e516 413684 - Trailing slash shows JSP source
+ Adding testcase to replicate issue.
2013-07-24 16:43:02 -07:00
Joakim Erdfelt d7d4e415ea JSR-356 - making use of ServiceLoader technique for finding Extensions 2013-07-24 14:46:59 -07:00
Joakim Erdfelt d967dafe45 JSR-356 - Refactoring Annotated method parameter detection and use 2013-07-24 12:32:15 -07:00
Joakim Erdfelt 70a57f223f Expanding EchoCase.toString 2013-07-24 12:32:15 -07:00
Thomas Becker 86e8cf7b29 embedded SPDYServer test - save one line of code by setting maxThreads in constructor 2013-07-24 13:14:37 +02:00
Thomas Becker 1a6698d43b embedded SPDYServer test - save one line of code by setting maxThreads in constructor 2013-07-24 13:12:28 +02:00
Simone Bordet f4a41efaad Merged branch 'master' into 'jetty-9.1'. 2013-07-24 11:21:36 +02:00
Simone Bordet 0f702624a3 410668 - HTTP client should support the PATCH method.
Modified the Request interface to add method(String) so that
additional HTTP methods (such as from WebDAV) can be used.
2013-07-24 10:33:42 +02:00
Thomas Becker 0049aa4322 412418 HttpTransportOverSPDY fix race condition while sending push streams that could cause push data not to be sent. Fixes intermittent test issues in ReferrerPushStrategyTest 2013-07-24 10:16:20 +02:00
Thomas Becker 1ab5de8ecd 412418 HttpTransportOverSPDY fix race condition while sending push streams that could cause push data not to be sent. Fixes intermittent test issues in ReferrerPushStrategyTest 2013-07-24 10:14:14 +02:00
Jan Bartel eb126ebaee Merge remote-tracking branch 'origin/master' into jetty-9.1 2013-07-24 16:38:39 +10:00
Jan Bartel e4a7203225 413486 SessionCookieConfig setters should throw IllegalStateException if called after context started 2013-07-24 16:32:21 +10:00
Jan Bartel 9f7de94f99 413486 SessionCookieConfig setters should throw IllegalStateException if called after context started 2013-07-24 15:14:54 +10:00
Simone Bordet 7b4ebc270c Merged branch 'master' into 'jetty 9.1'. 2013-07-23 18:44:45 +02:00
Simone Bordet 108aa247b4 412814 - HttpClient calling CompleteListener.onComplete() twice.
The problem was stemming from the HttpSender completing the response,
but the response was actually completed by HttpReceiver, resulting in the
double call to onComplete().

Now HttpSender checks whether it was able to complete the response, and
only in that case calls the onComplete() callback.
2013-07-23 18:40:46 +02:00
Simone Bordet f62c72c02b Fixed compilation error. 2013-07-23 17:28:51 +02:00
Simone Bordet 1c95bf9876 Code cleanups. 2013-07-23 16:47:03 +02:00
Simone Bordet ff3b36cfb0 Merged branch 'master' into 'jetty-9.1'. 2013-07-23 16:28:29 +02:00
Simone Bordet d0f0dedf20 413531 - Introduce pluggable transports for HttpClient.
Merge of the branch 'http_client_transport' is now complete,
and the implementation is sound for the HTTP transport.
A basic implementation for the SPDY transport exists, but needs
improvements.
2013-07-23 16:08:56 +02:00
Simone Bordet 86d51f057d Ignored idle timeout test, not yet implemented in within the SPDY transport. 2013-07-23 15:53:35 +02:00
Simone Bordet a1032465b8 Improved documentation. 2013-07-23 15:53:35 +02:00
Simone Bordet 55c204b3ba Fixed InputStreamContentProvider.hasNext() to be idempotent until next() is called. 2013-07-23 15:53:35 +02:00
Simone Bordet aa6226e1fa Merged branch 'jetty-9.1' into 'http_client_transport'. 2013-07-23 15:53:35 +02:00
Simone Bordet beee37e96a Moved HttpClientTransport SPDY implementation in its own module under the SPDY project. 2013-07-23 15:53:35 +02:00
Simone Bordet af06b25538 Javadocs. 2013-07-23 15:53:35 +02:00
Simone Bordet b82444e3d2 Improved HttpSender.sendHeaders() and sendContent() methods, separating HttpContent and the callbacks. 2013-07-23 15:53:35 +02:00
Simone Bordet 52b805697a Moved HTTPSPDYHeader into its own module, for use by a SPDY HttpClientTransport implementation. 2013-07-23 15:53:35 +02:00
Simone Bordet 64a8811a5b Proceeding only if expecting a 100-Continue response. 2013-07-23 15:50:51 +02:00
Simone Bordet bf47119109 Improved exception handling in HttpSender. 2013-07-23 15:50:51 +02:00
Simone Bordet 1fa4a47f1d Added debug code for terminal chunk bug. 2013-07-23 15:50:51 +02:00
Simone Bordet b246d70103 Updated HttpClient code to Jetty 9.1 after merge. 2013-07-23 15:50:51 +02:00
Simone Bordet a4c63caf26 Working draft of the abstraction of HttpClient transport. 2013-07-23 15:50:51 +02:00
Thomas Becker 1c546a90d6 ReferrerPushStrategy logging changes 2013-07-23 14:34:46 +02:00
Thomas Becker 4837b75eec 413155 HttpTransportOverSPDY remove constructor argument for version and get version from stream.getSession instead 2013-07-23 10:52:13 +02:00
Simone Bordet 3b7322f53b Merged branch 'master' into 'jetty-9.1'. 2013-07-23 10:01:17 +02:00