Lachlan Roberts
4f640387f2
Issue #4142 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2019-10-15 21:09:01 +11:00
Lachlan Roberts
709e05a19f
Issue #4142 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2019-10-15 19:08:45 +11:00
Travis Spencer
46d3a371cf
Use HttpClient instead of HttpURLConnection
...
Signed-off-by: Travis Spencer <travis@curity.io>
2019-10-15 08:50:33 +02:00
Lachlan Roberts
5ff79b0bf1
Issue #4142 - changes from review
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2019-10-15 11:23:53 +11:00
contextshuffling
320e848c57
Fixes #4195 : making test assertion more stable ( #4196 )
...
Signed-off-by: contextshuffling <contextshuffling@gmail.com>
2019-10-15 07:54:09 +11:00
Joakim Erdfelt
0fbb507841
Issue #4191 - GzipHandler.minGzipSize cannot be lower then 23.
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2019-10-14 13:21:01 -05:00
Greg Wilkins
f09e03c586
Issue #4156 - Session Already in Cache during forwarding ( #4159 )
...
* Issue #4156 - Adding test to replicate issue
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
* Issue #4156 Session already in cache
+ check validity of sessions in getSession(SessionHandler)
+ do not replace session in doScope if SessionHandler is the same.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-10-14 11:18:37 +11:00
Simone Bordet
95ccdd448e
Issue #4177 - Configure HTTP proxy with SslContextFactory.
...
Small signature fixes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-11 11:29:12 +02:00
Lachlan Roberts
a96fb176f6
Issue #4142 - module config for http2 maxSettingsKeys and RateControl
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2019-10-11 11:24:48 +11:00
Simone Bordet
20e70c147b
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2019-10-10 12:45:53 +02:00
Simone Bordet
ec56739d3c
Merge pull request #4180 from eclipse/jetty-9.4.x-4179-SendCallback-gc
...
Issue #4179 SendCallback GC
2019-10-10 12:45:30 +02:00
Simone Bordet
1302c835e2
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2019-10-10 12:38:29 +02:00
Simone Bordet
cd57af4caf
Merge pull request #4116 from eclipse/jetty-9.4.x-4115-drop_http2_pseudo_headers
...
Fixes #4115 - Drop HTTP/2 pseudo headers.
2019-10-10 12:15:58 +02:00
Simone Bordet
687873cb7b
Issue #4115 - Drop HTTP/2 pseudo headers.
...
Fixed NPE if the method was missing.
Renamed lowCase -> lowerCase.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-10 11:11:36 +02:00
Simone Bordet
4e69122537
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2019-10-10 11:02:32 +02:00
Simone Bordet
2ebd1ff62d
Fixes merge from branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2019-10-10 10:42:51 +02:00
Simone Bordet
cf687457e7
Issue #4177 - Configure HTTP proxy with SslContextFactory.
...
Small fixes after merge.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-10 10:41:42 +02:00
Simone Bordet
6430177685
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2019-10-10 10:38:38 +02:00
Greg Wilkins
ce41c122a6
Issue #4176 setHeader after sendError ( #4181 )
...
* Issue #4176 setHeader after sendError
SendError now makes the response immutable for headers and status.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #4176 setHeader after sendError
cleanup after review
better names
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #4176 setHeader after sendError
better name
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #4176 setHeader after sendError
even better name
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-10-10 19:35:28 +11:00
Simone Bordet
53ed8f346c
Merge pull request #4178 from eclipse/jetty-9.4.x-4177-http_proxy_sslcontextfactory
...
Fixes #4177 - Configure HTTP proxy with SslContextFactory.
2019-10-10 10:02:48 +02:00
Simone Bordet
a73568df28
Fixes #4177 - Configure HTTP proxy with SslContextFactory.
...
Updates after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-10 10:00:17 +02:00
Lachlan
00baa7147e
Merge pull request #4153 from eclipse/jetty-9.4.x-3558-websocket_onErrorAfterClose
...
Issue #3558 - only notify WS onError if onClose has not been called
2019-10-10 15:27:11 +11:00
Greg Wilkins
faac5d7f04
Issue #4179 SendCallback GC
...
The HttpConnection.SendCallback nulls it's reference to buffers and callbacks after completion to assist with easy GC, since the connection callback is a long lived instance.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-10-10 09:09:53 +11:00
Chris Walker
5d08fc84d3
Removed Continuations doc and unnecessary references. Resolves #4004
2019-10-09 16:57:35 -04:00
Simone Bordet
6acc9f7be5
Issue #4115 - Drop HTTP/2 pseudo headers.
...
Updates after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-09 21:01:30 +02:00
Simone Bordet
c8175ec107
Fixes #4177 - Configure HTTP proxy with SslContextFactory.
...
It is now possible to pass a `SslContextFactory.Client` to HttpProxy
so that it is possible to use a keystore for the proxy communication
and another keystore for the server communication.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-09 17:37:00 +02:00
Simone Bordet
d4febdf4bd
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2019-10-09 10:25:33 +02:00
Simone Bordet
b48873f33b
Issue #4170 - Client-side alias selection based on SSLEngine.
...
Cosmetics.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-09 10:23:22 +02:00
Simone Bordet
783f3b49b0
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2019-10-09 10:22:18 +02:00
Simone Bordet
0fc5ec9d18
Merge pull request #4171 from eclipse/jetty-9.4.x-4170-client_side_alias_selection
...
Fixes #4170 - Client-side alias selection based on SSLEngine.
2019-10-09 09:30:37 +02:00
Greg Wilkins
0bd71a4359
Pathwatcher Concurrent modification #4174 ( #4175 )
...
There is a race between the doStop clearing the key map and the watching thread
checking isRunning before iterating over the key map.
While more sophisticated approaches could be used, I think that is best to defer
until this class is reworked entirely. For now just using a ConcurrentHashMap will
avoid the exception and the closing of the pathwatcher will prevent watching forever.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-10-09 13:58:16 +11:00
Greg Wilkins
31a0180133
Improve debug logging of gzip inflation
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-10-09 11:51:13 +11:00
Greg Wilkins
8087e29211
Reverted getSession(id) to public
...
This method is used by third party session handlers.
Reverts change made as part of #3913
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-10-09 11:46:43 +11:00
Chris Walker
6e9f7479cb
Merge branch 'jetty-9.4.x' into jetty-10.0.x
2019-10-08 15:22:36 -04:00
Chris Walker
3328a28f09
Added instructions for a shaded start.jar maven dependency. Resolves #2407
2019-10-08 15:21:59 -04:00
Simone Bordet
742f564332
Fixes #4170 - Client-side alias selection based on SSLEngine.
...
Fixed setting of host/port in AbstractConnectorHttpClientTransport
and HttpProxy so that the creation of SSLEngine can use the proper
host/port pair, and can be subsequently used in TLS components.
Introduced SslContextFactory X509ExtendedKeyManagerWrapper and
X509ExtendedTrustManagerWrapper as utility classes used internally
and in tests.
The test case for this issue required 3 keystores, so other test
classes have been refactored to use the new keystores.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-08 18:32:23 +02:00
Simone Bordet
c93dddec30
Fixes #2429 - Review HttpClient backpressure semantic.
...
Fixes after merge.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-08 12:18:14 +02:00
Simone Bordet
55a90fcecf
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2019-10-08 09:56:40 +02:00
Simone Bordet
7164171674
Issue #2429 - Review HttpClient backpressure semantic.
...
Restored tests that were commented out.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-08 09:54:41 +02:00
Simone Bordet
e2a493d7b0
Merged branch 'jetty-9.4.x' into 'jetty-10.0.x'.
2019-10-08 09:52:21 +02:00
Greg Wilkins
1c5a53a512
test async gzip close
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-10-08 18:14:17 +11:00
Simone Bordet
f68ed50405
Merge pull request #4106 from eclipse/jetty-9.4.x-2429-httpclient_backpressure
...
Issue #2429 - Review HttpClient backpressure semantic.
2019-10-08 09:10:51 +02:00
Lachlan
0403f0bc85
Merge pull request #4133 from travisspencer/feature-4132
...
Issue #4132 - Allow token and authorization endpoints to be configured
2019-10-08 13:46:21 +11:00
Travis Spencer
1d5ceee267
Issue #4132 Allow token and authorization endpoints to be configured
...
Signed-off-by: Travis Spencer <travis@curity.io>
2019-10-08 01:04:34 +02:00
Simone Bordet
a4603c4237
Issue #2429 - Review HttpClient backpressure semantic.
...
Updated after review.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-08 00:52:11 +02:00
Lachlan
d47264960e
Issue #3734 - throw ISE for WebSocket suspend after close ( #4095 )
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2019-10-08 09:47:48 +11:00
Lachlan Roberts
3f6119eb13
Merge remote-tracking branch 'eclipse/jetty-9.4.x' into jetty-10.0.x
2019-10-08 09:33:03 +11:00
Lachlan
6e698df4d3
Merge pull request #4135 from travisspencer/4134-fix-aud
...
Issue #4134 - Validate audience (aud) claim as list or string, not just string
2019-10-08 09:28:22 +11:00
Lachlan
acf4eeff65
Merge pull request #4129 from travisspencer/fix-4128
...
Issue #4128 - Add missing padding and use URL decoder
2019-10-08 09:17:12 +11:00
Travis Spencer
1c6202658e
Validate aud claim as list or string, not just string
...
Signed-off-by: Travis Spencer <travis@curity.io>
2019-10-06 18:00:32 +02:00