Commit Graph

11917 Commits

Author SHA1 Message Date
Simone Bordet 1d04b9ece0 Issue #347 (Avoid sending request using a connection that is idle timing out).
Can't make atomic decisions using AtomicInteger _and_ another field.
Now using synchronized.
2016-02-19 12:22:13 +01:00
Greg Wilkins 27585d923c Issue #346 HttpParser RFC2616 Compliance mode
removed System Property for compliance
2016-02-19 12:14:06 +01:00
Greg Wilkins 55eb54799f Issue #346 HttpParser RFC2616 Compliance mode
Added HttpParser.Compliance field to HttpConnectionFactory
2016-02-19 11:41:07 +01:00
Simone Bordet 48c4e08b94 Issue #347 (Avoid sending request using a connection that is idle timing out).
Fixed by improving the guard with a timestamp, and checking that the
time elapsed from the last timestamp is enough to prove it is a real
idle timeout.
2016-02-19 11:36:06 +01:00
Simone Bordet 1cce6fd69f Improved logging. 2016-02-19 11:36:06 +01:00
Simone Bordet 519734bec4 Fixed usage of volatile reference. 2016-02-19 11:36:06 +01:00
Simone Bordet 55817a212f Improved toString(). 2016-02-19 11:36:06 +01:00
Greg Wilkins 72edbe5cea Issue #346 HttpParser RFC2616 Compliance mode
Added RFC2616 compliance mode that allows wrapped headers
2016-02-19 11:22:52 +01:00
Jan Bartel 9a554af480 Ensure infinispan timed-out sessions handled correctly 2016-02-19 10:57:04 +01:00
Joakim Erdfelt 4a6602d007 Issue #342 - Reintroducing Request to logExtended
+ the old/bad AbstractNCSARequestLog.logExtended is now
  deprecated
+ the corrected logExtended is the appropriate one to use
2016-02-18 11:31:55 -07:00
Jesse McConnell e63f86ab2f Update CONTRIBUTING.md
updated
2016-02-17 16:03:36 -06:00
Greg Wilkins 5ddb176f6b Issue #298 spin-locked in MBeanContainer
protected the _beans map with a Lock
2016-02-17 16:07:31 +01:00
Greg Wilkins 2bf848dbd4 fixed test 2016-02-17 15:47:15 +01:00
Joakim Erdfelt 1edd2e3535 Update README.md with build status indicators 2016-02-17 07:03:16 -07:00
Greg Wilkins dd4a72ce76 479903 - improve async onError handling
Work in progress towards clean build
2016-02-17 14:13:21 +01:00
Greg Wilkins ba132dfb0f Disabling circleCI for now 2016-02-17 14:11:53 +01:00
Greg Wilkins 2bc67e5a61 Enable IPv6 for circle CI 2016-02-17 13:33:34 +01:00
Greg Wilkins 2cfc266acd Trying CircleCI again 2016-02-17 13:09:22 +01:00
Greg Wilkins 92c339e669 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-02-17 12:09:00 +01:00
Greg Wilkins 8068aeead9 Fixed unit test race
Test was assuming that receiving completed response on client
always happened before server processing had completed.
Added a spin test.
2016-02-17 11:11:52 +01:00
Jan Bartel ca0193b28e Merge pull request #71 from pethers/master
Added nullchecks and test for getters using _metadata to avoid throwing
2016-02-17 10:02:01 +01:00
Jan Bartel 11d3448e28 Issue #81 Exception not always thrown in Jetty to application when upload part is too big
Issue #82 Request.getPart() that results in Exception still allows other parts to be fetched
2016-02-16 17:43:56 +01:00
Greg Wilkins 496be5e05f Issue #84 Ignored test 2016-02-16 17:08:10 +01:00
Greg Wilkins 779317dc30 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-02-16 16:03:34 +01:00
Greg Wilkins 1585dc1c20 Issue #83 Ignored 2016-02-16 16:00:51 +01:00
Jan Bartel 6c1bd97ad1 Add extra getters to DatabaseAdaptor 2016-02-16 15:31:33 +01:00
Jan Bartel c965dc905c Update jdbc module for new session architecture 2016-02-16 15:12:23 +01:00
Jan Bartel 9b5aa6f90d 478918 Change javax.servlet.error,forward,include literals to RequestDispatcher constants 2016-02-16 11:52:29 +01:00
Greg Wilkins 23946d3c90 Revert "Added Circle CI configuration"
This reverts commit 267c3ab5c3.
2016-02-16 11:47:54 +01:00
Greg Wilkins 267c3ab5c3 Added Circle CI configuration 2016-02-16 11:28:22 +01:00
Jan Bartel f10f32c080 478918 Change javax.servlet.error,forward,include literals to RequestDispatcher constants 2016-02-16 10:48:20 +01:00
Greg Wilkins d0541e58da Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-02-16 10:11:47 +01:00
Greg Wilkins fd5b3a8062 487714 - Avoid NPE in close race for async write
The race has not been solved, as with lock-free style it is difficult to prevent a
close racing with a write in progress. Instead, the code has been made more
resiliant to such state changes and exceptions thrown are converted to IOExceptions.
2016-02-16 10:06:25 +01:00
pether.sorling@gmail.com 5f8253a8cd Added nullchecks and test for getters using _metadata to avoid throwing
nullpointer exception.

Signed-off-by: pether.sorling@gmail.com <pether.sorling@gmail.com>
2016-02-15 22:51:15 +01:00
Simone Bordet e91d93b85c Merged branch 'jetty-9.3.x' into 'master'. 2016-02-15 20:56:01 +01:00
Simone Bordet 261bea7bc7 Clarified Request.isPushSupported().
Now isPushSupported() returns true only if the request is not
a synthentic request generated by a push.
2016-02-15 20:55:47 +01:00
Simone Bordet 26b6c848f3 Issue #80 (Spin loop in case of HTTP/2 prefaces without H2C).
Fixed by changing the state of the parser before calling the parser
handler callbacks, and by closing the parser if the upgrade to HTTP/2
is not successful.
2016-02-15 20:50:22 +01:00
Greg Wilkins 6a9002991a Issue #79 Parse HTTP request target starting with //
Added a new parseRequestTarget method
2016-02-15 19:40:10 +01:00
Greg Wilkins 26217a73c1 Merge pull request #72 from gouessej/master
Bug 485625 - Allow overriding the conversion of a String into a Crede…
2016-02-15 12:56:15 +01:00
Greg Wilkins 17d1beeec8 Merge remote-tracking branch 'origin/jetty-9.3.x' 2016-02-15 12:34:15 +01:00
Greg Wilkins 98607e2abf 487158 Switched SCM URIs to github 2016-02-15 12:26:42 +01:00
annorax 5167c52ab0 Add missing property configuration to jetty.xml
Signed-off-by: Ido <ido.dovrat@gmail.com>
2016-02-13 07:32:42 -07:00
Joakim Erdfelt 134d44cc6f Merge pull request #78 from annorax/patch-3
Add missing property configuration to jetty.xml
2016-02-13 07:27:08 -07:00
Simone Bordet f727e2bac3 Merged branch 'jetty9.3.x' into 'master'. 2016-02-13 11:32:53 +01:00
Simone Bordet 0eef227e84 487750 - HTTP/2 push must not be recursive.
Avoid recursive pushes by pushing the whole resource tree on the
primary request, and avoid pushes for synthetic requests generated by
the pushes.
2016-02-13 11:15:58 +01:00
Joakim Erdfelt 30b5fe1c96 AttributeNormalizer.normalize() now supports URI 2016-02-12 09:29:49 -07:00
Joakim Erdfelt bc59c0853d Adjusting quickstart AttributeNormalizer to treat 'WAR' as a URI, not a Path 2016-02-12 09:11:19 -07:00
Simone Bordet df80aef265 Merged branch 'jetty-9.3.x' into 'master'. 2016-02-12 16:01:38 +01:00
Simone Bordet ab2a168cf9 Made MultiplexConnectionPool sweepable.
Made HttpConnectionOverHTTP2 sweepable.
2016-02-12 15:24:07 +01:00
Jesse McConnell 85285cdcf7 Update README.md 2016-02-12 08:15:03 -06:00