19435 Commits

Author SHA1 Message Date
Joakim Erdfelt
5129f2c9ff Issue #3840 - InputStream.skip() rules must be followed
+ break out if progress isn't made, loop if not enough
  progress is made

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2019-07-30 13:00:03 -05:00
Joakim Erdfelt
6790e8d977
Merge pull request #3915 from cowwoc/issue3900
Added Javadoc for HttpConfiguration sendDateHeader
2019-07-30 11:55:47 -05:00
Gili Tzabari
33bd4e6bc0 Updated PR in response to comments.
Signed-off-by: Gili Tzabari <cowwoc2020@gmail.com>
2019-07-30 12:50:45 -04:00
Gili Tzabari
d3cbd36fe0 Added Javadoc.
Signed-off-by: Gili Tzabari <cowwoc2020@gmail.com>
2019-07-30 11:46:30 -04:00
olivier lamy
ae004171e0 Merge branch 'jetty-9.4.x' into jetty-10.0.x 2019-07-30 11:21:31 +10:00
Olivier Lamy
1b6bf389d6
Jetty 9.4.x pax exam upgrade for central repo https, pre download all artifacts for maven its (#3902)
* ensure we use local repository first to avoid download, upgrade pax versions
pre download artifacts to avoid download by maven invoker its

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* force using local repository first see https://issues.apache.org/jira/browse/MINVOKER-249

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* use local setttings to use mirrors

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* use https

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* install build resources first to avoid checkstyle build issue

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* downgrade pax-swissbox-framework as the pax exam seems to use this one and want to download it...

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* fix enforcer rule RequireUpperBoundDeps...

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* not used anymore

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* force pax url to use provided settings via Jenkins withMvn

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* renove debugging System.out

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* version is defined in the project

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* cleanup after Jan review comments

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2019-07-30 11:13:54 +10:00
Simone Bordet
a5c2222d4d
Merge pull request #3866 from eclipse/jetty-10.0.x-doc-format
Jetty 10.0.x doc reformat
2019-07-29 19:09:27 +03:00
Jan Bartel
b734c373e8 Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x 2019-07-29 14:34:52 +10:00
mpe85
bb639817a3 Made loading of blobs from database more robust (#3895)
Signed-off-by: mpe85 <marco.perazzo85@gmail.com>
2019-07-29 14:33:40 +10:00
Simone Bordet
a38ac923ac
Merge pull request #3909 from eclipse/jetty-9.4.x-3822-sslctxfactory_trustall_fails
Fixes #3822 - trustAll will not work on some servers.
2019-07-27 02:02:39 +03:00
Joakim Erdfelt
8601baa3cc Issue #3804 - PathResource should not use SPARSE hint always
+ SPARSE hint only applies to real os file systems or
  default file systems, not for all file systems.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2019-07-26 13:32:03 -05:00
Joakim Erdfelt
e5bce5f7cd Issue #3840 - Static resource byte-range support performance
+ Reverting toFile().getInputStream() on PathResource
+ Adding RangeWriter concept for managing open resource
  across multiple range writes
+ RangeWriter implementation delegates to HttpContent behaviors
  Lookup is :
  - Direct Buffer
  - Indirect Buffer
  - ReadableByteChannel (as SeekableByteChannel)
  - InputStream
+ Adding unit tests for all RangeWriter implementation to ensure
  that they behave the same way everywhere.
+ Making ResourceService use new RangeWriter implementation
+ Existing DefaultServletRangeTest still works as-is

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2019-07-26 12:36:31 -05:00
Simone Bordet
4e0e962747 Fixes #3822 - trustAll will not work on some servers.
Made TRUST_ALL_CERTS implement X509ExtendedTrustManager,
so that it does not get wrapped in sun.security.ssl.AbstractTrustManagerWrapper,
which performs additional trust checks.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-07-26 15:57:53 +02:00
Simone Bordet
8431686939 Issue #3883 - Client: support embedding threadlocal data (e.g. distributed tracing data) into the request.
Added test case that shows how to do it.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-07-26 14:51:53 +02:00
Simone Bordet
3be03db5e6 Improved logging.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-07-26 11:52:08 +02:00
Simone Bordet
873d1c6d7d Fixes #3601 - HTTP2 stall on reset streams.
The client reset wakes up threads blocked in
writes, but these may again attempt to write,
therefore blocking again.

Now we detect that the stream is not writable
and mark the transport as failed, so that
writes fail immediately without blocking.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-07-25 22:21:13 +02:00
Chris Walker
816fc3a4f8
Moving content around for more logical flow 2019-07-25 15:49:11 -04:00
Joakim Erdfelt
24b2ca4c32 Issue #3906 - Introducing Testcase to demonstrate issue
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2019-07-25 11:43:51 -05:00
Jesse McConnell
724a26aca1
Issue #3897 update web-resources 2019-07-24 16:42:35 -05:00
Joakim Erdfelt
9e90c60f0e Issue #3888 - Fixing implementation of CachedContentFactory
+ ResourceCacheTest identified a bug in CachedContentFactory
  (a bad/reversed if statement)
+ Updated ResourceCacheTest to not rely on jetty-util src/test/resources

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2019-07-24 11:26:49 -05:00
Chris Walker
cf65c967fc
Fixing images throughout. 2019-07-24 10:29:27 -04:00
Jesse McConnell
64351f838f
Issue #3897 fix toc image loc 2019-07-23 17:18:27 -05:00
Jesse McConnell
7f86b4bedf
Merge branch 'jetty-10.0.x-doc-format' of github.com:eclipse/jetty.project into jetty-10.0.x-doc-format 2019-07-23 16:55:13 -05:00
Jesse McConnell
d4536f08e8
Issue #3897 restore images 2019-07-23 16:55:01 -05:00
Joakim Erdfelt
6fd8aeefde Issue #3888 - Adding HttpClient tests
+ Also applying changes from review

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2019-07-23 15:24:33 -05:00
Simone Bordet
2629961e74 Fixes #3856 - Different behaviour with maxFormContentSize=0 if Content-Length header is present/missing.
Changes after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-07-23 22:01:13 +02:00
Chris Walker
a59daabdf1
Restoring an image file 2019-07-23 15:26:17 -04:00
Jesse McConnell
65c9b0cbf9
Merge branch 'jetty-10.0.x-doc-format' of github.com:eclipse/jetty.project into jetty-10.0.x-doc-format 2019-07-23 13:15:45 -05:00
Jesse McConnell
e078f6a919
Issue #3897 add breadcrumb to guides (works best for jetty-web-resources 1.1+) 2019-07-23 13:15:34 -05:00
Chris Walker
e218bb6d8b
Guide TOC renames, messing with images 2019-07-23 10:07:34 -04:00
Chris Walker
4fda18ea4b
Fixed TOC image rendering and Distro guide content. 2019-07-23 09:50:11 -04:00
Simone Bordet
d939c9435a Fixes #3856 - Different behaviour with maxFormContentSize=0 if Content-Length header is present/missing.
Fixed zero checks and exception messages.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-07-23 15:44:08 +02:00
Chris Walker
84ff558fa8
Fixing broken license headers 2019-07-22 14:58:46 -04:00
Chris Walker
228da21a9b
Merge 2019-07-22 14:43:32 -04:00
Chris Walker
8d4f9b8fd1
Flattening directories and removing deprecated part files. 2019-07-22 14:40:20 -04:00
Jesse McConnell
e1f2073e8d
Issue #3897 add image example to contribution guide 2019-07-22 13:36:12 -05:00
Jesse McConnell
e016d6a07b
Merge branch 'jetty-10.0.x-doc-format' of github.com:eclipse/jetty.project into jetty-10.0.x-doc-format 2019-07-22 13:01:28 -05:00
Jesse McConnell
0ee9bea3a2
Issue #3897 update contribution guide with cross guide reference approach 2019-07-22 13:01:20 -05:00
Chris Walker
34b542f96b Merge branch 'jetty-10.0.x-doc-format' of github.com:eclipse/jetty.project into jetty-10.0.x-doc-format 2019-07-22 12:13:13 -04:00
Jesse McConnell
e847a7fe0a
#3897 update execution id's 2019-07-22 10:48:10 -05:00
Chris Walker
e3c1925bd7 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-doc-format 2019-07-22 11:39:12 -04:00
Jesse McConnell
694729ec82
Issue #3897 update pom with renamed guides 2019-07-22 10:37:28 -05:00
Jesse McConnell
13cf7198cb
Issue #3897 rename developer-guide to embedded-guide 2019-07-22 10:36:00 -05:00
Jesse McConnell
2841211c17
Issue #3897 rename quickstart guide 2019-07-22 10:34:25 -05:00
Chris Walker
a4b3b4a71a Merge branch 'jetty-10.0.x-doc-format' of github.com:eclipse/jetty.project into jetty-10.0.x-doc-format 2019-07-22 11:22:31 -04:00
Chris Walker
041ff5b62c Manually bringing over updated documents
Signed-off-by: Chris Walker <chris@webtide.com>
2019-07-22 11:22:11 -04:00
Jesse McConnell
99e3f2e813
Issue #3897 remove docbook resources, update l&f and adjust assembly descriptor 2019-07-22 10:16:51 -05:00
Chris Walker
7a8e29856d Renamed administration guide
Signed-off-by: Chris Walker <chris@webtide.com>
2019-07-22 11:08:49 -04:00
olivier lamy
ba05117a0d use build-resources released version
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2019-07-22 21:23:04 +10:00
olivier lamy
c26bf34edb try to avoid issue with the checkstyle check branch so install first the artifacts
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2019-07-22 21:03:11 +10:00