Commit Graph

601 Commits

Author SHA1 Message Date
Simone Bordet b3a3246716 Fixes JETTY-1333 (HttpClient _timeout and _soTimeout is messed up). See also #337898 and #337896.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2824 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-23 15:10:42 +00:00
Greg Wilkins d753311181 318105 Consistent return of null from continuation.getServletResponse
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2823 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-23 05:05:38 +00:00
Greg Wilkins e050781fc7 JETTY-1317 More elegent handling of bad URIs in requests
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2822 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-23 00:49:11 +00:00
Greg Wilkins 1070476469 337898 set client HttpConnection max idle time from exchange timeout
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2821 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-23 00:15:56 +00:00
Greg Wilkins 8480cbdf97 337878 Extra tests of security constraints
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2820 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 23:13:24 +00:00
Greg Wilkins f6349cd762 337898 increase client test timeout
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2818 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 22:04:35 +00:00
Simone Bordet f092ddbe0d Fixes #337896 (HttpExchange.timeout does not override HttpClient.timeout)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2817 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 20:46:24 +00:00
Simone Bordet 0ace68632c Fixes JETTY-1335 (HttpClient's SelectConnector clean-up)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2815 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 10:38:00 +00:00
Greg Wilkins 22e142a871 337746 Fixed Session deIdle recursion
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2814 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 03:56:55 +00:00
Greg Wilkins 5dcd74cda5 337784 Improve HashSessionManager for session migrations
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2813 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 03:49:59 +00:00
Greg Wilkins 3f840d3403 333481 Handle UCS-4 codepoints in decode and encode
337685 Work in progress on draft 5 websockets

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2812 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 03:47:34 +00:00
Greg Wilkins 02e75add4f 337678 Readded optional async connection mode for HttpClient
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2809 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-22 03:28:43 +00:00
Jesse McConnell 44a5e0b525 336668 policy supports cert validation, refactored jetty policy to support better reload mechanism
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2803 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-18 21:07:25 +00:00
Greg Wilkins fafe5c905e JETTY-1331 Allow alternate XML configuration processors (eg spring)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2800 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-17 12:17:50 +00:00
Greg Wilkins 93c9c181a0 337270 Shared Timer for session management
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2798 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-16 21:33:45 +00:00
Michael Gorovoy 01955d7295 316382: support a more strict SSL option with certificates
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2795 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-16 01:00:03 +00:00
Jesse McConnell e78dcf94f2 337258 Scanner start and end cycle notification via listener
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2794 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-15 22:23:36 +00:00
Simone Bordet 224b9a6552 Fixes #336793 (Tee data filled and flushed from endpoint).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2779 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-11 10:02:09 +00:00
Greg Wilkins 4ef97cfe3a 335329 Moved blocking timeout handling to outside try catch
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2777 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-11 06:08:06 +00:00
Jan Bartel 5b7e63510a 336781 If xml parser is not validating, turn off external dtd resolution
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2770 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-10 07:49:05 +00:00
Simone Bordet 41b6a9422c Fixes #336691 (Possible wrong length returned by ChannelEndPoint.flush() in case of RandomAccessFileBuffer).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2750 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-09 10:18:58 +00:00
Jesse McConnell 4bd3f1b6b0 set dev
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2744 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-04 23:03:06 +00:00
Jesse McConnell 79c6652375 Set release version
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2722 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-02 14:21:17 +00:00
Greg Wilkins f9458ee5ca 332937 Added Destroyable Dumpable interfaces and reworked dependent lifecycles, specially of JNDI
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2721 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-02 01:35:38 +00:00
Greg Wilkins f807e15c77 335329 Stop SSL spin during handshake and renogotiate
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2719 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-01 01:57:12 +00:00
Simone Bordet 813d652e41 Fixes #335836 (Race when updating SelectChannelEndPoint._dispatched)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2714 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-31 12:28:38 +00:00
Greg Wilkins caff41bebb 333481 Handle UTF-32 codepoints in decode and encode
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2713 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-31 05:13:57 +00:00
Greg Wilkins a11d7edf97 296978 standardizing various Testing Util Classes to jetty-test-helper (and for previous commit to move to 1.0 of the jetty-test-helper)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2712 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-31 04:11:25 +00:00
Greg Wilkins af512e980a 335641 Cleaned up dispatch handling to avoid key.interestOps==0 when undispatched
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2710 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-31 03:19:14 +00:00
Simone Bordet dd7511a721 Fixes 335681 (Improve ChannelEndPoint.close() to avoid spinning).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2704 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-28 13:36:38 +00:00
Greg Wilkins cfd2c0e7d2 revert to 7.3.0-SNAPSHOT
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2703 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-28 01:16:38 +00:00
Greg Wilkins 4b8b8b3ba0 335641 Sweep for Windows selectKey.interestOps!=endp.interestOps for undispatched end points
This is a temporary fix until we get to the root of the problem

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2702 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-28 01:12:48 +00:00
Michael Gorovoy d6923903cb 331803: Update XML configuration files to use proper arguments for startup commands in examples
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2698 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-26 16:24:35 +00:00
Michael Gorovoy 09df9f668c 335361 Fixed 'jetty.sh check' to show current PID when JETTY_PID env. variable is set
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2690 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-25 20:36:20 +00:00
Jesse McConnell f222035389 set for release
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2681 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-24 19:31:43 +00:00
Jesse McConnell 3c664563be Bug 334311 fix buffer reuse issue in CachedExchange
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2663 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-14 22:07:09 +00:00
Hugues Malphettes 306947b142 334229 import javax.security.cert explicitly as BND does not find that it needs to
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2657 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-13 09:25:45 +00:00
Jesse McConnell 12df3737f6 Bug 319178 test failure fix in jetty-util on windows
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2656 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-12 21:31:58 +00:00
Jesse McConnell bcde60bd2f Bug 329746 client option to set just truststore and use strict ssl context
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2655 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-12 17:25:24 +00:00
Hugues Malphettes 326c0bc054 #333679 note
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2653 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-12 09:07:04 +00:00
Jesse McConnell 2e72deee73 Bug 333717 HttpClient can't get local listen address, http exchange can return the local address used for the connection.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2651 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-11 19:55:34 +00:00
Joakim Erdfelt fa60b0605f 328872 - Multi Jetty xml files not loading if directory is referenced in jetty.conf
* Fixed foreach variable name. changed from bad mix of "file" and "FILE"
  to a more consistent "XMLFILE" variable.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2649 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-11 00:36:47 +00:00
Greg Wilkins 9e75b312bb 333892 Improved JVM bug detection
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2648 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-10 20:59:30 +00:00
Jan Bartel 0109d0cbe6 JETTY-1259 further update
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2647 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-10 18:49:34 +00:00
Joakim Erdfelt 892bd690e0 Bug 333771 - System properties are not available inside XML configuration
file by using the 'property' tag.

* Made lookups of Properties by the Start Config use Jetty Property then
  System Properties, and lastly default values when requested.
* Made XmlConfiguration use layered property lookup from Start Config,
  benefitting XmlConfiguration of the same logic.
* Made all use of Start Config.getProperty() use static references
  per the method signature.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2646 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-10 18:10:15 +00:00
Jesse McConnell 9cd55e8ba5 Bug 333875 - Monitor class constructor now public
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2642 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-10 15:16:30 +00:00
Greg Wilkins 8e41e025b9 333415 wired up HttpInput.available and added test harnesses
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2638 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-10 14:22:07 +00:00
Greg Wilkins ef6899c2c7 332517 Improved DefaultServlet debug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2637 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-10 13:20:30 +00:00
Greg Wilkins fb8db6a45d 324505 Implement API login
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2635 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-10 13:13:52 +00:00
Greg Wilkins 59fbd8bc99 324505 Implement API login
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2634 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-10 13:13:30 +00:00