Commit Graph

15299 Commits

Author SHA1 Message Date
Greg Wilkins 8c6883a109 added margin on flaky test
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-30 19:31:48 +01:00
Jan Bartel c07bab5e30 Update OSGi doc for spifly and fix errors. 2018-01-30 13:07:40 +01:00
Alex Bleasdale 8a17563e6b Fixes #2160 - Digest authentication should use absolute path
Modified uri value in Authorized header as per discussion in #2160.

Signed-off-by: Alex Bleasdale <ableasdale@marklogic.com>
Reviewed-by: Simone Bordet <simone.bordet@gmail.com>
2018-01-29 10:04:44 +01:00
Chris Walker e2c825a37e
Jetty quick start doc material (#2155)
* Initial re-work and additions to quick start guide.
Signed-off-by: WalkerWatch <ctwalker@gmail.com>

* Additional content for Quick Start documentation

Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2018-01-26 08:43:43 -05:00
Jesse McConnell eca61cd616 Resolves #2152 by adding new artifacts with 'sources' classifier which contains the -sources artifacts for jetty classes under lib (only)
Signed-off-by: Jesse McConnell <jesse.mcconnell@gmail.com>
2018-01-24 08:46:23 -06:00
WalkerWatch 1458a232d5 Updating jetty-bom pom to 9.4.9-SNAPSHOT 2018-01-24 09:32:52 -05:00
Chris Walker 0345820526
Issue #2130 Creates threadpool module. (#2132)
* Creates threadpool module. Resolves #2130

Signed-off-by: WalkerWatch <ctwalker@gmail.com>

* Fixed formatting

Signed-off-by: WalkerWatch <ctwalker@gmail.com>

* Made requested changes.

Signed-off-by: WalkerWatch <ctwalker@gmail.com>

* Additional PR changes.

Signed-off-by: WalkerWatch <ctwalker@gmail.com>

* Udated jetty-threadpool.xml

Signed-off-by: WalkerWatch <ctwalker@gmail.com>
2018-01-22 13:39:59 -05:00
Joakim Erdfelt fe2be81783
Merge pull request #2149 from eclipse/jetty-9.4.x-2148-bufferutil-todetailstring
Issue #2148 - Limit BufferUtil.toDetailString() raw character display to USASCII 7-bit printable characters
2018-01-22 11:23:54 -06:00
Joakim Erdfelt 3e28e50693 Issue #2148 - Limit BufferUtil.toDetailString() raw character display to USASCII 7-bit printable characters
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-01-22 11:22:50 -06:00
Greg Wilkins e6ecdd4a7d Issue #2136 load XmlConfiguration DTDs from same classloader
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-18 18:43:49 +01:00
Jan Bartel 4d682a1f2d Issue #2128 Revert surefire version
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-01-18 12:04:06 +01:00
Jan Bartel 8d11b02760 Issue #2114 Fix NPE in JettyHttpServerProvider
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-01-18 12:03:33 +01:00
Jan Bartel 298580625e Issue #2079 Update to Jasper 8.5.24
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-01-18 12:02:57 +01:00
Simone Bordet 43f99d8857 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2018-01-17 12:00:13 +01:00
Simone Bordet 53eebd045c Merged branch 'jetty-9.2.x' into 'jetty-9.3.x'. 2018-01-17 11:56:26 +01:00
Simone Bordet 3de4de99d3 Updated ALPN version for JDK 8u161 and 8u162.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-01-17 11:46:12 +01:00
Greg Wilkins c606d5f103 Issue #2126 removed sleep from test
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-16 17:56:03 +01:00
Jan Bartel 709da5efc6 Issue #2126 2018-01-16 17:47:07 +01:00
Greg Wilkins e0eab58c24 Issue #1797 - JEP 238 - Multi-Release JAR files break bytecode scanning. Fixed for java 10
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-15 16:40:57 +01:00
Greg Wilkins f4e37b1adb
Issue #2014 - Unix Socket Client (#2025)
There are still problems with this impl (some client tests ignored) and there is still a work around for the JNR bug 50, however this impl is already much better than the unix socket support that is already in the release.  So will merge for now and put more effort in once there is a JNR fix.

* WIP add unix domain sockets support in HttpClient
* move unix socket client part to unix socket module #2014
* some cleanup #2014
* add missing headers #2014
* add TODO
* UnixSocket client refactor
* cleanup test and pom
* minor changes, use LOG.isDebugEnabled() before using debug method
* add UNIX SOCKET http client test with all other tests, push this to see what happen on Jenkins
* fix some unit tests
* fix more tests
* fix load test
* UnixSocket client
* Demonstrate JNR bug
* Worked around JNR bug 50
* close channel on client side as well
* more details in log
* log file path as well
* #2014 disable test per default as doesn't work on some environement
* Revert "#2014 disable test per default as doesn't work on some environement"
* test only on unix
* Allow test of specific transport(s)
* Move unix socket to /tmp
* move test socket to /tmp
* move test socket to /tmp
* ignore failing tests for now
* fix bean name and possible to use sys prop org.eclipse.jetty.http.client.AbstractTest.Transports with mvn cli
* test isBlank as surefire props is not null
* correctly create tmp file with @Before
* do not delete file
* use /tmp as build directory doesn't seem to work within docker...
* do not delete sock file on client as it is own by the server
* file must not exist when binding unix socket
* #2014 fix license header
* network specific tests assumed
* Fixed to handle null selector keys
* add assume for tests that assume a network connector

Signed-off-by: olivier lamy <olamy@webtide.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-13 11:59:47 +01:00
Simone Bordet 0b3a276a9b
Fixes #2117 - Allow to configure HttpClient default request Content-Type (#2118)
* Fixes #2117 - Allow to configure HttpClient default request Content-Type.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-01-13 10:31:13 +01:00
Jan Bartel 65101b776b
Issue #2080 Exclude cdi packages coming from maven plugin dependencies (#2084)
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-01-12 18:56:00 +01:00
Greg Wilkins c7e03d6175 Better name for no HTTP/0.9 #2022
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-12 18:33:46 +01:00
Joakim Erdfelt 1998720719 Issue #1602 - more tests 2018-01-11 16:17:05 -06:00
Joakim Erdfelt f3c36f804a Issue #1602 - Reverting AbstractLifeCycle changes per review 2018-01-11 16:16:26 -06:00
Greg Wilkins de7e3001ef cleanup temp fix for #2046 2018-01-11 17:01:05 +01:00
Joakim Erdfelt 4ba0277c37 Issue #1602 - Requested fixes to StandardStarter and AbstractLifeCycle 2018-01-11 10:00:39 -06:00
Greg Wilkins 1cbc1cf5e0 removed old javadoc 2018-01-11 16:58:26 +01:00
Greg Wilkins e1e5a1dbd6
Merge pull request #2064 from eclipse/jetty-9.4.x-2022-FineGrainedComplianceModes
#2022 Fine Grained HTTP Compliance Modes
2018-01-11 16:40:21 +01:00
Joakim Erdfelt ce84ca35fb Issue #1602 - LifeCycle FAILED fixes
+ AbstractLifeCycle.setFailed(Throwable) is now protected, so
  that the odd usages from WebAppContext.doStart() can be supported
+ The AbstractLifeCycle.doStart() now checks for state == FAILED
2018-01-11 09:36:05 -06:00
Greg Wilkins 3ae5abdda6 updated header for 2018
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-11 14:55:32 +01:00
Greg Wilkins c66e3eb606 Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes 2018-01-11 10:31:30 +01:00
Greg Wilkins 385ba7d70d Remove graceful handling from ManagedSelector stop #2046
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-11 10:29:27 +01:00
Greg Wilkins 8b7480f088 Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes 2018-01-10 22:25:49 +01:00
Greg Wilkins 3a15419047 deprecated CUSTOM enums
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-10 22:18:47 +01:00
Greg Wilkins 7d9f2d7e64 Added info to TimeoutException
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-10 21:16:41 +01:00
Simone Bordet 6cefd1c7dd Issue #1918 - Scalable scheduler implementation.
Fixed destroy of HttpChannel for HTTP/1.1: not at release()
because the connection and therefore the channel will be reused,
but at close(), when we're sure the connection will not be reused.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-01-10 19:42:28 +01:00
Joakim Erdfelt 235cc149f3 Issue #1602 - Adding more TestCases around throwUnavailableOnStartupException
+ Reverting minor import change to EnvConfiguration
+ Adding /badapp-uaf (throw unavailable fail = true) context
+ Adding tests for throwUnavailableOnStartupException (true & false)
2018-01-10 12:02:20 -06:00
Greg Wilkins db3891f3d2 removed jmh dependency
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-10 17:00:07 +01:00
Greg Wilkins 7138dc3828
Jetty 9.4.x #1918 scalable scheduler3 (#2101)
* Scalable scheduler changes for #1918
* Added HttpChannel.destroy to destroy CyclicTimer
* fixed rebase with HttpConnectionOverFCGI
* renamed to acquire
* Destroying the HttpChannel consistently in all transports.
* updated headers
* cleanup after final review

Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-01-10 16:56:41 +01:00
Jan Bartel a0b8321ef4
Jetty 9.4.x 2038 slow filesessiondatastore (#2102)
* Issue #2038 Speed up FileSessionDataStore

Signed-off-by: Jan Bartel <janb@webtide.com>
2018-01-10 16:40:53 +01:00
Greg Wilkins 356bf2e06f
Issue #2046 - Graceful stop of connections (#2100)
* Clean up of actions (now updates) prior to #2046 fix
* prevent exceptions from termincating lifecycle doStop or destroy
* Refactored ManagedSelector stop to always close endpoints
* Fixed NPE if SelectorManager is already stopped
* refactored after review
* further simplifications after review
* Wait only for oshut endpoints
* Cleanup from review

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-09 20:36:41 +01:00
Joakim Erdfelt 1440b2d1fa Issue #1602 - WebAppContext Deployment fail should be on Throwable, not Exception 2018-01-09 11:58:57 -06:00
Joakim Erdfelt 21365234f8 Issue #2108 - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
Joakim Erdfelt 41ed9f29f4 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
Joakim Erdfelt fa4c7b0ca9 Issue #2108 - Updating license headers for year 2018 2018-01-09 08:39:37 -06:00
Joakim Erdfelt 067fc5d2d8 Issue #2108 - Upgrade licenses for 2018 2018-01-09 07:42:06 -06:00
Greg Wilkins 88f64b8abf fixed compliance names in formats
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-01-09 14:02:09 +01:00
Greg Wilkins 54f49dec7d Merge branch 'jetty-9.4.x' into jetty-9.4.x-2022-FineGrainedComplianceModes 2018-01-09 13:32:19 +01:00
Greg Wilkins b6d07f7282
Merge pull request #2085 from olamy/bugfix/javadoc_fixes_2056
Javadoc Warning Fixes
2018-01-09 10:00:42 +01:00