Joakim Erdfelt
85e257fc98
Updating to version 9.4.33-SNAPSHOT
2020-09-30 11:53:09 -05:00
Joakim Erdfelt
de97d26f7b
Updating to version 9.4.32.v20200930
2020-09-30 11:03:24 -05:00
Joakim Erdfelt
3423375a97
Issue #5357 - Updating to https://eclipse.org/ ( #5358 )
...
* Issue #5357 - Updating to https://eclipse.org/
- Removing redundant <url> refs in pom.xml
- Correcting bad indenting from merge
- Correcting mailing list references
- Correcting bugs.eclipse.org references
- Correcting text file references
- Correcting html references
- Correcting further references
- Correcting download.eclipse.org reference
- Adding test for demo-base /proxy/current/
- Ensuring jetty-client is included in javadoc-proxy.war/WEB-INF/lib
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-29 11:02:32 -05:00
Joakim Erdfelt
829cf76a89
Issue #4954 - Expose header size/length from HttpParser
...
- Minimal new API for exposing byte counts to HttpChannel.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-15 08:36:20 -05:00
Joakim Erdfelt
b2e0f69ea8
Issue #5233 - Bad/Unsupported HTTP version should return 505 not 400.
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-09-04 12:23:11 -05: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
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
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
Jan Bartel
49615156f9
Fix blank line in import.
2020-06-29 10:39:58 +02: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
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
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
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
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
Simone Bordet
3e96bf8621
Merged branch 'jetty-9.4.x' into 'jetty-9.4.x-4764-http2_content_length'.
2020-04-14 11:45:48 +02:00
Simone Bordet
2e85b3e169
Fixes #4764 - HTTP2 Jetty Server does not send back content-length.
...
Updates after review.
Now the Content-Length header is generated by HpackEncoder based on
MetaData.contentLength, so that the MetaData.HttpFields are not modified.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-04-14 11:44:58 +02:00
Joakim Erdfelt
5699b9ff3d
Updating to version 9.4.29-SNAPSHOT
2020-04-08 13:15:04 -05:00
Joakim Erdfelt
ab228fde9e
Updating to version 9.4.28.v20200408
2020-04-08 12:33:56 -05:00
Greg Wilkins
e913e7970f
Fixes #4542 Root pathspec mapping pathInfo ( #4705 )
...
* Fixes #4542 Root pathspec mapping pathInfo
For the "" root pathspec, the pathinfo should always be the full path and the matched path is ""
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* updates from review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-03-30 16:38:42 +02:00
Lachlan Roberts
c658ae7056
Issue #4673 - fix MultiPart parsing for content split in boundary
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2020-03-18 11:22:40 +11:00
Joakim Erdfelt
8aabb52557
Updating to version 9.4.28-SNAPSHOT
2020-02-27 13:03:44 -06:00
Joakim Erdfelt
a304fd9f35
Updating to version 9.4.27.v20200227
2020-02-27 12:21:57 -06:00
Simone Bordet
2958cb1d62
Merge pull request #4544 from eclipse/jetty-9.4.x-4541-OptimalLargeResponseHeader
...
Issue #4541 Large response header
2020-02-20 11:17:39 +01:00
Simone Bordet
01438e6f91
Code cleanup.
...
Changed the way the test directory was created: it was based on a
millisecond timestamp, but the tests run fast and it was possible that
two tests were creating the directory within the same millisecond.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-02-17 17:32:51 +01:00
Greg Wilkins
f50c2654b9
Fixes #4541 Large Headers
...
Added a HEADER_OVERFLOW result as per review
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-02-06 21:17:58 +01:00
Greg Wilkins
1b59e42294
Issue #4541 Large response header
...
Fix #4541 by initially allocated a header buffer of `min(_config.getResponseHeaderSize(), _config.getOutputBufferSize())`
Only allocate a buffer of `getResponseHeaderSize` if an overflow results.
This should have no effect on the majority of responses where `getOutputBufferSize` is greater than `getResponseHeaderSize` other than the cost of a min operation.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2020-02-05 10:29:41 +01:00