16253 Commits

Author SHA1 Message Date
Greg Wilkins
bb0f06fecc Merge remote-tracking branch 'origin/jetty-9.4.x' 2017-11-14 18:15:55 +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
Joakim Erdfelt
a7283e8e2a
Merge pull request #1959 from olamy/feature/build_properties_master_1956
master merge add a build.properties file containing git hash, build timestamp scm …
2017-11-10 15:55:15 -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
99e56f97a2 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:02:10 +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
80725581e2 Merge branch 'jetty-9.4.x' 2017-11-09 13:46:53 -05: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
e7f6969059 Merge branch 'jetty-9.4.x' 2017-11-09 13:34:00 -05:00
WalkerWatch
89c5332187 Updating module documentation. Resolves #1887 2017-11-09 13:33:33 -05:00
WalkerWatch
0f3d822f84 Merge branch 'jetty-9.4.x' 2017-11-09 13:20:05 -05:00
WalkerWatch
64858a5f56 Documentation update. Resolves #1549 2017-11-09 13:19:29 -05:00
WalkerWatch
07189b29b4 Merge branch 'jetty-9.4.x' 2017-11-09 13:01:48 -05:00
WalkerWatch
1fb8b2e4ad Updated documentation for Jetty Runner. Resolves #1550 2017-11-09 13:01:24 -05:00
WalkerWatch
5aea24c16f Merge branch 'jetty-9.4.x' 2017-11-09 12:44:41 -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
4329df70b5 Merged branch 'jetty-9.4.x' into 'master'. 2017-11-09 10:31:07 +01: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
1fdb974a35 Merged branch 'jetty-9.4.x' into 'master'. 2017-11-08 22:47:56 +01:00
Simone Bordet
761dccd10c Now dumping also SelectionKeys that throw when accessed. 2017-11-08 22:47:16 +01:00
Simone Bordet
e244aad86e Merged branch 'jetty-9.4.x' into 'master'. 2017-11-08 22:44:20 +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
b7c4b9d0db Merge branch 'jetty-9.4.x' 2017-11-07 15:18:06 -05:00
WalkerWatch
ee3b93de03 Updated javadoc language. Resolves #1945 2017-11-07 15:17:42 -05:00
WalkerWatch
3b3e1ffc1c Merge branch 'jetty-9.4.x' 2017-11-07 08:28:07 -05:00
WalkerWatch
c58ad44f4b Fixed incorrect usages of {SRCDIR} in documentation links. 2017-11-07 08:27:37 -05:00
Olivier Lamy
bf6fd6f458 upgrade assembly plugin and use tarLongFileMode posix #1782 (#1942) (#1944)
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-07 09:32:27 +11:00
WalkerWatch
92f3003f7b Merge branch 'jetty-9.4.x' 2017-11-06 13:58:21 -05:00
WalkerWatch
ff4590e5df Added documentation for Session XML config. Resolves #1716. 2017-11-06 13:57:23 -05:00
WalkerWatch
814769637d Merge branch 'jetty-9.4.x' 2017-11-06 10:29:41 -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
Olivier Lamy
05a7c5952a upgrade assembly plugin and use tarLongFileMode posix #1782 (#1943)
Signed-off-by: olivier lamy <olamy@webtide.com>
2017-11-06 18:24:03 +11:00
Jesse McConnell
bafe63dc52 add in 9.3.22 release notes 2017-11-03 12:03:26 -05:00
Jesse McConnell
c8d78380d8 Merge branch 'jetty-9.4.x' 2017-11-03 12:02:29 -05:00
Jesse McConnell
a3deeb2945 add in jetty-9.3.22 release notes 2017-11-03 09:51:20 -05:00
Jesse McConnell
6cb5bc35a9 Merge branch 'jetty-9.3.x' into jetty-9.4.x 2017-11-03 09:49:33 -05:00
Jesse McConnell
0f34179b2b Merge branch 'release-9.3.22' into jetty-9.3.x 2017-11-03 09:45:47 -05:00
Greg Wilkins
6fb7c9ec2e
Issue #1939 fair selector choice (#1937)
* Issue #1939 fair selector choice

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

* Issue #1939 removed address based heuristic for choosing selector

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

* Issue #1939 removed println

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

* Issue #1939 use lambda syntax sugar

Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-11-04 00:22:45 +11:00
Greg Wilkins
0ef51b67dc
Fix NPE when stopping with no resesrved threads (#1939)
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2017-11-03 23:58:00 +11:00
Greg Wilkins
08f7080bac Fix #1746 Remove LICENSE-CONTRIBUTOR
The CLA in this directory is not longer the CLA under which contributions are received.
The CLAs remain available in previous distributions and git, so they do not need to be
distributed with each release (and maybe never did).
2017-11-03 16:29:24 +11:00