Commit Graph

15657 Commits

Author SHA1 Message Date
olivier lamy a52ff588dc no need of this field
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-05-06 20:48:05 +10:00
Olivier Lamy 4c4294ffc2
Issue #2496 - Add Integration Tests for jetty-maven-plugin skip behavior (#2507)
* Add Integration Tests for jetty-maven-plugin skip behavior #2496

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

* add missing license headers

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

* add missing license headers

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

* add missing license headers

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

* add missing license headers

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-05-05 10:03:56 +10:00
Greg Wilkins c865aa1be7
Merge pull request #2476 from lachlan-roberts/jetty-9.4.x-1027-MultiPart-Cleanup
MultiPart Cleanup
2018-05-04 21:10:50 +10:00
Greg Wilkins e1d8834295
Merge pull request #2506 from spbolton/jetty-9.4.x
Issue #1785 Fix Javadoc and vhost warn logic
2018-05-04 16:31:17 +10:00
Steve Bolton 7e0afae70b Issue #1785 Fix Javadoc and vhost warn logic
Signed-off-by: Steve Bolton <steve@boltn.com>
2018-05-04 02:01:04 -04:00
Olivier Lamy 5faf018fbc
[WIP] [DO NOT MERGE] ensure maven its run correctly (#2505)
* ensure we correctly run maven it tests

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

* ensure we correctly run maven it tests

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-05-04 13:35:54 +10:00
Greg Wilkins 03d96ae538 Issue #1785 minor cleanups
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-04 10:20:15 +10:00
Greg Wilkins ddaafc5360
Merge pull request #2422 from spbolton/jetty-9.4.x
Issue #1785 Added vhost@connectorname format for AND behavior
2018-05-04 09:39:10 +10:00
Steve Bolton ad21d35d51 Issue #1785 Pre-process vhost entries and provide warning
Signed-off-by: Steve Bolton <steve@boltn.com>
2018-05-03 16:48:18 -04:00
Steve Bolton c73352b1f0 Merge branch 'jetty-9.4.x' of https://github.com/eclipse/jetty.project into jetty-9.4.x 2018-05-03 12:52:50 -04:00
Joakim Erdfelt 1732ffca51 Updating to version 9.4.11-SNAPSHOT 2018-05-03 11:48:05 -05:00
Joakim Erdfelt daa59876e6 Updating to version 9.4.10.v20180503 2018-05-03 10:55:19 -05:00
Joakim Erdfelt c152713311
Merge pull request #2497 from eclipse/jetty-9.4.x-issue-2496-skip-unsupported-packaging
Issue #2496 - Improve plugin execution skip language
2018-05-03 07:26:39 -05:00
Lachlan Roberts a1ef905908 Code Cleanup and Reformat
Cleaned up Reformatted all new MultiPart code.
Removed redundant javadocs.
Removed re-definitions of variables and unnecessary string constructors.
Lazily create MultiException in MultiPartFormInputStream.deleteParts()

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-05-03 21:18:08 +10:00
Greg Wilkins e59d6fa2c0
Support root base or home for quickstart #2446 (#2447)
* Support root base or home for quickstart #2446

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Issue #2446 - Root as base for quickstart

+ Adding more tests for differences we have to resolve
  with windows vs linux root path differences.
  and URI's that have an authority vs those without an authority.

  without authority examples:

  file:/code/
  file:/C:/code/

  with authority examples:

  file:///code/
  file:///C:/code/

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>

* Using the canonical URI passes all the tests on linux, but I still have some concerns with the whole approach

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* minor cleanups

Signed-off-by: Greg Wilkins <gregw@webtide.com>

* Handle windows URIs

Because a windows like `file:///F:/` has a path of `/F:/`, then it is OK to strip the trailing `/`, so the
expected normalized value can be `file:///F:`.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-05-03 09:56:08 +10:00
Jan Bartel 5515e13649
Issue #2427 Stop and start session idle timer (#2466)
* Issue #2427 Stop and start session idle timer

Signed-off-by: Jan Bartel <janb@webtide.com>
2018-05-03 08:05:26 +10:00
Joakim Erdfelt 1f835b9f23 Issue #2498 - new QTP.removeThread(Thread) method (#2499)
+ Adding removeThread(Thread) to allow instrumentation
  libraries to track removal of threads from Pool.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-03 07:32:49 +10:00
Joakim Erdfelt 61c2bb362a Happy New Year (2018)
+ Fixing some overlooked entries

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-02 14:27:28 -05:00
Joakim Erdfelt a4d7670536 Merge branch 'jetty-9.4.x' into jetty-9.4.x-issue-2496-skip-unsupported-packaging 2018-05-02 13:39:44 -05:00
Joakim Erdfelt d20e19af77 Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2018-05-02 13:38:58 -05:00
Joakim Erdfelt 4248388a77 Issue #2496 - Standardizing skip message syntax.
+ Both configuration based and manual skip now have the same
  skip message syntax.

+ Moving configuration based skip evaluation to earlier point
  to eliminate noise that is unrelated to skip message.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-02 13:34:30 -05:00
Joakim Erdfelt 97ace5a45c Issue #2496 - Improving plugin execution skip language.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-05-02 13:25:22 -05:00
WalkerWatch d9de386b28 Updated documentation in light of #2403. 2018-05-02 10:34:29 -04:00
olivier lamy 17076db7e1 no need of sonar for examples
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-05-01 18:16:32 +10:00
Jan Bartel 9c81443792 Issue #2482 Protect against NPE in MemcachedSessionDataMapFactory 2018-05-01 11:41:01 +10:00
Jan Bartel 44dfa868df
Issue #2445 Optionally expose request for jaas (#2463)
* Issue #2445 Optionally expose request for jaas

Signed-off-by: Jan Bartel <janb@webtide.com>
2018-05-01 10:06:22 +10:00
Jan Bartel 0e971e07d6
Issue #2274 Fix timing in CreationTest and other fixes (#2489)
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-05-01 09:59:53 +10:00
Jan Bartel 394c6313b3 Issue #2495 Make FileSessionDataStore private methods protected 2018-05-01 09:26:51 +10:00
Joakim Erdfelt 57b9f2ef22 Minor typo
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-04-27 08:27:31 -05:00
Simone Bordet d25fa7d20c Code cleanup.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-27 10:12:19 +02:00
Simone Bordet 04060ce567
Merge pull request #2479 from assimd/jetty-9.4.x
Fixes #2949 - AsyncMiddleManServlet.Transparent class wrongly extends ProxyServlet.
2018-04-27 08:41:25 +02:00
Joakim Erdfelt 38cd903922
Merge pull request #2493 from eclipse/jetty-9.4.x-issue-2491-ws-fragmentextension
Issue #2491 WebSocket FragmentExtension produces out of order Frames
2018-04-26 16:48:46 -05:00
Joakim Erdfelt 76dec16fde Issue #2491 - minor revert based on review 2018-04-26 16:12:29 -05:00
Joakim Erdfelt c596fcaac1 Issue #2491 - FragmentExtension produces out of order frames
+ Adding testcase to ensure no regression
+ All data frames that arrive, are now sent through the
  IteratingCallback to ensure that that input frame order
  is preserved.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-04-26 12:54:15 -05:00
Joakim Erdfelt 440d89750a Track frameCount for tests now
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-04-26 12:51:49 -05:00
Joakim Erdfelt 5d83d98e96 AbstractExtension properly handles Callback error now
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-04-26 12:51:18 -05:00
Joakim Erdfelt 9b8540aef4 OpCode.isDataFrame(byte) missing CONTINUATION
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-04-26 12:50:32 -05:00
Joakim Erdfelt dff0f0544b Merge branch 'jetty-9.4.x' of github.com:eclipse/jetty.project into jetty-9.4.x 2018-04-26 11:20:53 -05:00
Joakim Erdfelt 5add914942 Issue #2491 - Fragmented Messages arrive out of order.
+ Adding testcase for RemoteEndpoint
+ Adding testcase for FrameFlusher

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-04-26 11:19:19 -05:00
Joakim Erdfelt ca6d844b32
Merge pull request #2485 from BenBE/patch-1
Fix operator priority in ProxyConnectionFactory
2018-04-26 10:32:24 -05:00
BenBE f7faf392b2 Fix operator priority in ProxyConnectionFactory
Due to shift operations taking less precedence over addition the expression was parsed in an unintended way.

With this change the intention is made more clear and the intended order of calculations (shift the single byte values into some variable) is actually implemented.

Signed-off-by: Benny Baumann <BenBE@geshi.org>
2018-04-26 16:15:35 +02:00
Joakim Erdfelt 0f238baaf7
Merge pull request #2470 from eclipse/jetty-9.4.x-issue-2376-ws-context-relaxation
Issue #2376 - relax ContextHandler requirements
2018-04-26 06:37:28 -05:00
Greg Wilkins 97ec0b078d Better toString on ExecutorThreadPool #2478
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-04-26 14:47:31 +10:00
Konstantin Lutovich 25888f0d83 Fix NPE in PreEncodedHttpField constructor (#2488)
Which might happen when given `HttpHeader` is null. It might be null
when most generic constructor `#PreEncodedHttpField(HttpHeader, String, String)`
is invoked with a null argument or when `#PreEncodedHttpField(String, String)`
constructor is used. Later is valuable for custom headers. NPE happens
because of an attempt to call `HttpHeader#asString()` on a null argument.

This commit fixes the problem by making encoders use specified header
name, instead of trying to retrieve it from the `HttpHeader` object.

Signed-off-by: lutovich <konstantin.lutovich@neo4j.com>
2018-04-26 08:35:24 +10:00
Simone Bordet ed51c4a9e6
Merge pull request #2449 from lachlan-roberts/jetty-9.4.x-1555-wwwAuthenticate-Parsing
Fixes #1555 AuthenticationProtocolHandler unable to parse Digest WWW Header.
2018-04-26 00:02:54 +02:00
Joakim Erdfelt 0ea704a29a Fixing merge issue 2018-04-25 16:30:47 -05:00
Olivier Lamy 47586c5449
Fix typo (#2480)
* fix typo for #2403

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

* default url to download artifacts must be https per default #2472

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

* use dot rather than dashes

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

* use central.maven.org as default

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-26 06:20:01 +10:00
Simone Bordet 0a4d62c91d
Issue #2468 - EWYK concurrent produce (#2477)
Fixes #2468 - EWYK concurrent production.

Fixed the case when a task throws an exception, which causes
the thread that ran the task to continue production, even
when it should not.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-25 17:59:58 +02:00
Simone Bordet c4e1e8f454 Moved method onFlushed() to ISession.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-25 15:11:24 +02:00
Olivier Lamy d64d0348b7
test some Jenkinsfile changes (#2471)
* maven 3.5

* add surefire timeout to avoid build stuck
2018-04-25 19:29:21 +10:00