Joakim Erdfelt
77c232aed8
Updating to version 9.4.29.v20200521
2020-05-21 12:04:14 -05:00
Simone Bordet
a54775847e
Merge pull request #4893 from eclipse/jetty-9.4.x-4892-async_json_parser
...
Fixes #4892 - Non-blocking JSON parser.
2020-05-21 18:20:51 +02:00
Greg Wilkins
b9466823c8
Issue #4892 Async JSON
...
Handle encoded cached strings (or not).
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-05-21 11:44:30 +02:00
Simone Bordet
d16ce12349
Fixes #4892 - Non-blocking JSON parser.
...
Updates after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-21 00:35:31 +02:00
Simone Bordet
b30c31e5c4
Merge pull request #4876 from eclipse/jetty-9.4.x-4836-ssl_client_rst_after_idle_timeout
...
Issue #4836 - Too Many Files Error with AWS ALB.
2020-05-20 23:07:01 +02:00
Jan Bartel
52e7dd4873
Issue #4895 SessionCache flushOnResponseCommit with invalid session ( #4896 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-05-20 23:05:53 +02:00
Ludovic Orban
e0391a5ea8
replace LogicalDeclarationComparator with Comparator.comparing
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-05-20 17:06:17 +02:00
Joakim Erdfelt
5c2f00c1f5
Issue #4776 - Adding different length tests to WebSocketUriMappingTest
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-05-20 17:05:18 +02:00
Joakim Erdfelt
0234ead671
Issue #4776 - Making PathMappings._mappings use LogicalDeclaration sort
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-05-20 17:05:18 +02:00
Joakim Erdfelt
79e76544ff
Issue #4776 - UriTemplatePathSpec sorting on simplified path spec.
...
+ Moved testcase to jetty-http (better place for it)
+ Introduced simplified path spec to aid in sorting
+ Made .getMatches(String) return sorted list by best match.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-05-20 17:05:18 +02:00
Lachlan Roberts
00d68e2144
add extra tests for websocket path mappings
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-05-20 17:03:07 +02:00
Lachlan Roberts
aca4958efd
examples demonstrating websocket path mapping issue
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-05-20 17:03:07 +02:00
Ludovic Orban
85a5452f49
Issue #4877 - refactor PathSpec into an interface whose implementations use final fields
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-05-20 17:03:07 +02:00
Simone Bordet
e588a1bd9d
Fixes #4892 - Non-blocking JSON parser.
...
Added parse(byte[], int, int).
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-20 16:14:05 +02:00
Simone Bordet
9ad7ff795e
Fixes #4892 - Non-blocking JSON parser.
...
Updates after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-20 15:12:24 +02:00
Simone Bordet
f2ef054b28
Fixes #4892 - Non-blocking JSON parser.
...
Added javadocs.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-20 14:03:30 +02:00
Simone Bordet
bed046f01c
Fixes #4892 - Non-blocking JSON parser.
...
Fixed checkstyle.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-20 13:08:02 +02:00
Simone Bordet
caf2592587
Fixes #4892 - Non-blocking JSON parser.
...
Fixed copyright header.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-20 13:00:29 +02:00
Simone Bordet
3ead429476
Fixes #4892 - Non-blocking JSON parser.
...
Implemented non-blocking JSON parser.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-20 12:35:16 +02:00
Greg Wilkins
3845790c5d
Hpack optimizations
...
If the dynamic table size is already 0, do not evictAll.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-05-20 10:47:23 +02:00
Lachlan Roberts
ae0b70fbfc
Issue #4873 - add test to reproduce the ExecutorThreadPool.join() issue
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-05-20 00:45:05 +10:00
Olivier Lamy
3215e11b3f
Issue #4887 update documentation org.apache.aries.spifly.dynamic.bundle version 1.2.4
2020-05-19 16:28:53 +10:00
Lachlan Roberts
590b1a6ab1
Issue #4873 - fix timeout on ExecutorThreadPool.join()
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-05-18 11:49:12 +10:00
olivier lamy
9b16f2deee
do not create on start
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-05-16 19:38:33 +10:00
olivier lamy
bb26241a37
add RemoteQueryManagerTest to use infinispan via testcontainer, simplify how we start infinispan
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-05-16 19:38:33 +10:00
olivier lamy
ebbe2c5843
use new junit api to test exception
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-05-16 19:38:33 +10:00
olivier lamy
90527065c0
no need to ignore those tests
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-05-16 19:38:33 +10:00
olivier lamy
6b0b5c13e5
finally use the file from Jan :)
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-05-16 19:38:33 +10:00
olivier lamy
e2edd6f38f
more testing with Jan configuration file
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-05-16 19:38:33 +10:00
olivier lamy
abec84596f
Activate infinispan remote testing using docker image
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-05-16 19:38:33 +10:00
olivier lamy
a0b9cb3fa4
use docker image to test infinispan remote access
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-05-16 19:38:33 +10:00
Simone Bordet
5cff403a69
Issue #4787 - Make org.eclipse.jetty.client.HttpRequest's host name writable.
...
Made the methods in the interface default so that potential implementers do not break.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-14 14:58:02 +02:00
Simone Bordet
ad51bc1af6
Merge pull request #4878 from lorban/jetty-9.4.x-4822-reduce-garbage
...
Reduce client-generated garbage
2020-05-14 13:27:45 +02:00
Lachlan
356b872565
Merge pull request #4867 from eclipse/jetty-9.4.x-4861-Attributes
...
Issue #4861 - reduce garbage created by the async request attributes
2020-05-14 12:02:07 +10:00
Lachlan Roberts
7111f5f161
Issue #4861 - AsyncAttributes should wrap ServletAttributes inner AttributesMap
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-05-14 08:33:31 +10:00
Ludovic Orban
1974b1b407
avoid creating URI instances when possible
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-05-13 17:38:43 +02:00
Ludovic Orban
7d80c8fc39
Add constructor to better align with 10.0.x
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-05-13 17:38:43 +02:00
Ludovic Orban
e7aa3c2e23
explicitly size the listeners array lists
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-05-13 17:38:43 +02:00
Ludovic Orban
87be7b15eb
replace regex match with simple string comparisons
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-05-13 15:14:50 +02:00
Lachlan Roberts
4aece5e9cf
Issue #4861 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-05-13 23:12:22 +10:00
Jan Bartel
6527b3b083
Issue #4868 update asm 7.3.1 ( #4869 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2020-05-13 12:12:14 +02:00
Simone Bordet
475c2c2f1e
Issue #4836 - Too Many Files Error with AWS ALB.
...
Added test to replicate the traffic seen in the issue.
The test shows that we do close the server EndPoint.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-13 11:48:30 +02:00
Lachlan Roberts
629e106045
Issue #4861 - increase efficiency of ServletAttributes when going async
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-05-13 19:10:11 +10:00
Ludovic Orban
f039becb97
Replace HashSet with ArrayList as that has two benefits: ( #4871 )
...
- ArrayList contains() + add() is faster than HashSet add() for small collections
- A heap allocation of the iterator is required when iterating HashSet while iterating ArrayList can do with a stack allocation
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-05-13 09:14:59 +02:00
Lachlan Roberts
9f39fd1dd1
Issue #4861 - reduce garbage created by the async request attributes
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-05-12 18:28:23 +10:00
Joakim Erdfelt
86a40a07d6
Merge pull request #4863 from eclipse/jetty-9.4.x-4860-NullHttpFields
...
Issue #4860 - NPE from HttpFields
2020-05-11 21:04:50 -05:00
Joakim Erdfelt
d127db5186
Merge branch 'jetty-9.4.x-4860-NullHttpFields' of github.com:eclipse/jetty.project into jetty-9.4.x-4860-NullHttpFields
2020-05-11 17:26:05 -05:00
Joakim Erdfelt
4dc024b2b1
Issue #4860 - Fixing test comment
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-05-11 17:25:49 -05:00
Greg Wilkins
59a66158ed
Issue #4860 NPE HttpFields
...
Fixes from review.
Fixed iterator overflow bug
clearer updates of size
better nonNull messages
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-05-11 22:09:19 +02:00
Greg Wilkins
e86977394e
Issue #4828 Buffer Corruption ( #4864 )
...
+ improve synchronization around releaseBuffer
+ improve synchronization around acquireBuffer
+ made acquireBuffer private.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-05-11 21:48:06 +02:00