2741 Commits

Author SHA1 Message Date
Thomas Becker
b9f45e9426 CGI.java code format
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2011-11-04 15:56:18 +01:00
Simone Bordet
f21752dbe3 Merge branch '360665' 2011-11-04 15:54:26 +01:00
Simone Bordet
0a40c3d750 Cleaned up test case and implementation for #360665 (Proxying HTTPS request to HTTP port causes exception loop).
Class SelectConnector.ProxySelectChannelEndPoint did not follow the latest changes to interface EndPoint, and was
returning wrong values for isInputShutdown() and other few methods.
Also suppressed expected exceptions in the test case.
2011-11-04 15:31:00 +01:00
Simone Bordet
9aee1affe5 Merged the handling of the case where there will not be more input, but the parser is in a middle state.
This case may happen when the client sends content and signal the end of the content by closing the connection.
The parser will be in a middle state, waiting for more content, and needs to read the connection close, otherwise
it may erroneously think that the exchange has failed.
2011-11-04 15:27:39 +01:00
Simone Bordet
f1251412e4 Modified behavior of shutdownInput() and shutdownOutput() to always shutdown either input or output.
Calling socket.close() does not imply that socket.isInputShutdown() returns true, so there was a
possibility that code was calling ChannelEndPoint.shutdownInput(), but the input was not really
shutdown, and a subsequent call to ChannelEndPoint.isInputShutdown() returned false.
2011-11-04 15:22:43 +01:00
Thomas Becker
f01877e738 360665: Fixed an endless loop on https proxy requests + added tests
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2011-11-04 10:20:52 +01:00
Joakim Erdfelt
5ca9dbb7d4 Undoing recent change as redundant, existing STRICT block does the same thing 2011-11-03 16:03:46 -07:00
Joakim Erdfelt
de4253b5e6 Bug 362850 - Websocket allowing >125 octets on control frame payloads 2011-11-03 15:47:12 -07:00
Joakim Erdfelt
afd2cedfa7 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2011-11-03 11:07:04 -07:00
Joakim Erdfelt
e2f15522bd Fixing junit test cases affected by close status code changes 2011-11-03 09:18:31 -07:00
Joakim Erdfelt
c1d681551b Bug 362740 - Websocket D13 close handling is off [autobahn]
+ Address autobahn 0.4.3 test cases 7.9.*
  Description: Send close with invalid close code (999. 1004, 1005, 1006, 1011, 1100, 2000, 2999, 5000, 65535)
  Expectation: Clean close with protocol error code
2011-11-02 20:04:03 -07:00
Joakim Erdfelt
da60996ce5 Bug 362740 - Websocket D13 close handling is off [autobahn]
+ Address autobahn 0.4.3 test case 7.5.1
  Description: Send a close frame with invalid UTF8 payload
  Expectation: Clean close with protocol error or invalid utf8 code
2011-11-02 17:22:40 -07:00
Joakim Erdfelt
e207ea357e Minor update to invalid utf8 test case (expanding bad examples) 2011-11-02 17:22:32 -07:00
Joakim Erdfelt
4314c55c77 Bug 362740 - Websocket D13 close handling is off [autobahn]
+ Address autobahn 0.4.3 test case 7.3.2
  Description: Send a close frame with payload length 1
  Expectation: Clean close with protocol error
2011-11-02 16:58:29 -07:00
Joakim Erdfelt
cafbb47a2f Bug 362740 - Websocket D13 close handling is off [autobahn]
+ Address autobahn 0.4.3 test case 7.3.1
  Description: Send a close frame with payload length 0 (no close code, no close reason)
  Expectation: Clean close with normal code
2011-11-02 16:47:48 -07:00
Joakim Erdfelt
5f653aa87a Minor tweak to SCEP.toString() to make it a bit more readable 2011-11-02 16:47:40 -07:00
Jesse McConnell
81e58f1f71 [Bug 362447] add setMaxNonceAge() to DigestAuthenticator 2011-11-02 16:39:22 -05:00
David Rosell
c83b02c4a7 [Bug 362407] setTrustStore(Resource) -> setTrustStoreResource(R) 2011-11-02 14:37:02 -05:00
Jesse McConnell
25f70e9060 [Bug 362696] expand virtual host configuration options to ContextHandler
and add associated test case for new behavior
2011-11-02 11:29:45 -05:00
Jesse McConnell
317baa1010 [Bug 362696] additional virtual host configuration options to
ContextHandler
2011-11-02 11:29:45 -05:00
Jan Bartel
48cafe46a6 362614 NPE in accepting connection 2011-11-02 12:01:31 +11:00
Jesse McConnell
971115a00a enable tests-parent and tests-common-sessions so they are deployed for external users 2011-10-31 17:42:21 -05:00
Jan Bartel
56c1ddf117 JETTY-1442 add _hostHeader setter for ProxyRule 2011-10-31 14:43:20 +11:00
Joakim Erdfelt
e088acc559 Resolving merge 2011-10-28 13:42:07 -07:00
Joakim Erdfelt
a32c1186e2 362113 - Improve Test Coverage of org.eclipse.jetty.util.log classes
+ JavaUtilLog coverage improvements and bug fixes
+ More in-code comments about decisions
2011-10-28 13:29:22 -07:00
Joakim Erdfelt
aa73830199 Updating java comments to make clear the purpose of this new static{} block 2011-10-28 10:57:32 -07:00
Joakim Erdfelt
4947bf099a Making Log use an optional jetty-logging.properties object for pre-loading its properties (with System.getProperty override) 2011-10-28 10:30:35 -07:00
Joakim Erdfelt
c02f98b7e6 More classpath mucking about in Sfl4jTestJarsRunner 2011-10-28 09:48:59 -07:00
Joakim Erdfelt
9c9f2bd7c3 Making Sfl4jTestJarsRunner use its own classloader for loading the test 2011-10-28 09:23:11 -07:00
Joakim Erdfelt
21c43b1ab9 Making Sfl4jTestJarsRunner use its own classloader for loading the test 2011-10-28 09:21:46 -07:00
Jesse McConnell
062ccd7e70 trial classloader 2011-10-28 11:15:02 -05:00
Jesse McConnell
148459bc8f trial classloader 2011-10-28 11:14:14 -05:00
Joakim Erdfelt
5c516c9e7b Making fixes to StdErrLogTest 2011-10-28 09:12:29 -07:00
Joakim Erdfelt
c174304996 Making fixes to StdErrLogTest 2011-10-28 09:11:21 -07:00
Joakim Erdfelt
f510e0daf9 Making fixes to StdErrLogTest 2011-10-28 09:07:03 -07:00
Joakim Erdfelt
824e6ebc52 Merge branch 'master' into slf4j-testing 2011-10-28 08:44:44 -07:00
Greg Wilkins
84b07f359e temporary disabled log format test 2011-10-28 15:25:10 +11:00
Greg Wilkins
afc358972a 360546 handle set count exceeding max integer 2011-10-28 15:04:49 +11:00
Joakim Erdfelt
962e4afda9 Bug 362251 - Allow Log.setDebugEnabled(true) to override on configured StdErrLog levels 2011-10-27 16:44:29 -07:00
Joakim Erdfelt
a87286a17c WIP: testing of Slf4jLog 2011-10-27 15:56:32 -07:00
Joakim Erdfelt
903c5dcbbf Bug 362223 - Websocket client fails to send query parameters 2011-10-27 10:37:54 -07:00
Joakim Erdfelt
464c297c01 Bug 362113 - Improve Test Coverage of org.eclipse.jetty.util.log classes
+ Bringing StdErrLog testing coverage up from 73% to 92%
2011-10-26 12:57:13 -07:00
Joakim Erdfelt
1f9814a69a 362113 - Improve Test Coverage of org.eclipse.jetty.util.log classes
* Fixing bugs with bad level names, and adding tests for lowercase level
  names.
2011-10-26 11:04:53 -07:00
Joakim Erdfelt
064c93c53b 362111 - StdErrLog.isDebugEnabled() returns true too often 2011-10-26 10:34:33 -07:00
Joakim Erdfelt
fe7359c68c Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2011-10-26 10:17:03 -07:00
Jesse McConnell
7b5def4d85 remove leading slash on entry in .gitignore 2011-10-26 08:58:06 -05:00
Joakim Erdfelt
af45063a54 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2011-10-25 16:21:39 -07:00
Jesse McConnell
ee09484fc8 resolve eclipse project issues by referencing jstl provided dependency 2011-10-25 11:46:40 -05:00
Jesse McConnell
bda185602d address dtd issues 2011-10-25 11:27:43 -05:00
Jesse McConnell
1631824d59 Merge branch 'release' 2011-10-24 17:35:56 -05:00