Commit Graph

9568 Commits

Author SHA1 Message Date
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
Joakim Erdfelt dd5cdab54c 439540 - setReuseAddress() in ServerConnector.java is not coded properly
+ Adding unit test to confirm existing behavior of
  ServerConnector.setReuseAddress(boolean) and ServerConnector.open()
2014-07-15 17:02:51 -07:00
Simone Bordet 745f757552 Guarded calls to LOG.debug() with if (LOG.isDebugEnabled()) to reduce allocation of varargs Object[]. 2014-07-15 18:49:14 +02:00
Jesse McConnell 406eba7e26 testing autopush 2014-07-14 11:16:35 -05:00
Greg Wilkins 4d2a580c2c 439375 preferred rfc7231 format is mime;charset=lowercase-9 2014-07-11 17:56:08 +10:00
Jan Bartel 28998e4913 439399 Scan tlds for apache jasper standard taglib with jetty-maven-plugin 2014-07-11 17:38:31 +10:00
Greg Wilkins f9ffefbe13 refactored to avoid copying MetaData.Request instances 2014-07-11 16:35:25 +10:00
Jan Bartel 5f77a0ef72 439394 load-on-startup with value 0 not preserved for quickstart 2014-07-11 16:25:32 +10:00
Greg Wilkins fff2dd2f2d misc test fixes for rfc7230 issues 2014-07-11 16:10:06 +10:00
Greg Wilkins 2d057bea13 HttpChannelOverHttp uses held values rather than request 2014-07-11 16:09:36 +10:00
Greg Wilkins f594a6fc66 HttpField.contains ignores ;q=0 items 2014-07-11 16:08:18 +10:00
Jan Bartel d5c210f1c3 439390 Ensure jsp scratchdir is created same way for quickstart and non-quickstart 2014-07-11 16:06:40 +10:00
Jan Bartel 644eccab8b 439387 Ensure empty servlet-class never generated for quickstart 2014-07-11 14:16:24 +10:00
Jan Bartel c674c41003 438895 Add mvn jetty:effective-web-xml goal 2014-07-10 17:29:03 +10:00
Jan Bartel b13859c641 Fix javadoc for jetty:run mojo to point to correct documentation. 2014-07-10 17:29:03 +10:00
Greg Wilkins 5e281dd449 Merge remote-tracking branch 'origin/master' into jetty-http2
Conflicts:
	jetty-util/src/main/java/org/eclipse/jetty/util/IteratingCallback.java
2014-07-10 14:43:39 +10:00
Greg Wilkins 55ca09a00e 438190 findbug improvements 2014-07-10 14:41:32 +10:00
Joakim Erdfelt 0c7de2e5bd 438331 - AbstractLogger.debug(String,long) infinite loop
+ Breaking infinit loop
2014-07-09 08:54:10 -07:00
Jan Bartel 5969638e69 439201 GzipFilter and AsyncGzipFilter should strip charset from Content-Type before making exclusion comparison in doFilter 2014-07-09 18:01:07 +10:00
Greg Wilkins 068ec21419 438204 getServerName returns IPv6 addresses wrapped in [] 2014-07-09 16:44:34 +10:00
Jan Bartel 10da0e1015 439194 Refactor mvn jetty:run-forked so that it is configurable the same as the other jetty:run-X goals 2014-07-09 15:07:39 +10:00
Greg Wilkins 42e1a60d65 438204 getServerName returns IPv6 addresses wrapped in [] 2014-07-09 14:38:06 +10:00
Greg Wilkins ca1a9ceb7c fixed merge issues 2014-07-04 23:22:40 +10:00
Greg Wilkins 706fe1eba3 Merge remote-tracking branch 'origin/master' into jetty-http2 2014-07-03 16:01:37 +10:00
Greg Wilkins c8ee504291 rfc7230 ignore null value headers 2014-07-03 15:53:12 +10:00
Greg Wilkins 0f70f28839 avoid race test failures 2014-07-03 15:10:48 +10:00
Greg Wilkins 7fbf521d4e 438204 correctly wrap IPv6 hostnames in URIs generated by jetty 2014-07-03 10:11:16 +10:00
Greg Wilkins 78b03c5b8e More debug for intermittent failures 2014-07-02 16:01:00 +10:00
Greg Wilkins 228600caf5 fixed race in HttpReceiverOverHTTPTest 2014-07-02 15:08:06 +10:00
Jan Bartel 839485797b 437419 Allow scanning of META-INF for resources,fragments,tlds for unpacked jars 2014-07-01 10:40:58 +10:00
Greg Wilkins 6eceb6bd99 Merge remote-tracking branch 'origin/master' into jetty-http2 2014-06-29 08:11:41 +02:00
Greg Wilkins 0751256559 438434 ResourceHandler checks aliases 2014-06-27 21:46:59 +02:00