Commit Graph

2110 Commits

Author SHA1 Message Date
Greg Wilkins d76c786803 430273 Cancel async timeout breaks volatile link to avoid race with slow expire 2014-03-14 10:27:32 +11:00
Greg Wilkins 9c30e7a303 430242 - added SharedBlockingCallback to support threadsafe blocking 2014-03-13 21:12:55 +11:00
Jan Bartel b405ad8c4f 429357 JDBCSessionManager.Session.removeAttribute don't set dirty flag if attribute already removed 2014-03-13 16:21:23 +11:00
Greg Wilkins 4de73d508b 430242 - added SharedBlockingCallback to support threadsafe blocking 2014-03-13 14:46:00 +11:00
Greg Wilkins 84fa579ec7 429616 Use UTF-8 encoding for XML 2014-03-10 15:23:08 +11:00
Jesse McConnell 0ec0d452e9 [maven-release-plugin] prepare for next development iteration 2014-03-07 09:10:08 -06:00
Jesse McConnell 1e555567a9 [maven-release-plugin] prepare release jetty-9.1.3.v20140225 2014-03-07 09:10:08 -06:00
Joakim Erdfelt e36871e566 429180 - Make requestlog filename parameterized
+ made filename and filenameDateFormat parameterized
2014-02-26 12:49:53 -07:00
Jan Bartel 4ce60a1c83 428710 - JDBCSession(Id)Manager use read committed isolation level 2014-02-24 12:50:56 +11:00
Greg Wilkins 8d979408b7 428660 Delay closing async HttpOutput until after UNREADY->READY 2014-02-21 12:31:31 +11:00
Greg Wilkins c12748a9e3 428238 Test HEAD request with async IO 2014-02-17 12:40:45 +11:00
Greg Wilkins 1f02dfc24f 428238 Test HEAD request with async IO 2014-02-17 12:32:28 +11:00
Jan Bartel 075e6a7363 428157 Methods of anonymous inner classes can't be called via xml 2014-02-14 16:03:29 +11:00
Jan Bartel b88724f23c 426490 HttpServletResponse.setBufferSize(0) results in tight loop (100% cpu hog) 2014-02-14 11:57:53 +11:00
Greg Wilkins 18e19260ff Apply changes resulting from the quickstart project 2014-02-13 12:31:14 +11:00
Jesse McConnell eb0aea46ce set versions.txt file to new version and fix mistaken developmentVersion 2014-02-10 13:48:29 -06:00
Jesse McConnell f3d38dfb15 [maven-release-plugin] prepare for next development iteration 2014-02-10 11:17:14 -06:00
Jesse McConnell 8f6cbc9111 [maven-release-plugin] prepare release jetty-9.1.2.v20140210 2014-02-10 11:17:07 -06:00
Simone Bordet 1841b3ec87 427572 - Default number of acceptors too big.
Defaulted to 1+cores/16.
2014-02-06 16:47:57 +01:00
Jesse McConnell 4d4b0c42e7 [Bug 427570] externalize common http config to start.ini 2014-02-06 09:14:28 -06:00
Simone Bordet 8e03498b0d Renamed NetworkTrafficSelectChannelConnector to
NetworkTrafficServerConnector and deprecated the old class.
2014-02-05 23:05:23 +01:00
Greg Wilkins 7725056234 426750 isReady() returns true at EOF 2014-02-05 17:34:22 +11:00
Jan Bartel 4844508c5f 427245 StackOverflowError when session cannot be de-idled from disk 2014-02-04 19:25:34 +11:00
Simone Bordet 3f5a30282d Made sure that the number of selectors cannot be zero. 2014-02-03 12:09:27 +01:00
Greg Wilkins 8cc9d71e20 426750 Handle autoclose on async writes 2014-02-03 17:59:31 +11:00
Jan Bartel d4368d1018 427068 ServletContext.getClassLoader should only check privileges if a SecurityManager exists 2014-01-31 16:24:00 +11:00
Jan Bartel 49ac6de011 425930 JDBC Session Manager constantly reloading session if save intervall expired once 2014-01-20 13:29:21 +11:00
Jan Bartel 5f7a34e590 408167 Complex object as session attribute not necessarily persisted. 2014-01-20 10:40:05 +11:00
Jan Bartel f735fe834b 425998 JDBCSessionIdManager fails to create maxinterval column 2014-01-18 08:31:43 +11:00
Simone Bordet 93013b36dd 425703 - Review [Queued]HttpInput.
Fixed synchronization.
Fixed notification of callbacks outside sync blocks.
Added isEOF() method to allow correct implementation of
blockForContent().
Remove unused callback onAllContentConsumed().
2014-01-15 13:14:19 +01:00
Simone Bordet 10dd14d34e Reorganization of the code in preview of a larger refactoring. 2014-01-14 22:51:18 +01:00
Jesse McConnell 91429ea123 Merge branch 'release-9' 2014-01-10 09:11:25 -06:00
Jan Bartel f59b3db0e4 424562 JDBCSessionManager.setNodeIdInSessionId(true) does not work 2014-01-10 16:25:38 +11:00
Jesse McConnell b82ec6e668 [maven-release-plugin] prepare for next development iteration 2014-01-08 16:47:09 -06:00
Jesse McConnell b99623a21d [maven-release-plugin] prepare release jetty-9.1.1.v20140108 2014-01-08 16:47:01 -06:00
Simone Bordet 8720fb213c 425043 - Track whether pools are used correctly.
Introduced LeakDetector and utility classes LeakTrackingConnectionPool
and LeakTrackingByteBufferPool to track resource pool leakages.

Fixed ConnectionPool to be more precise in closing connections when
release() cannot recycle the connection.

Fixed a leak in server's HttpConnection in case a request arrives with
the Connection: close header: a ByteBuffer was allocated but never
released.
2014-01-07 19:44:29 +01:00
Joakim Erdfelt b3947ea0b8 424762 - ShutdownHandler hardcodes "127.0.0.1" and cannot be used with IPv6
+ Adding Request.getRemoteInetSocketAddress() to allow for better use
  of java built-ins for localhost / loopback checks.
2014-01-03 11:20:52 -07:00
Joakim Erdfelt a12fd9ea03 Happy New Year - 2014! 2014-01-02 14:50:14 -07:00
Joakim Erdfelt f8e44a1ae7 424168 - Module [ext] should load libraries recursively from lib/ext/
+ Added support for [LIB] definitions that use regex.
+ Using new expression for [LIB] sections in ext.mod
    regex:lib/ext/.*\.jar$
2013-12-27 10:31:38 -07:00
Greg Wilkins dafbad5d1a 423692 use UrlEncoded.ENCODING for merging forwarded query strings 2013-12-19 16:57:02 +11:00
Greg Wilkins 892127ca62 424180 extensible bad message content 2013-12-19 11:47:48 +11:00
Jan Bartel dd0f50fc72 423255 MBeans of SessionIdManager can leak memory on redeploy 2013-12-16 14:01:56 +11:00
Simone Bordet 8d621a9331 424043 - IteratingCallback Idle race.
A few renamings and fixes to avoid IllegalStateExceptions.
2013-12-15 23:51:04 +01:00
Simone Bordet 41fc2b8f87 424043 - IteratingCallback Idle race.
Renamed Next enum to Action, and renamed some constant of the State
enum to avoid confusion with the Action enum.

Simplified succeeded() and failed(Throwable) code,
covering also cases not covered before.

Fixed case SCHEDULED in succeeded() that was returning in case the
compareAndSet failed.

Fixed race in perform(), where 2 threads may execute concurrently
after having returned from process().

Vastly improved javadocs and comments.
2013-12-15 00:47:55 +01:00
Greg Wilkins 7141483356 424043 - IteratingCallback Idle race 2013-12-14 09:14:12 +11:00
Jan Bartel dfe5889bc4 423361 Make all listeners injectable irrespective of method of declaration (descriptor, api, annotation) 2013-12-12 14:44:38 +11:00
Greg Wilkins cd05751ff7 423392 - GzipFilter without wrapping or blocking
I Added AsyncGzipFilter, which uses a modified HttpOutput instance to provide gzip compression without wrapping or blocking.
Does not currently handle deflate.
2013-12-06 22:53:41 +11:00
Greg Wilkins 9c39b2e631 422723 - Dispatch failed callbacks to avoid blocking selector
Handled rejected execution exception
2013-12-05 10:14:52 +11:00
Greg Wilkins 13b07c10aa removed invalid check from test 2013-12-02 19:18:22 +11:00
Greg Wilkins f1fc661a2c reenabled integration and RFC2616 tests 2013-11-29 17:33:05 +11:00