506 Commits

Author SHA1 Message Date
Greg Wilkins
cf45e7b647 356823 correctly decode close codes. Send not utf-8 close code. 2011-09-07 11:37:46 +10:00
Jan Bartel
44204a2e5b 356726 Instead of the sessionDestroyed called sessionCreated after invalidate session 2011-09-06 09:15:26 +10:00
Greg Wilkins
45148353ec 293739 Hide stacks in named log testing. Various other minor log cleanups in output. 2011-08-30 16:05:21 +10:00
Greg Wilkins
33fa7afb47 356144 added SelectorManager.setSelectorPriorityDelta(int) 2011-08-30 14:24:28 +10:00
Jan Bartel
97ad4afb19 Someone left a new Throwable().printStackTrace() in ContextHandler. Deleted it. 2011-08-30 10:47:16 +10:00
Greg Wilkins
39d0d4fee9 353073 deprecated non factory method for websocket clients 2011-08-29 12:27:53 +10:00
Joakim Erdfelt
4ace183764 Merging from master 2011-08-25 12:09:36 -07:00
Joakim Erdfelt
f7f7e0af75 293739 - Deprecate static Jetty Log usage in favor of named logs
+ Finished conversion of jetty-security, jetty-server, jetty-servlet,
  jetty-servlets, jetty-websocket
2011-08-24 12:53:27 -07:00
Jesse McConnell
9f5004e4d3 [Bug 355478] set public to HashedSession, looks like honest mistake and not by design to be this way 2011-08-24 13:58:09 -05:00
Jan Bartel
548696ef60 354204 - Charset encodings property file not used 2011-08-09 13:51:14 +10:00
Joakim Erdfelt
222d1ca787 Fixing javadoc errors and warnings 2011-08-05 18:10:03 -07:00
Greg Wilkins
2be177484e Miscellaneous changes resulting from the optimization for 7.5.x
Mostly refining debug and toString()
Use shutdown for idle expiry
2011-07-22 18:12:56 +10:00
Greg Wilkins
6a1b20abe7 352421 HttpURI paths beginning with . 2011-07-22 12:15:48 +10:00
Greg Wilkins
ee02bb4b17 Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2011-07-22 11:04:11 +10:00
Greg Wilkins
f496c26c71 352421 HttpURI paths beginning with . 2011-07-22 11:03:48 +10:00
Michael Gorovoy
2790badf6d 352786 GzipFilter fails to pass parameters to GzipResponseWrapper 2011-07-21 13:11:36 -04:00
Greg Wilkins
14bddae71e Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project 2011-07-21 19:44:09 +10:00
Jesse McConnell
fde7831a81 [Bug 352133] resolve java 1.5isms with sessions, fix misspelling in
mbean and add access to underlying server in session test server
2011-07-19 11:22:32 -05:00
Greg Wilkins
93f3ec1731 test harness cleanups after performance branch merge 2011-07-18 16:45:08 +10:00
Greg Wilkins
f4255bdeef Merge branch 'master' into performance 2011-07-18 09:16:51 +10:00
Michael Gorovoy
5df38f9369 351576 Simplified response reader 2011-07-14 21:58:09 -04:00
Greg Wilkins
b64f271c4b simplified blocking HttpConnection 2011-07-14 10:36:39 +10:00
Greg Wilkins
c61e490d8e Merge branch 'master' into performance 2011-07-12 17:44:03 +10:00
Michael Gorovoy
1216297824 351576 Improved test harness 2011-07-11 18:01:24 -04:00
Michael Gorovoy
8babf3ae17 351576 Do not use deprecated method File.toURL() 2011-07-08 17:21:02 -04:00
Greg Wilkins
460c2a6ea8 copy URI buffer as header buffer is no longer immutable 2011-07-07 16:23:23 +10:00
Greg Wilkins
17ce8ec161 cleaned up sessionIdManager setters 2011-07-07 12:56:37 +10:00
Greg Wilkins
fc5e92c43f Simplified session management 2011-07-07 12:35:53 +10:00
Greg Wilkins
b890ff8fb2 applied jetty-7p 7f68abf..b2e4270, 7f68abf..a900c5e, 9a93c9e..9f94539. decomposed async and blocking handling. Simplified HttpFields and Buffer handling from the HttpParser. 2011-07-07 12:16:58 +10:00
Michael Gorovoy
a7eabf0757 350397 SelectChannelConnector does not shutdown gracefully 2011-07-06 16:14:54 -04:00
Jan Bartel
c88fc8cd25 351199 - HttpServletResponse.encodeURL() wrongly encodes an url without path when cookies are disabled
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3465 7e9141cc-0065-0410-87d8-b60c137991c4
2011-07-06 07:29:19 +00:00
Jan Bartel
f7ee9a98ee 345268 JDBCSessionManager does not work with maxInactiveInterval = -1
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3461 7e9141cc-0065-0410-87d8-b60c137991c4
2011-07-04 08:08:52 +00:00
Jan Bartel
dd3361047d 351039 Forward dispatch should retain locale
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3460 7e9141cc-0065-0410-87d8-b60c137991c4
2011-07-04 02:54:58 +00:00
Jan Bartel
8fcac4a34e 324704 JDBC Session Manager reloading session
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3449 7e9141cc-0065-0410-87d8-b60c137991c4
2011-07-01 05:59:20 +00:00
Michael Gorovoy
b290f203da Added TODO comments for disabled tests
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3429 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-27 15:13:22 +00:00
Michael Gorovoy
8c63ca989b 302566 GZIP handler for embedded Jetty servers
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3406 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-21 02:26:18 +00:00
Michael Gorovoy
f95e1bddbe 302566 GZIP handler implementation and unit test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3403 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-20 20:55:58 +00:00
Greg Wilkins
e55c21ca5c 347898 Close channel on JVM exceptions
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3374 7e9141cc-0065-0410-87d8-b60c137991c4
2011-06-01 11:32:13 +00:00
Greg Wilkins
09bb70c161 374174 Consistent mbean names
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3269 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-26 02:04:08 +00:00
Greg Wilkins
694db8e81e JETTY-1146 Encode jsessionid in sendRedirect
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3267 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-26 01:06:52 +00:00
Simone Bordet
be98ef70a1 Made test more reliable.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3256 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-25 14:15:35 +00:00
Simone Bordet
1bb56442a7 Improved SslSelectChannelEndPoint to free buffers when not needed, and added more truncation attack tests.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3253 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-25 09:56:04 +00:00
Simone Bordet
fc6ea06106 Fixes #346614 (HttpConnection.handle() spins in case of SSL truncation attacks).
SslSelectChannelEndPoint has been modified to not override shutdownInput() (so behavior is that of the base class, like it should), and when it detects a remote close, it calls SSLEngine.closeInbound(), which throws in case of a truncation attack. The exception is handled and the endpoint closed.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3224 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-20 12:52:13 +00:00
Simone Bordet
e438787325 Reviewed and cleaned up code for #345615 (Enable SSL Session caching).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3223 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-20 12:46:57 +00:00
Joakim Erdfelt
26d59fda32 Javadoc error cleanup.
+ Removing missing class references
+ Fixing empty @return statements
+ Delinking invalid direction class references
+ Correcting @param <name> typos

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3219 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-19 22:26:41 +00:00
Joakim Erdfelt
c70f2d5c68 fixing minor javadoc warning
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3218 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-19 22:10:55 +00:00
Greg Wilkins
fb7b0a3298 javadoc
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3213 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-18 22:18:17 +00:00
Greg Wilkins
eb17ca8cbf JETTY-1342 Recreate selector if wakeup throws JVM bug
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3212 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-18 21:59:02 +00:00
Michael Gorovoy
3b7949bc8c 346181 o.e.j.server.StressTest stalls on MacOS X
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3198 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-18 02:58:30 +00:00
Greg Wilkins
53417972ec 346014 Fixed full HttpGenerator
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3161 7e9141cc-0065-0410-87d8-b60c137991c4
2011-05-17 04:31:15 +00:00