Commit Graph

9447 Commits

Author SHA1 Message Date
Joakim Erdfelt 8ec4e56681 Fixing compile error 2014-07-22 11:57:52 -07:00
Joakim Erdfelt 4f88f2fce2 Fixing build
+ Quick start example is now in /examples/quickstart/ to avoid
  dependency loop
+ Forgotten tests are now versioned correctly at 9.3.0
2014-07-21 15:51:44 -07:00
Greg Wilkins 7f62f2600b refactored URI handling 2014-07-20 10:23:47 +10:00
Greg Wilkins 35ca372e30 Merge remote-tracking branch 'origin/master' into jetty-http2 2014-07-19 18:56:15 +10:00
Greg Wilkins c72649e150 435653 encode async dispatched requestURI 2014-07-19 18:55:02 +10:00
Greg Wilkins fb2a67c0f9 Merge remote-tracking branch 'origin/master' into jetty-http2 2014-07-19 00:49:37 +10:00
Greg Wilkins b38a978eac 439067 Improved graceful stop timeout handling 2014-07-19 00:46:55 +10:00
Jan Bartel d580c3279b Make LoginService tests use single database and drop and recreate tables 2014-07-18 17:02:41 +10:00
Greg Wilkins a537fefd6b Merge remote-tracking branch 'origin/master' into jetty-http2 2014-07-18 15:28:54 +10:00
Joakim Erdfelt e9a77b6ac7 Work with derby internal caching of "derby.system.home" system property.
+ Turns out, changing "derby.system.home" is unreliable.
+ Using 'directory' based jdbc urls for derby to avoid finding content
  in the classloader too.
+ Use a common derby "System Home" for all tests.
+ Segregate all database creation into own, test-specific, database.
2014-07-17 21:57:57 -07:00
Joakim Erdfelt a09d05ee9d Better cleanup of LoginService tests 2014-07-17 20:55:58 -07:00
Joakim Erdfelt dcee2bd5c4 Adding dstest manual creation, not letting derby create it 2014-07-17 20:50:30 -07:00
Greg Wilkins 30fcce1cdc 434536 Improved Customizer javadoc 2014-07-18 12:18:29 +10:00
Greg Wilkins 5c7f3e7c0d 432815 Fixed selector stop race 2014-07-18 12:05:32 +10:00
Joakim Erdfelt c4c8426069 439507 - Possible timing side-channel when comparing MD5-Credentials
+ Using correct digestMismatch logic
+ Fixing test cases:
  + No longer reuses / shares directories
  + Is now Windows build/test compatible
  + No longer deleteOnExit() the test data
    (let maven clean and/or test init do that)
  + Empty directories are now verified
  + Using server.getURI() instead of URL string manipulation
2014-07-17 17:55:22 -07:00
Joakim Erdfelt e39adb337f 439672 support using Apache commons daemon for managing Jetty
Signed-off-by: marko asplund <marko.asplund@gmail.com>
2014-07-17 08:37:50 -07:00
Simone Bordet a7e87c5eed Updated NPN and ALPN to JDK 7u65 and 8u11. 2014-07-17 11:48:19 +02:00
Jan Bartel 405fd05a6e 439369 Deprecate CrossContextPseudoSession 2014-07-17 18:36:35 +10:00
Jan Bartel 3975d1170a 439753 ConstraintSecurityHandler has dead code for processing constraints 2014-07-17 18:23:14 +10:00
Greg Wilkins a89419fd3f 434536 Improved Customizer javadoc 2014-07-17 16:09:42 +10:00
Greg Wilkins a2a333ba53 435653 encode async dispatched requestURI 2014-07-17 15:51:22 +10:00
Greg Wilkins 2d52280179 436987 limited range of default acceptors and selectors 2014-07-17 14:29:58 +10:00
Greg Wilkins b13be9cfa6 438327 Remove hard coded Allow from OPTIONS * 2014-07-17 13:40:21 +10:00
Greg Wilkins 6bc08000c7 439066 javadoc setStopAtShutdown 2014-07-17 13:29:54 +10:00
Greg Wilkins 94ac37f8c2 439067 Javadoc for graceful server stop 2014-07-17 13:29:54 +10:00
Jan Bartel 182436301b 439438 DataSourceLoginService does not refresh passwords when changed in database 2014-07-17 12:54:35 +10:00
Greg Wilkins 12b522d796 439507 Avoid timing leak in MD5 compare
Also-by: Benny Baumann<BenBE@cacert.org>
2014-07-17 12:42:59 +10:00
Greg Wilkins 64e5c1e0ce Merge remote-tracking branch 'origin/master' into jetty-http2 2014-07-17 11:32:27 +10:00
Greg Wilkins 3a5e67ce9e Making ShutdownThread actually stop 2014-07-17 10:50:54 +10:00
Greg Wilkins 591eedcb59 [FindBugs] Include explicit typing whereever possible
+ No cleanup regarding unchecked types (yet)
2014-07-17 10:47:49 +10:00
Greg Wilkins 0c66f3a68e [FindBugs] Ensure resources are closed/freed properly
Removing dumb connector.close during server.getURI()
2014-07-17 10:00:26 +10:00
Greg Wilkins ec310dca90 Fixes to Hash Sessions for 'Stream Closed' errors 2014-07-17 09:45:12 +10:00
Greg Wilkins ce63ab2290 Ensure everything is finalized properly, especially that the lock is unlocked
The issue here was that due to the method call there was no guarantee that the unlock was reached in case of an exception.
Restructuring the code like this provides this guarantee
2014-07-17 08:51:45 +10:00
Greg Wilkins c19a14a4a2 [FindBugs] Ensure proper lazy-initialization even if this costs some performance 2014-07-17 08:35:40 +10:00
Joakim Erdfelt cecb8d6d04 Minor typo fix 2014-07-17 08:31:08 +10:00
Greg Wilkins 937ef10718 [FindBugs] outer if statement alreayd catches max_cached_files 2014-07-17 08:31:08 +10:00
Joakim Erdfelt 5be27516a4 [FindBugs] Remove unnecessary template specialization 2014-07-17 08:31:08 +10:00
Jan Bartel 1dcb7dd986 439194 Do not configure fake server for jetty:run-forked 2014-07-17 08:28:38 +10:00
Joakim Erdfelt 4bf7e9e440 [FindBugs] remove unused imports 2014-07-17 08:17:42 +10:00
Joakim Erdfelt ce48e7094d [FindBugs] Use java.utils.Arrays.hashCode
The method hashCode() of an raw array ignores the length and contents of the array
which yields equal hashCodes for arrays containing different items or varying in length.

This avoids unnecessarily returning equal hashCodes when the objects are actually different.
2014-07-17 08:17:18 +10:00
Joakim Erdfelt 347075ed2d [FindBugs] Possible Null Pointer Dereferences by values passed from caller 2014-07-17 08:16:57 +10:00
Joakim Erdfelt 1d0c370152 [FindBugs] Possible Null Pointer Dereferences by values passed from caller 2014-07-17 08:16:41 +10:00
Joakim Erdfelt a3c363832b [FindBugs] complaints about non-Boolean object used in %b format parameter 2014-07-17 08:14:55 +10:00
Simone Bordet 522529a87d Merged branch 'origin/master' into 'jetty-http2'. 2014-07-16 16:27:00 +02:00
Greg Wilkins 6893027ecd Merge remote-tracking branch 'origin/master' into jetty-http2
Conflicts:
	jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java
	jetty-server/src/main/java/org/eclipse/jetty/server/Request.java
2014-07-16 17:23:29 +10:00
Greg Wilkins 409389ba6e 439652 GzipHandler super.doStart 2014-07-16 16:45:02 +10:00
Greg Wilkins 3bbd1dae59 fixed merge 2014-07-16 16:40:12 +10:00
Greg Wilkins 5f033b48d5 438204 leave IPv6 addresses [] wrapped in getServerName 2014-07-16 16:39:02 +10:00
Jan Bartel 50f11bea09 439663 Allow mappings to be declared before servlet/filter 2014-07-16 15:53:07 +10:00
Greg Wilkins 853e020210 Merge remote-tracking branch 'origin/master' into jetty-http2 2014-07-16 15:31:48 +10:00