Greg Wilkins
85f300d264
fixed javadoc warning
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-04-04 08:50:03 +10:00
Lachlan Roberts
13b15e3566
Resolved Charset Issues and Reworked Request.MultiPartInputStream
...
Changed Request.MultiPartInputStream to an interface called MultiParts where there is an implementation for both the HTTP and UTIL parsers.
Resolved some issues with default charsets in regards to request.setCharacterEncoding and the _charset_ part for issue #2398 .
Changed HTTP parser to operate the same as UTIL parser in situtions with parts not of type form-data or without name field. HTTP parser was ignoring these parts, UTIL parser was throwing exceptions.
Replaced the context attribute with a field in MultiParts.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-03 15:24:54 +10:00
Lachlan Roberts
be2d6ebb29
Merge remote-tracking branch 'eclipse/jetty-9.4.x' into jetty-9.4.x-1027-Multipart
2018-04-03 12:36:54 +10:00
Jan Bartel
fbdc1165a3
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2018-04-03 12:30:40 +10:00
Mat Booth
c316cf1cfe
Make the requirement on "osgi.serviceloader.processor" optional ( #2377 )
...
This allows Eclipse to continue to make use of jetty-* bundles
without requiring the presence of Apache Aries.
This fixes a problem introduced by the resolution to #2164 and
the same solution is used as in 10cdf16
See also the discussion at Eclipse:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=532294
Signed-off-by: Mat Booth <mat.booth@redhat.com>
2018-04-03 12:25:50 +10:00
Jan Bartel
67d887758d
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2018-03-29 17:36:29 +11:00
Joakim Erdfelt
c5d4897a5f
Issue #2387 - fixing URIUtil.equalsIgnoreEncoding() with jar:file:// uris
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-03-28 10:48:28 -05:00
Simone Bordet
a28ec963d1
Issue #2388 - AtomicBiInteger.compareAndSet(long,int,int) not using encoded parameter.
...
Using capital 'L' for long literals to avoid confusion with '1'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-03-28 11:36:50 +02:00
Greg Wilkins
56fc71a54a
fix sign extension #2388
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-28 11:05:49 +11:00
Simone Bordet
ef48bc6f58
Fixes #2388 - AtomicBiInteger.compareAndSet(long,int,int) not using encoded parameter.
...
Fixed method, added Javadocs and cleaned up code with a few renamings
to better comply with AtomicLong naming.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-03-28 00:37:21 +02:00
Greg Wilkins
4a8c586760
removed duplicated test
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-27 13:03:23 +11:00
Lachlan Roberts
ce3698ea75
Merge remote-tracking branch 'eclipse/jetty-9.4.x-1027-Multipart' into jetty-9.4.x-1027-Multipart
2018-03-27 09:19:47 +11:00
Lachlan Roberts
ca534d08fb
Minor changes to code, documentation and formatting after review.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-27 09:11:57 +11:00
Greg Wilkins
2cc26f0e71
Merge branch 'jetty-9.4.x' into jetty-9.4.x-1027-Multipart
2018-03-23 09:34:52 +11:00
Joakim Erdfelt
1c04f9838d
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x-fixed
2018-03-22 16:42:42 -05:00
Joakim Erdfelt
c0dcf9a0a2
Issue #1027 - multipart testing examples
...
Adding raw/binary gitattributes
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-03-21 18:07:30 -05:00
Greg Wilkins
8312f4567b
Merge branch 'jetty-9.4.x' into jetty-9.4.x-1027-Multipart
2018-03-21 16:50:29 +11:00
Lachlan Roberts
0f28107a9c
Implemented warnings for old MultiPartInputStreamParser when successfully parsing content not conforming to RFC.
...
Modified tests in new MultiPartInputStreamTest which were failing because they didn't comply with RFC.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-21 16:24:21 +11:00
Joakim Erdfelt
c3cc138a3b
Updating to version 9.4.10-SNAPSHOT
2018-03-20 08:25:59 -05:00
Joakim Erdfelt
1f8159b1e4
Updating to version 9.4.9.v20180320
2018-03-20 07:18:24 -05:00
WalkerWatch
534b8ea38b
Add edit warning for .mod files. Resolves #173
2018-03-15 13:23:42 -04:00
Greg Wilkins
4ce7e9591b
Safer simpler version parsing #2284
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-15 22:49:20 +11:00
Joakim Erdfelt
3f33013fb3
Merge pull request #2331 from eclipse/jetty-9.4.x-2284-saferVersionParse
...
Safer simpler version parsing #2284
2018-03-15 04:44:04 -05:00
Greg Wilkins
afc820c7f9
fixed test by removing extra produce
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-15 10:19:49 +11:00
Greg Wilkins
a41f7bd927
More debug in test
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-14 16:57:15 +11:00
Greg Wilkins
a5d3b01659
Merge branch 'jetty-9.4.x' into jetty-9.4.x-1027-Multipart
2018-03-14 16:25:56 +11:00
Greg Wilkins
a810ecf67e
Fixed test with atomic
...
the --task was not protected with a memory barrier, so different producing threads could contend on the field.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-14 15:59:37 +11:00
Greg Wilkins
a77a127da0
tests and fixes for binary keys and content
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-14 15:02:56 +11:00
Greg Wilkins
01e8cf440e
Safer simpler version parsing #2284
...
For #2284 no longer parse the optional detail of the java version.
Parse failures will result in a guessed JVM platform 8
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-14 10:12:44 +11:00
Greg Wilkins
46a8fb5dc4
fixes for partial pattern matches and optional CRLF
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-13 17:40:26 +11:00
Greg Wilkins
a82964fba1
Merge remote-tracking branch 'lachlan/jetty-9.4.x-1027-SearchPattern' into jetty-9.4.x-1027-Multipart
2018-03-12 17:23:43 +11:00
Lachlan Roberts
affb436433
changes after review 1
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-09 10:03:28 +11:00
Greg Wilkins
dc67cb5241
Work in progres #1027
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-08 17:47:46 +11:00
Greg Wilkins
25b8933d34
Merge remote-tracking branch 'lachlan/jetty-9.4.x-1027-SearchPattern' into jetty-9.4.x-1027-Multipart
2018-03-08 15:05:35 +11:00
Simone Bordet
f6c1b76e71
Issue #2131 - Introduce a monitored thread pool. ( #2260 )
...
* Issue #2131 - Introduce a monitored thread pool.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Issue #2131 - Introduce a monitored thread pool.
Updated to use SampleStatistic and CounterStatistics.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Issue #2131 - Introduce a monitored thread pool.
Adding statistics fields as beans.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-03-08 08:47:31 +11:00
Greg Wilkins
35be19b818
Also use system property #2298
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-08 08:46:24 +11:00
Greg Wilkins
cf0b6140fe
Merge pull request #2299 from olamy/feature/available_processors
...
#2298 Override the processor number with an environment variable
2018-03-08 08:36:52 +11:00
Simone Bordet
a3100e0211
Issue #2288 - Cleanup the statistics classes. ( #2290 )
...
* Issue #2288 - Cleanup the statistics classes.
Cleaned up code, added Javadocs.
Renamed SampleStatistics.set(long) to record(long).
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* toString stddev
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-08 08:35:21 +11:00
Lachlan Roberts
946341bf85
added missing class name SearchPatternTest
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-08 08:28:12 +11:00
olivier lamy
8dffd7e476
fix javadoc
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-03-07 22:07:49 +10:00
Lachlan Roberts
bfbe52754b
completed some javadoc on compile and constructor methods
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-07 22:10:35 +11:00
olivier lamy
7004aaa538
#2298 Override the processor number with an environment variable
...
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-03-07 21:02:26 +10:00
Greg Wilkins
74055b9837
Jetty 9.4.x 2293 pending multiplexed ( #2294 )
...
Issue #2293 Pending Multiplexed Connections
Added a AtomicBiInteger to allow both total connections and pending connections to be encoded in the
same atomic int.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-07 19:31:22 +11:00
Lachlan Roberts
809aee129e
Completed SearchPattern class and tests
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-07 17:38:44 +11:00
Greg Wilkins
bcb9fa3b32
Merge pull request #2257 from lachlan-roberts/jetty-9.4.x-2206-ReferenceEquality
...
Resolved errorprone ReferenceEquality warnings #2206
2018-03-07 11:11:40 +11:00
Lachlan Roberts
f68cf85e94
fully implemented the complile and match methods, written some tests for this
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-07 10:10:50 +11:00
Joakim Erdfelt
e3e3f9eb0b
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x-fixed
2018-03-06 11:16:25 -06:00
Greg Wilkins
a272fb6e39
Improve executorSizedThreadPool ( #2253 )
...
Improve executorSizedThreadPool (#2253 )
* Improve executorSizedThreadPool
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Improved implementation.
Implemented name, thread priorities, thread group and daemon properties.
Implemented toString(), dump() and using a thread factory.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* added threadpool benchmark;
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Renamed ExecutorSizedThreadPool to ExecutorThreadPool
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-06 19:07:41 +11:00
Greg Wilkins
9f2e4fd1f4
extra debug on test failure
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-03-06 18:59:56 +11:00
Lachlan Roberts
1b3ad11ef9
work in progress
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-06 16:22:03 +11:00