Commit Graph

7444 Commits

Author SHA1 Message Date
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
Jan Bartel f19421112a 405535 implement Request.isUserInRole(role) check security-role-refs defaulting to security-role if no matching ref 2013-07-23 17:20:55 +10:00
Jan Bartel ca37782229 412829 Allow any mappings from web-default.xml to be overridden by web.xml 2013-07-23 12:18:18 +10:00
Simone Bordet 0aa2a5b6bb 411844 - ArrayIndexOutOfBoundsException on wild URL.
URLs like /path?= are now handled correctly.
2013-07-22 17:22:16 +02:00
Greg Wilkins b8f7637e7d Merge remote-tracking branch 'origin/master' into jetty-9.1 2013-07-22 23:32:04 +10:00
Greg Wilkins 8f190476b7 413393 better logging of bad URLs in Resources 2013-07-22 23:30:43 +10:00
Greg Wilkins e4ef8ee1f4 413154 ContextHandlerCollection defers virtual host handling to ContextHandler 2013-07-22 22:10:13 +10:00
Thomas Becker 8946b4946b SSLConnection comment out setting soLonger timeout to avoid threads stuck in preClose0 2013-07-22 11:52:13 +02:00
Thomas Becker ebfa3b97ba 410800 Make RewritePatternRule queryString aware 2013-07-19 14:12:47 +02:00
Thomas Becker 41a0e06e43 410800 Make RewritePatternRule queryString aware 2013-07-19 14:10:58 +02:00
Jan Bartel ecd687db6d 413034 Multiple webapps redeploy returns NamingException with AppDynamics javaagent 2013-07-19 18:02:23 +10:00
Greg Wilkins 8e83b574a2 412935 setLocale is not an explicit set of character encoding 2013-07-19 14:33:53 +10:00
Greg Wilkins be00279e7e 413291 Avoid SPDY double dispatch
reduced warning to only when debug is on
2013-07-19 11:16:51 +10:00
Greg Wilkins fede2a7151 413291 Avoid SPDY double dispatch
removed task queue from HttpChannelOverSPDY
2013-07-19 11:07:17 +10:00
Greg Wilkins d3ba7e9f2f added licence headers 2013-07-19 10:41:49 +10:00
Greg Wilkins 5bfcfc908a 398467 Servlet 3.1 Non Blocking IO
Added the DataRateLimitedServlet as an async example
2013-07-18 15:40:24 +10:00
Jan Bartel 48bedc3fd4 413020 Second call to HttpSession.invalidate() should throw exception
413019 HttpSession.getCreateTime() should throw exception after session is invalidated
2013-07-18 15:02:16 +10:00
Greg Wilkins 8645849272 398467 Servlet 3.1 Non Blocking IO
Added ByteBuffer write and improved test harnesses
2013-07-18 12:53:07 +10:00
Thomas Becker a1789c8f7c 412840 remove Future in SPDYClient.connect() and return Session instead in blocking version 2013-07-17 18:09:11 +02:00
Thomas Becker d65b511447 413155 simplify HttpTransportOverSPDY a bit more. Throw exceptions if send is called with no content, lastContent=false and no responseInfo 2013-07-17 15:52:55 +02:00
Thomas Becker 205ef85ead 413155 refactor HttpTransportOverSPDY to fix some bugs and reduce cyclomatic complexity 2013-07-17 13:34:03 +02:00
Joakim Erdfelt 2e1ad360ae Fixing compilation failure 2013-07-16 18:17:14 -07:00
Joakim Erdfelt e69b41e9cd JSR-356 Adding suppport for @PathParam 2013-07-16 16:56:03 -07:00
Joakim Erdfelt ba50e6b053 JSR-356 Adding echo tests on primitives 2013-07-16 14:05:59 -07:00
Simone Bordet 762e4ba4c3 413113 - Inconsistent Request.getURI() when adding parameters via Request.param().
Fixed by rebuilding the URI when a call to param() is made.
2013-07-16 21:50:22 +02:00
Simone Bordet 1555a7eb0a 413108 - HttpClient hardcodes dispatchIO=false when using SSL.
Reverted to use default value for dispatchIO - without hardcoding it.
2013-07-16 21:33:47 +02:00
Joakim Erdfelt fb00eb55cd JSR-356 Promoting ReflectUtils to websocket-common 2013-07-16 10:43:27 -07:00
Thomas Becker 11e0b57f68 413066 accept lower case method: head 2013-07-16 16:27:59 +02:00
Thomas Becker 0b3d91e94e disable debug logging 2013-07-16 15:52:41 +02:00