Greg Wilkins
601710c9dc
Issue #5171 Simplify GzipHandler user-agent handling ( #5196 )
...
* Issue #5171 Simplify GzipHandler user-agent handling
+ Remove User-Agent handling from GzipHandler
+ Allow Vary header to be set
+ Create rewrite MsieRule to remove Accept-Encoding from IE<=6
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* + Full implementation of HttpFields ensure
+ use for Vary field
* + fixed checkstyle
* + fixed test for merged header
* + fixed javadoc
* Issue #5171 Simplify GzipHandler user-agent handling
+ improved comments
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* rename and testing after review
2020-08-26 23:55:36 +02:00
Jan Bartel
77779ed6d8
Issue #4996 - Regularlize logging ( #5167 )
...
* Issue #4996 Regularize logging
Signed-off-by: Jan Bartel <janb@webtide.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-08-24 17:15:13 +02:00
Simone Bordet
45682c2088
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-08-13 18:31:34 +02:00
Simone Bordet
51d0780041
Issue #5104 - AbstractProxyServlet include incorrect protocol version in Via header when accessed over H2.
...
Fixed HttpFields.computeField() removal loop.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-13 18:23:26 +02:00
Simone Bordet
46220a0f58
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2020-08-13 15:05:23 +02:00
Simone Bordet
7b3dccc1bf
Issue #5104 - AbstractProxyServlet include incorrect protocol version in Via header when accessed over H2.
...
Added HttpFields.computeField() for HttpHeader too and updated usages.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-13 11:50:43 +02:00
Simone Bordet
c3598e814b
Merged branch 'jetty-9.4.x-5104-incorrect_via_header-2' into 'jetty-9.4.x-5104-incorrect_via_header'.
2020-08-13 11:33:50 +02:00
Greg Wilkins
a933b1645c
simplified loops
...
unmodifiable found list
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-08-13 11:27:37 +02:00
Greg Wilkins
f31604cff2
added test. Fixed bugs
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-08-13 11:17:19 +02:00
Simone Bordet
faea7c9ac1
Fixes #5104 - AbstractProxyServlet include incorrect protocol version in Via header when accessed over H2.
...
Fixed javadocs.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-13 11:05:38 +02:00
Greg Wilkins
f1a13521df
improved implementation
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-08-13 10:06:31 +02:00
Simone Bordet
79d340fdb6
Fixes #5104 - AbstractProxyServlet include incorrect protocol version in Via header when accessed over H2.
...
* Introduced HttpFields.computeField() to put/append header values.
* Reworked AbstractProxyServlet.addViaHeader().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-08-13 00:08:52 +02:00
olivier lamy
c198d26e6b
Updating to version 10.0.0-SNAPSHOT
2020-08-11 16:47:55 +08:00
olivier lamy
429b091578
Updating to version 10.0.0.beta1
2020-08-11 16:47:54 +08:00
Simone Bordet
8d69fc41a7
Fixes #5083 - Convert synchronized usages to AutoLock.
...
* Replaced relevant usages of synchronized with AutoLock.
* Made AutoLock serializable since classes that use it may be stored in the HttpSession.
* Added convenience methods to AutoLock to execute lambdas with the lock held.
* Introduced AutoLock.WithCondition to use a Lock and a Condition together.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-07-27 23:14:05 +02:00
Joakim Erdfelt
fe9deae849
Updating to version 9.4.32-SNAPSHOT
2020-07-23 13:53:47 -05:00
Joakim Erdfelt
450ba27947
Updating to version 9.4.31.v20200723
2020-07-23 12:46:54 -05:00
olivier lamy
eefe3d202b
revert fail release
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2020-07-10 15:04:22 +10:00
olivier lamy
9619a5a743
Updating to version 10.0.0.beta1
2020-07-10 14:23:28 +10:00
olivier lamy
aaeffb719e
Updating to version 10.0.0-SNAPSHOT
2020-07-09 12:25:34 +10:00
olivier lamy
23c99ffdbe
Updating to version 10.0.0.beta1
2020-07-09 11:20:55 +10:00
Jan Bartel
49615156f9
Fix blank line in import.
2020-06-29 10:39:58 +02:00
Joakim Erdfelt
02bd1e5956
Followup changes from merge
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-06-25 12:52:49 -05:00
Joakim Erdfelt
e1c8a0e8b8
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-06-25 12:52:29 -05:00
Joakim Erdfelt
3adec35cf5
Fixing CustomImportOrder checkstyle violations
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-06-25 09:25:05 -05:00
Joakim Erdfelt
6df6fa33b8
Updating to version 9.4.31-SNAPSHOT
2020-06-11 08:24:34 -05:00
Joakim Erdfelt
271836e4c1
Updating to version 9.4.30.v20200611
2020-06-11 07:21:18 -05:00
Lachlan Roberts
86ea115e1f
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-06-04 09:27:43 +10:00
Lachlan Roberts
38f56f5973
make some test methods public to fix build
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-06-04 09:26:35 +10:00
Joakim Erdfelt
0cce039e7c
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-06-03 16:10:41 -05:00
Ludovic Orban
e43c98f08d
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-06-03 17:58:01 +02:00
Ludovic Orban
6c62157865
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2020-06-03 16:30:26 +02:00
Lachlan Roberts
286ee6868a
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
2020-06-03 12:36:10 +10:00
Lachlan
f671cf6512
Merge pull request #4884 from lorban/jetty-9.4.x-4877-pathSpec
...
Refactor PathSpec and fix javax.websocket URI Template matching
2020-06-03 11:50:09 +10:00
Joakim Erdfelt
5d6f3e2ddc
Updating to version 9.4.30-SNAPSHOT
2020-05-21 13:42:25 -05:00
Joakim Erdfelt
77c232aed8
Updating to version 9.4.29.v20200521
2020-05-21 12:04:14 -05: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
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
Joakim Erdfelt
822d98b023
Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-05-11 21:16:59 -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
Joakim Erdfelt
6ae75be9bc
Issue #4860 - Consistency to HttpFields API
...
If a null name (or HttpHeader or HttpField) is used
it should throw an ISE
+ .add() should remain consistent
+ .put() should remain consistent
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-05-11 10:34:52 -05:00
Joakim Erdfelt
90da10dac5
Issue #4860 - Improving testPreventNullField testcase
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-05-11 10:05:56 -05:00
Joakim Erdfelt
2c7c98f469
Eliminate warnings
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-05-11 10:03:12 -05:00
Greg Wilkins
1ac7fe4f9c
Issue #4860 NPE from HttpFields
...
+ Fix bug with list iterator nextIndex
+ List iterator cannot inject null fields
+ minor cleanups
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-05-11 14:00:04 +02:00
Greg Wilkins
6af6af6419
Issue #4860 NPE from HttpFields
...
Improved test coverage
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-05-11 13:58:27 +02:00