Commit Graph

15151 Commits

Author SHA1 Message Date
Jan Bartel 375d7aa8da
Merge pull request #1985 from adamretter/hotfix/FormAuthenticator-session
Remove unnecessary session creation in FormAuthenticator
2017-11-23 12:58:07 +01:00
WalkerWatch 9e891a4ceb Cleaned up examples for #1830. 2017-11-22 13:39:23 -05:00
Simone Bordet d285c718b9 Issue #1901 - Reimplement PathWatcher as scanner.
Ignored PathWatcherTest because it is unstable and often fails in Jenkins.
2017-11-22 18:58:22 +01:00
Jan Bartel 7a795c9e31 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2017-11-22 13:58:52 +01:00
Jan Bartel 7f6e2e8dd0 Issue #1933
Cherry-pick of 29373c6 and 44d170e
2017-11-22 13:53:38 +01:00
Jan Bartel 8e6605a681 Issue #1817 2017-11-22 13:01:31 +01:00
Greg Wilkins 6ac4e770a6 Issue #1983 Warn on connection failures
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-11-22 11:08:20 +01:00
Jan Bartel 8cc9f9ddcf Issue #1940 Fix NPE 2017-11-22 09:37:42 +01:00
Jan Bartel 6a2f39fb3c Issue #1940 2017-11-22 00:37:51 +01:00
WalkerWatch b02f225470 Additional documentation for Conscrypt. Resolves #1830 2017-11-21 17:13:14 -05:00
Joakim Erdfelt ff53002fac Updating to version 9.4.9-SNAPSHOT 2017-11-21 13:11:31 -07:00
Joakim Erdfelt 82b8fb23f7 Updating to version 9.4.8.v20171121 2017-11-21 12:33:52 -07:00
Jan Bartel 44d170e2e0 Issue #1933
Do not set java.class.path when running with the distro.
2017-11-21 18:12:16 +01:00
Jan Bartel 26b7058186 Issue #1981 2017-11-21 17:53:44 +01:00
Adam Retter ad88309401 Don't create a session for every request if not required when doing form authentication
Signed-off-by: Adam Retter <adam.retter@googlemail.com>
2017-11-21 13:53:57 +00:00
Greg Wilkins f3041b783e Fix #1984 unused jetty-client dependency 2017-11-21 14:18:59 +01:00
Simone Bordet fab4b95925 Fixes #1980 - PushCacheFilter does not push TLS offloaded HTTP/2 requests.
Changed HttpChannel to call Request.setSecure() with the scheme of the
request URI.

Changed PushCacheFilter to rely on the referrer URI scheme, and only if
that is missing then using Request.isSecure().

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-11-16 23:32:44 +01:00
WalkerWatch 81ec56b7c3 Added docoumentation for Conscrypt SSL.
Consolidated exisitng SSL documentation and move non-root-port80 doc. Resolves #1830.
2017-11-16 16:18:28 -05:00
Greg Wilkins b5a38d82ce
HttpParser is not using cached HTTP Field values (#1979)
* HttpParser is not using cached HTTP Field values

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-11-16 16:55:43 +01:00
Jan Bartel 29373c6fb4
Merge pull request #1976 from eclipse/jetty-9.4.x-1933-jdk9-classpath
Jetty 9.4.x 1933 jdk9 classpath
2017-11-16 13:57:56 +01:00
Simone Bordet 131f46df64 Improved dump of ManagedSelector.
Now also dumping the actions.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-11-16 11:35:18 +01:00
Jan Bartel 98d8c2400d Issue #1933
Add some comments, changes from code review.

Signed-off-by: Jan Bartel <janb@webtide.com>
2017-11-16 10:01:44 +01:00
Greg Wilkins 918cf625cc
Issue #1958 Blocking timeout spurious wakeups (#1975)
* Issue #1958 Blocking timeout

Use tryFillInterested to allow retries on spurious wakeups

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-11-15 18:13:00 +01:00
Jan Bartel 10a6f57bd8 Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-9.4.x-1933-jdk9-classpath
Signed-off-by: Jan Bartel <janb@webtide.com>
2017-11-15 10:42:08 +01:00
Jan Bartel 12327b8876 Issue #1933
Signed-off-by: Jan Bartel <janb@webtide.com>
2017-11-15 10:33:51 +01:00
Simone Bordet 0f07c6518e
Issue #1970 - ManagedSelector loses selector thread (#1971)
* Issue #1970 - ManagedSelector loses selector thread.

Removed broken data structure ConcurrentStack (ABA problem).

Made ReservedThreadExecutor use a ConcurrentLinkedDeque
instead of ConcurrentStack.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-11-14 10:48:33 +01:00
Greg Wilkins 47d46ec60e
Issue #1924 - ManagedSelector livelock. (#1963)
* Issue #1924 - ManagedSelector livelock.

Alternate implementation that is count based rather than time based.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-11-14 10:27:04 +01:00
Greg Wilkins 48df74224a
Jetty 9.4.x 1931 rollover (#1932)
* Issue #1931 Rollover log file

Added a protected method that is called whenever a log file is rolled over.
Support a date format of "" so that a rollover file may have the same name and a backup file is created.

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

* removed bad javadoc

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

* Issue #1931 Rollover

Replaced FilteredOutputStream with a volatile field so that rollover events will be seen immediately

* Issue #1931 Rollover

use mutex to avoid write and close race
2017-11-14 09:16:47 +01:00
Greg Wilkins c66bacba02 Issue #922 (#1965) bytesIn/Out stats
Ensure -1 fill is not appended to bytesIn counts
Don't include discarded bytes from head responses in counts
refactored gather writes in HttpConnection to be clearer and removed
redundant buffer checks
2017-11-14 09:12:00 +01:00
Olivier Lamy 786f128808 implements connection.getBytes[In|Out] for http transport #922 (#1965)
* implements connection.getBytes[In|Out] for http transport, #922

Signed-off-by: olivier lamy <olamy@webtide.com>

* use LongAdder rather than AtomicLong

Signed-off-by: olivier lamy <olamy@webtide.com>

* changes by Greg review

Signed-off-by: olivier lamy <olamy@webtide.com>

* changes by Greg review

Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-14 08:41:47 +01:00
Joakim Erdfelt a2c34e1d8b
Merge pull request #1960 from olamy/feature/build_properties_jetty-9.3.x_1956
(9.3.x merge) add a build.properties file containing git hash, build timestamp scm …
2017-11-10 15:55:27 -07:00
Olivier Lamy 6499baa3a2 add a build.properties file containing git hash, build timestamp scm url (#1957)
* add a build.properties file containing git hash, build timestamp and scm url #1956

Signed-off-by: olivier lamy <olamy@webtide.com>

* move build infos to Jetty class so it's available for server and client

Signed-off-by: olivier lamy <olamy@webtide.com>

* apply changes by Greg review

Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-11 09:26:00 +11:00
Olivier Lamy 9fab69ea02 add a build.properties file containing git hash, build timestamp scm url (#1957)
* add a build.properties file containing git hash, build timestamp and scm url #1956

Signed-off-by: olivier lamy <olamy@webtide.com>

* move build infos to Jetty class so it's available for server and client

Signed-off-by: olivier lamy <olamy@webtide.com>

* apply changes by Greg review

Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-10 18:39:28 +01:00
WalkerWatch 7ba4428e9f Cleaned up cross reference syntax, leaving only xref and link anchors. Resolves #716. 2017-11-09 13:45:29 -05:00
WalkerWatch 89c5332187 Updating module documentation. Resolves #1887 2017-11-09 13:33:33 -05:00
WalkerWatch 64858a5f56 Documentation update. Resolves #1549 2017-11-09 13:19:29 -05:00
WalkerWatch 1fb8b2e4ad Updated documentation for Jetty Runner. Resolves #1550 2017-11-09 13:01:24 -05:00
Chris Walker 440ebcb513
Merge pull request #1954 from olamy/bugfix/1550-inconsistencies-shutdown-jetty-runner
fix inconsistencies shutdown for JettyRunner
2017-11-09 12:44:18 -05:00
Simone Bordet 0bc8305535 Improved ReservedThreadExecutor by reporting waiting threads. 2017-11-09 10:26:11 +01:00
olivier lamy 17ce298b98 fix inconsistencies for JettyRunner support -DSTOP.PORT and -DSTOP.KEY as well #1550
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-09 17:29:39 +11:00
Simone Bordet 761dccd10c Now dumping also SelectionKeys that throw when accessed. 2017-11-08 22:47:16 +01:00
Simone Bordet d496cc85b6 Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'. 2017-11-08 22:43:48 +01:00
Simone Bordet b1d5fea96c
Issue #1797 - JEP 238 - Multi-Release JAR files break bytecode scanning. (#1951)
Made MultiReleaseJarFile closeable and using try-with-resources in
AnnotationParser to avoid leaking file descriptors.

Made few code simplifications.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-11-08 21:38:26 +01:00
Simone Bordet 7a6d7bd137 Code reformatting (tabs -> spaces). 2017-11-08 19:03:22 +01:00
Simone Bordet d1e5883ad4 Issue #1920 - Connect Timeouts with NonBlocking CreateEndPoint.
Made CreateEndPoint and DestroyEndPoint blocking.
2017-11-08 16:28:40 +01:00
WalkerWatch ee3b93de03 Updated javadoc language. Resolves #1945 2017-11-07 15:17:42 -05:00
WalkerWatch c58ad44f4b Fixed incorrect usages of {SRCDIR} in documentation links. 2017-11-07 08:27:37 -05:00
WalkerWatch ff4590e5df Added documentation for Session XML config. Resolves #1716. 2017-11-06 13:57:23 -05:00
WalkerWatch 99e63fea83 Added Spring Boot note to Quickstart. Resolves #1552 2017-11-06 10:29:18 -05:00
Olivier Lamy 4a659a9e89 upgrade assembly plugin and use tarLongFileMode posix #1782 (#1942)
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-06 18:24:09 +11:00