olivier lamy
ba7d1b6377
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2020-11-24 09:42:14 +10:00
Olivier Lamy
429bec57a4
Issue #5644 Remove all profiles for session tests ( #5703 )
...
* remote session tests are now executed per default, new profile to exclude then no-remote-session-tests
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* remove this no-remote-session-tests profile just use skipTests to skip that
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-11-24 09:38:30 +10:00
Simone Bordet
8edb5cfc24
Issue #5691 - HttpInput may skip setting fill interest.
...
Code cleanups and logging improvements.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-20 16:50:24 +01:00
Simone Bordet
7726c2ebcb
Code cleanup to fix checkstyle issue.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-19 17:34:20 +01:00
Joakim Erdfelt
901a17d197
Issue #5605 - Adding more comments
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-19 10:24:36 -06:00
Joakim Erdfelt
a6d432e9e3
Issue #5605 - Adding more comments and fixing logging
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-19 10:19:31 -06:00
Simone Bordet
88c03ac1dc
Issue #5605 - java.io.IOException: unconsumed input during http request parsing.
...
Fixed test after merge.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-19 16:47:36 +01:00
Simone Bordet
d4feb4f29d
Removed unused code.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-19 16:08:31 +01:00
Simone Bordet
3a44648e46
Code cleanup.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-19 15:21:58 +01:00
olivier lamy
8eb9522775
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2020-11-19 21:36:37 +10:00
Joakim Erdfelt
5f6e72d2ed
Issue #5605 - Adding more gzip consume all tests
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-18 11:42:40 -06:00
gregw
f37ad023a8
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: gregw <gregw@webtide.com>
2020-11-18 11:20:48 +01:00
Greg Wilkins
14f94f738d
Issue #5605 unconsumed input on sendError ( #5637 )
...
* Issue #5605 unconsumed input on sendError
Add Connection:close if content can't be consumed during a sendError. Processed after the request has returned to the container.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Update from review
+ Add close on all uncommitted requests when content cannot be consumed.
* Update from review
+ fixed comment
+ space comma
* Only consume input in COMPLETE if response is >=200 (ie not an upgrade or similar)
* Updated to be less adventurous
I do not think it was valid to always consumeAll in COMPLETE as this could break upgrades with both 101s and 200s
Instead I have reverted to having this consumeAll logic only:
+ in sendError once control has passed back to the container and we are about to generate an error page.
+ in front of all the sendRedirection that we do without calling the application first.
Extra tests also added
* Updated to be less adventurous
reverted test
* Testcase for odd sendError(400) issue.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
* Fix for odd sendError(400) issue.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Testcase for odd sendError(400) issue.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
* Always try to consumeAll on all requests
* Refinements after testing in 10
* Refinements after testing in 10
Fixed test
* Fixed comment from review
* Updates from review
+ added redirect methods that consumeAll
+ ensureContentConsumedOrConnectionClose renamed to ensureConsumeAllOrNotPersistent
+ ensureConsumeAllOrNotPersistent now handles HTTP/1.0 and HTTP/1.1 differently
* better consumeAll implementation
* update from review
+ better javadoc
+ filter out keep-alive
+ added more tests
* update from review
+ better javadoc
* update from review
+ fixed form redirection test for http 1.0 and 1.1
* update from review
+ HttpGenerator removes keep-alive if close present
+ Use isRedirection
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-18 10:40:05 +01:00
Joakim Erdfelt
e9c6c942ea
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-11-17 09:12:50 -06:00
Joakim Erdfelt
1448444c65
Merge pull request #5560 from eclipse/jetty-9.4.x-5539-statisticsservlet-output
...
Issue #5539 - Proper StatisticsServlet output format via content negotiation
2020-11-17 08:52:34 -06:00
Jan Bartel
ac6444f6ff
Issue #5272 Clean up LoginServices and LoginModules ( #5641 )
...
* Issue #5272 Clean up LoginServices and LoginModules
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-11-17 15:40:12 +01:00
olivier lamy
8dd980d256
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2020-11-17 16:32:07 +10:00
Olivier Lamy
48b89f9394
use @Testcontainers to disable test if docker not available ( #5678 )
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-11-17 16:20:16 +10:00
olivier lamy
35ace7787b
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2020-11-17 12:02:31 +10:00
Olivier Lamy
213ac63d2c
Enable gcloud testing in docker ( #5651 )
...
* Enable "gcloud" profile for gcloud session testing.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
* use docker image as google datastore
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* fix project id
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* all tests pass here
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* do not trim stack trace
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* Try distinguishing between localhost and non-localhost
Signed-off-by: Jan Bartel <janb@webtide.com>
* add some debug
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* remove non needed pom content
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
Co-authored-by: Jan Bartel <janb@webtide.com>
2020-11-17 11:13:22 +10:00
Joakim Erdfelt
314c65fb14
Issue #5539 - Adding StatisticsServlet tests in test-distribution
...
+ Updating module definition for JSON
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-16 12:31:28 -06:00
Joakim Erdfelt
d3f275ad4b
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-11-16 09:58:46 -06:00
Joakim Erdfelt
7f86f5e9ad
Merge pull request #5663 from eclipse/dependabot/maven/jetty-9.4.x/openwebbeans.version-2.0.20
...
Bump openwebbeans.version from 2.0.19 to 2.0.20
2020-11-16 09:58:24 -06:00
Simone Bordet
36d8289dee
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-11-16 16:39:53 +01:00
dependabot[bot]
991e23d80b
Bump openwebbeans.version from 2.0.19 to 2.0.20
...
Bumps `openwebbeans.version` from 2.0.19 to 2.0.20.
Updates `openwebbeans-web` from 2.0.19 to 2.0.20
- [Release notes](https://github.com/apache/openwebbeans/releases )
- [Commits](https://github.com/apache/openwebbeans/commits/openwebbeans-2.0.20 )
Updates `openwebbeans-jetty9` from 2.0.19 to 2.0.20
- [Release notes](https://github.com/apache/openwebbeans/releases )
- [Commits](https://github.com/apache/openwebbeans/commits/openwebbeans-2.0.20 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-16 14:05:10 +00:00
Lachlan Roberts
8ff545f696
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-5320-WebSocketHttpClient2
2020-11-12 09:42:48 +11:00
Simone Bordet
a308881fab
Fixes #5633 - Allow to configure HttpClient request authority.
...
Introduced HttpDestination.send(Request, Response.CompleteListener) to send a request using the given destination.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-11-11 17:13:00 +01:00
Lachlan
23f75a395b
Merge pull request #5599 from eclipse/jetty-9.4.x-XML-Review
...
Fixes to XML formatting and comments.
2020-11-11 13:55:26 +11:00
Joakim Erdfelt
9e22260377
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-11-10 12:12:39 -06:00
Joakim Erdfelt
21c27f6370
Fixing checkstyle violations
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-10 06:33:04 -06:00
dependabot[bot]
949a89c15b
Bump geronimo-interceptor_1.2_spec from 1.1 to 1.2 ( #5632 )
...
Bumps geronimo-interceptor_1.2_spec from 1.1 to 1.2.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 16:34:46 +10:00
dependabot[bot]
deef0b4e30
Bump geronimo-jcdi_2.0_spec from 1.1 to 1.3 ( #5607 )
...
Bumps geronimo-jcdi_2.0_spec from 1.1 to 1.3.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 14:26:52 +10:00
Lachlan Roberts
bd553d98e5
fixing badly formatted XML comments
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-09 23:51:35 +11:00
Lachlan Roberts
4c172b5bbb
Fix xml <Ref/> tags using id instead of refid.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-09 23:30:36 +11:00
Lachlan Roberts
80a824854b
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-10.0.x-5320-WebSocketHttpClient2
2020-11-09 15:17:22 +11:00
Joakim Erdfelt
e59b7c2750
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-11-04 13:24:50 -06:00
Joakim Erdfelt
2fd895a6dc
Merge pull request #5570 from eclipse/dependency/jetty-9.4.x/org.infinispan.protostream-protostream-4.3.4.Final
...
Bump protostream from 4.2.2.Final to 4.3.4.Final
2020-11-04 13:19:52 -06:00
Joakim Erdfelt
71ad5447a4
Merge remote-tracking branch 'origin/release-9.4.34' into jetty-9.4.x
2020-11-04 10:24:21 -06:00
Joakim Erdfelt
4f8707390e
Adding required gson dependency to test-infinispan-sessions
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-04 10:09:15 -06:00
Lachlan Roberts
416579a690
fix formatting in DistributionTests
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-04 22:24:19 +11:00
Lachlan Roberts
fc4e263f93
Add module and configuration for websocket-client provided to webapp.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-04 22:22:13 +11:00
Joakim Erdfelt
2c43fbf37b
Bump protostream from 4.2.2.Final to 4.3.4.Final
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-03 14:08:58 -06:00
Ludovic Orban
814dc69803
Get rid of addContent() by making produceContent() return Content instead.
...
Make EOF and errors be special content.
Transition to a much simplified FSM by using the needContent() / produceContent() model.
Implement blocking on top of async, this way there is only one FSM.
(Milestone 6)
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-11-03 17:30:25 +01:00
Ludovic Orban
a4258ec9c0
Merge all HttpInput* impls into a single class, push all differences to HttpChannel* impls (Milestone 5)
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-11-03 17:30:25 +01:00
Joakim Erdfelt
40bde46b13
Bump maven-antrun-plugin from 1.8 to 3.0.0
...
+ and update configuration/task to configuration/target
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-11-03 08:46:27 -06:00
Joakim Erdfelt
167eded4cf
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-11-03 08:33:33 -06:00
Joakim Erdfelt
ba577ba972
Merge pull request #5508 from eclipse/dependabot/maven/jetty-9.4.x/org.mariadb.jdbc-mariadb-java-client-2.7.0
...
Bump mariadb-java-client from 2.6.0 to 2.7.0
2020-11-03 07:44:56 -06:00
Lachlan Roberts
8d21bb7b63
Issue #5320 - fix the XmlHttpClientProvider for jetty 10, re-enable tests
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-03 17:17:27 +11:00
Joakim Erdfelt
edaadff55b
Updating to version 9.4.35-SNAPSHOT
2020-11-02 09:04:51 -06:00
Lachlan Roberts
1b5747cbbe
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-11-03 01:17:31 +11:00