2951 Commits

Author SHA1 Message Date
Julien Viet
c2bb2e8a8b NetSocket data handler should report runtime failures to context exception handler - closes #3272 2020-02-02 21:53:01 +01:00
Julien Viet
7eb6f16b82 CaseInsensitiveHeaders deprecation - fixes #3268 2020-01-30 10:53:59 +01:00
Julien Viet
bc11c218f1 Update MultiMap contract and implementations so the setting a null value removes the entry from the MultiMap. Tests have been cleaned up and extended so that all MultiMap implementations are equally tested. - closes #3267 2020-01-29 18:43:19 +01:00
Julien Viet
451890c96a Use the domain socket path instead of "localhost" for building the shared server map key when binding an HTTP server - closes #3218 2020-01-29 14:43:09 +01:00
Julien Viet
f833f87bcd Fix incorrect JsonObject retrieval from server that broke test after JsonObject parser fix 2020-01-29 11:36:57 +01:00
Thomas Segismont
ec8f7f9419 Added test for worker starvation when lock concurrency is greater than worker pool size (#3264)
See #3126

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2020-01-29 11:11:32 +01:00
Julien Viet
8573ce0b4f Parsing a JSON value should fail when there is extra content in the parsed input - fixes #3260 2020-01-29 09:56:09 +01:00
Julien Viet
154fcd48ec Vert.x transport should gracefully handle unresolved socket address conversion - fixes #3261 2020-01-22 18:06:49 +01:00
Julien Viet
8b395ad47c CompositeFuture now delegates handler management to a Promise<CompositeFuture> in order to benefit from multiple handler support built-in Promise. - fixes #3242 2020-01-09 17:51:53 +01:00
Julien Viet
df5d13547f Add a test to ensure that closing an HTTP connection within the server connection handler will not call the request handler 2020-01-08 16:29:14 +01:00
Julien Viet
39593e163f Connection should not process messages when in closed state - fixes #3249 - fixes #3245 2020-01-08 16:28:38 +01:00
Julien Viet
7b94a8d534 Add cacheDirname to exception to help troubleshoot issue 2020-01-07 09:55:44 +01:00
Julien Viet
55d8b76b69 WebSocket API renaming - closes #3234 2019-12-18 14:07:25 +01:00
codepitbull
fd1d224d12 Added Mime-Type for web assembly 2019-12-09 08:06:59 +01:00
Julien Viet
89ad79797d Deprecate HTTP client request connection handler #3212 - closes 2019-12-01 18:13:24 +01:00
Julien Viet
d81171bd0c NetClient and HttpClient should return a failed future instead of throwing an exception when the transport cannot create a domain socket. 2019-11-27 15:26:36 +01:00
Julien Viet
b7ad8d6072 Annotate EventBus body parameters with Nullable - close #3199 2019-11-17 11:35:51 +01:00
Radim Vansa
92ed677a17 Replace LinkedBlockingQueue with LinkedTransferQueue in worker-pool
Signed-off-by: Radim Vansa <rvansa@redhat.com>
2019-11-16 13:36:13 +01:00
Julien Viet
5303812b18 Improve MetricsTest#testBroadcastMessage to avoid race when the metrics has not yet fully published the collected metrics which are asserted 2019-11-15 13:04:21 +01:00
Julien Viet
656e4171c5 Fix racy test DeploymentTest#testSimpleChildDeployment 2019-11-15 12:40:43 +01:00
Julien Viet
341d6932de HTTP/1 stream should synchronise when updating the connection stream - closes #3196 2019-11-15 11:36:24 +01:00
Julien Viet
ed854f4d67 Refactor and move the HTTP/1 request creation/send in Http1xClientConnection 2019-11-15 11:13:30 +01:00
zenios
f2d54d7bcf Fixes incomplete promise when a child verticle could not be deployed … (#3186)
* Fixes incomplete promise when a child verticle could not be deployed because its parent has been undeployed

Signed-off-by: zenios <dimitris.zenios@gmail.com>

* Added tests

Signed-off-by: zenios <dimitris.zenios@gmail.com>

* Fail the promise after undeploy is completed

Signed-off-by: zenios <dimitris.zenios@gmail.com>

* Simplify test using onSuccess / onFailure

Signed-off-by: zenios <dimitris.zenios@gmail.com>

* Use await / testComplete instead of CountDownLatch

Signed-off-by: zenios <dimitris.zenios@gmail.com>
2019-11-13 23:29:14 +01:00
Julien Viet
5ede342c80 Fix minor issue with previous commit 2019-11-07 19:22:12 +01:00
Julien Viet
f533a9a877 Fix minor issue with previous commit 2019-11-07 19:19:27 +01:00
Julien Viet
6168189b03 Cache ConnectionBase localAddress / remoteAddress instances - closes #3185 2019-11-07 19:18:44 +01:00
Lukas Prettenthaler
acfa46329e add yaml to mimetypes
Signed-off-by: Lukas Prettenthaler <rdx@wsn.at>
2019-11-07 18:55:18 +01:00
Julien Viet
c59c324226 Terminal Future method callbacks - see #3175 2019-11-04 14:50:14 +01:00
Julien Viet
8feaa77803 Future should handle multiple handlers instead of a single - see #3174 2019-11-04 14:43:14 +01:00
Julien Viet
b6b718470e JsonObject equality should check the map keys instead of the sizes -closes #3170 2019-11-03 09:11:40 +01:00
Julien Viet
7b8734b46c Catch throwable instead of exception in Future#future(Handler) factory method 2019-10-29 20:58:30 +01:00
Julien Viet
d124ed576a Fix synchronisation regression leading to potential deadlock 2019-10-15 14:09:05 +02:00
Julien Viet
21da7a952f Provide the Future#flatMap method as alias of Future#compose method - closes #3145 2019-10-15 12:42:48 +02:00
Julien Viet
0b019d0d9d Extend Future#compose to allow remapping errors - closes #3144 2019-10-15 12:36:10 +02:00
Kowalczyk
8ea333ec5a 2934 make compressed http2 request possible
Signed-off-by: Kowalczyk <bkowalczyyk@gmail.com>
2019-10-15 11:53:13 +02:00
Julien Viet
3d7ee3ceeb Use Netty future/promise in AsyncResolveConnectHelper to remove unecessary concurrency - fixes #3142 2019-10-15 11:29:37 +02:00
Julien Viet
41cd0da5c1 Improve usage of synchronization in HttpClientRequest 2019-10-14 10:37:37 +02:00
Julien Viet
cd09e7bfdf Do not lock the handler calls in AsyncFile - closes #3140 2019-10-14 10:06:32 +02:00
Julien Viet
dfc48ddd9e Remove succeeded/failed Promise creation - closes #3139 2019-10-14 00:14:28 +02:00
Julien Viet
bbf77eea36 Return the empty succeeded future when for succeeded null futures 2019-10-13 19:26:12 +02:00
Julien Viet
165b0f4a7f EventBus consumer should register pending replies context close hooks when the context is associated with a deployment - closes #3138 2019-10-13 19:26:00 +02:00
Julien Viet
39cbb5840e ServerWebSocket asynchrone handshake method should consume a future instead of a promise - closes #3137 2019-10-13 19:25:48 +02:00
Julien Viet
a2369208b7 NPE on WebSocket reject - closes #3131 2019-10-07 14:04:15 +02:00
Julien Viet
cc7365a9d5 Avoid unecessary string concat on hot path 2019-10-03 11:47:49 +02:00
Julien Viet
601e5f5757 Adjustements 2019-10-02 18:02:40 +02:00
swinterberger
f3d2535f94 Fix imports
Signed-off-by: swinterberger <sean.winterberger@gmail.com>
2019-10-02 17:07:41 +02:00
swinterberger
665f52fb84 I suppose there is no reason to return the full response, just return the headers
Signed-off-by: swinterberger <sean.winterberger@gmail.com>
2019-10-02 17:07:41 +02:00
swinterberger
2eb6ab8016 Add websocket client response headers to completion handler. Clear them after handled
Signed-off-by: swinterberger <sean.winterberger@gmail.com>
2019-10-02 17:07:41 +02:00
Julien Viet
669feec9e1 Cannot remove server cookies without getting cookie list first - closes #3122 2019-10-02 16:33:47 +02:00
Dimitris Zenios
f09e010548 Fixes #3119
Signed-off-by: zenios <dimitris.zenios@gmail.com>
2019-09-29 09:58:04 +02:00