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
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
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
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
969c2d8e6a
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-11-03 08:52:58 +11:00
Greg Wilkins
6e7560acd1
Issue #1797 MR Jar. Fixed NPE
2017-11-03 07:51:26 +11:00
WalkerWatch
5458e41fbb
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2017-11-02 13:57:18 -04:00
WalkerWatch
482a643781
Resolves #1935 - Documentation anchors unable to start with numeric characters.
2017-11-02 13:56:44 -04:00
WalkerWatch
6d0e6a80b7
Merge branch 'jetty-9.3.x' into jetty-9.4.x
2017-11-02 13:36:36 -04:00
WalkerWatch
21aa425cbc
Fixing broken link and typo.
2017-11-02 13:36:02 -04:00
WalkerWatch
7743a8cb32
Fixing Javadoc adoc formatting
2017-10-31 12:58:19 -04:00
Jesse McConnell
a72eb0001d
Updating to version 9.3.23-SNAPSHOT
2017-10-30 15:39:57 -05:00
Jesse McConnell
705048cc49
Updating to version 9.3.22.v20171030
2017-10-30 15:16:29 -05:00
Jesse McConnell
5fe04f8799
set for release
2017-10-30 15:05:46 -05:00
Simone Bordet
9ca9da6574
Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.
2017-10-30 12:58:03 +01:00
Simone Bordet
6f8baff07d
Fixes #1928 - Backport #1705 to jetty-9.3.x.
2017-10-30 12:56:34 +01:00
Simone Bordet
0142509975
Issue #1920 - Connect Timeouts with NonBlocking CreateEndPoint.
...
Reverted CreateEndPoint to be non-blocking, as
the real issue was determined to be #1924 instead.
2017-10-30 00:42:53 +01:00
Simone Bordet
333c22d670
Issue #1924 - ManagedSelector livelock.
...
* Actually using the MAX_ACTION_PERIOD value rather than a harcoded one.
* Waking up the selector outside the sync block.
2017-10-30 00:36:01 +01:00
Greg Wilkins
d90eeba233
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2017-10-29 08:25:56 +11:00
Steven Schlansker
090ce919dd
proxy: case insensitive compare of Expect: 100-continue header ( #1922 )
...
From the RFC: "Comparison of expectation values is case-insensitive for unquoted tokens (including the 100-continue token), and is case-sensitive for quoted-string expectation-extensions. "
Signed-off-by: Steven Schlansker <stevenschlansker@gmail.com>
2017-10-29 08:24:50 +11:00
Greg Wilkins
ab849e8cc5
Issue #1920 - Connect Timeouts with NonBlocking CreateEndPoint.
...
Added a LiveLock (BusyBlocking) test.
Modified ManagedSelector to fair share between actions and selecting
2017-10-28 14:55:40 +11:00
Simone Bordet
9fd47fd383
Improved logging.
2017-10-26 10:01:49 +02:00
Simone Bordet
bfaa2d536b
Fixes #1920 - Connect Timeouts with NonBlocking CreateEndPoint.
...
Made CreateEndPoint a blocking task, because it calls into application
code via Connection.Listener, and for safety we assume it may be
blocking code, avoiding to stall the processing of NIO selected keys.
2017-10-26 00:21:51 +02:00