Commit Graph

110 Commits

Author SHA1 Message Date
Simone Bordet 51f21301d6 Ensure that if the read throws we close the EndPoint, so the connection can detect that the EndPoint is closed and act accordingly.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2933 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-30 13:19:36 +00:00
Greg Wilkins fdf199e254 organized imports
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2912 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-25 05:59:18 +00:00
Greg Wilkins a6483bfa6f 340265 Improve handling of io shutdown in SSL
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2906 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-23 03:36:06 +00:00
Greg Wilkins 80a56c31a2 websocket debugging
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2887 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-14 12:06:28 +00:00
Greg Wilkins 3a267d9dd8 JETTY-1245 Pooled Buffers implementation
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2885 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-14 03:09:56 +00:00
Greg Wilkins e20fa91252 337685 Update websocket API in preparation for draft -07
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2877 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-10 13:15:27 +00:00
Greg Wilkins 1a6cdeb12f 338880 Fixed failing buffer range checks
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2858 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-07 02:51:05 +00:00
Greg Wilkins fbb0027f2e turned off scanner, nothing found since 7.3.0 other than false positives
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2851 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-04 03:15:35 +00:00
Greg Wilkins d0b4ddcb28 rolled back the API changes for 7.3.1, will redo for 7.4.0
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2846 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-02 12:21:12 +00:00
Joakim Erdfelt 0756914b2f Downgrading javadoc reference to class not visible from jetty-io, it causes javadoc errors/failures
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2838 7e9141cc-0065-0410-87d8-b60c137991c4
2011-03-01 17:03:24 +00:00
Greg Wilkins 2cc4fbb5ee 337685 Work in progress on draft 6 websockets
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2831 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-28 09:45:41 +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
Greg Wilkins cc3d015e60 337271 Flush SSL endpoint when dispatch thread held forever
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2797 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-16 21:19:43 +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
Greg Wilkins 3ca737037e 336793 Added Network Traffic Listener
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2772 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-10 10:14:25 +00:00
Greg Wilkins 5d2c3eee1b 336691 handle Views passed into flush
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2771 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-10 10:05:56 +00:00
Greg Wilkins 19c5b378c2 336691 fixed SSL close
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2769 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-10 05:05:49 +00:00
Joakim Erdfelt c7d2d27945 Bumping up jetty-test-helper to v1.2 to use Stress helper.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2766 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-09 22:45:08 +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
Greg Wilkins 40ebdcf23e NPE protection in dump
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2740 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-03 22:17:22 +00:00
Greg Wilkins 36e7aea16e 335641 sweep works with async
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2735 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-03 09:53:26 +00:00
Greg Wilkins 0b41841e0a 335641 added a sweep to check for error
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2728 7e9141cc-0065-0410-87d8-b60c137991c4
2011-02-02 20:09:47 +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 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 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
Joakim Erdfelt f3a2a575aa Fixing broken javadoc and imports
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2673 7e9141cc-0065-0410-87d8-b60c137991c4
2011-01-21 20:49:28 +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
Greg Wilkins 793a646e91 331461 Fixed idle timeout for unflushed HTTP/1.0
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2574 7e9141cc-0065-0410-87d8-b60c137991c4
2010-12-02 14:36:13 +00:00
Greg Wilkins 57a8287da7 330210 Improve performance of writing large bytes arrays
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2507 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-15 11:57:53 +00:00
Greg Wilkins 7feea04270 329180 Spin check for Selector to stop
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2460 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-01 13:01:54 +00:00
Greg Wilkins fa5a43c1da cleanup import
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2428 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-28 04:02:17 +00:00
Greg Wilkins cf7f8b27f8 some extra debugging/javadoc
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2426 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-28 02:29:31 +00:00
Greg Wilkins 72e6f5ee40 328199 ensure SSL closes connections when shutdownoutput is attempted
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2388 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-22 23:12:22 +00:00
Greg Wilkins 1115d7d442 328205 Improved SelectManager stopping
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2370 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-20 08:45:32 +00:00
Greg Wilkins afe54ca97c 328199 Ensure blocking connectors always close socket
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2369 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-20 08:45:09 +00:00
Greg Wilkins 837b477f12 325105 websocket ondisconnect fixed
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2273 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-14 11:47:07 +00:00
Jesse McConnell 7bafa0243c 323196 fix some naming issues in code ported from jetty6
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2220 7e9141cc-0065-0410-87d8-b60c137991c4
2010-08-23 14:26:14 +00:00
Greg Wilkins ef9ebf31b6 314087 Simplified SelectorManager
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2189 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-28 13:11:40 +00:00
Greg Wilkins 0443786d8e 320073 reconsile configuration mechanism
Reconsiled the jetty-8 configuration mechanism with the capability to share the MetaData between instances

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2168 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-22 03:20:41 +00:00
Greg Wilkins 1fe1ca1b35 JETTY-1251 Replace then close selector for JVM bugs
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2117 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-14 03:49:37 +00:00
Greg Wilkins b495ca6bb4 JETTY-1247 do not recycle buffers on asynchronous close
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2112 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-14 01:59:06 +00:00
Greg Wilkins 80e5a95130 JETTY-1249 i
Apply max idle time to all connectors

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2111 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-14 01:58:48 +00:00
Jan Bartel c46d01c789 JETTY-1249 changes to ensure maxIdleTime applied to connections
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2110 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-13 02:06:59 +00:00
Greg Wilkins 9612eb956a JETTY-1247 synchronize recylcing of SSL NIO buffers
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2109 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-13 01:44:19 +00:00
Greg Wilkins 7540debfe7 JETTY-1249 Apply max idle time
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2107 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-12 11:15:43 +00:00
Greg Wilkins f9640c4116 318551 Optional uncheck Printwriter
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2063 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-02 13:44:43 +00:00