Commit Graph

7450 Commits

Author SHA1 Message Date
Jesse McConnell 5a0f8f8e4d Merge branch 'jetty-8' into release-8 2013-07-25 11:01:58 -05:00
Jesse McConnell 3c9bcd3ece set for release 2013-07-25 10:59:36 -05:00
Jesse McConnell f93e83ad3c Merge branch 'jetty-7' into release-7 2013-07-25 10:56:33 -05: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 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
Jesse McConnell e0ad2c4ee1 [maven-release-plugin] prepare for next development iteration 2013-07-25 07:52:39 -05:00
Jesse McConnell 99712058ca [maven-release-plugin] prepare release jetty-8.1.11.v20130725 2013-07-25 07:52:32 -05:00
Jesse McConnell 767dbe6778 [maven-release-plugin] prepare for next development iteration 2013-07-25 07:48:09 -05:00
Jesse McConnell cfa6076c4f [maven-release-plugin] prepare release jetty-7.6.11.v20130725 2013-07-25 07:48:02 -05:00
Jesse McConnell c805b15b3e set for release 2013-07-25 07:17:10 -05:00
Jesse McConnell 7fce5e3950 set for release 2013-07-25 07:16:58 -05:00
Jesse McConnell e3cc7023f8 Merge branch 'jetty-8' into release-8 2013-07-25 07:12:10 -05:00
Jesse McConnell 4c805903f8 Merge branch 'jetty-7' into release-7 2013-07-25 07:08:49 -05: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
Thomas Becker 86e8cf7b29 embedded SPDYServer test - save one line of code by setting maxThreads in constructor 2013-07-24 13:14:37 +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
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 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
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
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
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 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
Jan Bartel ecd687db6d 413034 Multiple webapps redeploy returns NamingException with AppDynamics javaagent 2013-07-19 18:02:23 +10: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
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
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
Thomas Becker 7d9803972e 413066 fix HttpTransportOverSPDYTest 2013-07-16 15:39:39 +02:00
Thomas Becker b858f266d6 413066 SPDY HEAD requests don't send response body anymore 2013-07-16 14:36:02 +02:00
Thomas Becker af02334ff7 412750 HttpClient close expired connections fix 2013-07-11 15:13:01 +02:00
Greg Wilkins 7b162460d7 412608 EOF Chunk not sent on inputstream static content
removed debug.
cleaned up imports.
2013-07-11 15:17:08 +10:00
Greg Wilkins fdb9d22734 412608 EOF Chunk not sent on inputstream static content
Reworked loop to handle the case of a partial read before EOF
2013-07-11 14:41:46 +10:00
Simone Bordet 8eb6649709 412712 - HttpClient does not send the terminal chunk after partial writes.
HttpGenerator._header and HttpGenerator._buffer may be null when
the content is written after a partial write.
In this case, the terminal chunk was not prepared, and therefore never
written.

The fix simply creates a HttpGenerator._header to prepare the terminal
chunk, so that it will be written.
2013-07-10 22:57:48 +02:00
Jesse McConnell ae3286f9fc [Bug 412713] add dumpOnStart configuration to jetty-maven-plugin 2013-07-10 15:54:48 -05:00
Jan Bartel fde47b1083 412637 ShutdownMonitorThread already started 2013-07-10 17:21:43 +10:00