Thomas Segismont
8a9acfd22c
Two types of verticle
...
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2020-02-20 17:06:24 +01:00
Thomas Segismont
30854a3f1c
Removed multithreaded worker verticles leftovers
...
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2020-02-20 16:32:18 +01:00
Thomas Segismont
7f76e396f6
Merge pull request #3292 from tsegismont/starter-removal
...
Removed deprecated Starter class
2020-02-20 15:51:44 +01:00
Rodrigo Salado Anaya
b7c04644fa
Use a http server to hold the port busy before the real test. ( #3283 )
...
* Use a http server to hold the port busy before the real test.
Signed-off-by: Rodrigo Salado Anaya <rodrigo.salado.anaya@gmail.com >
* Use the onSuccess / onFailure lambdas to improve the test
Signed-off-by: Rodrigo Salado Anaya <rodrigo.salado.anaya@gmail.com >
* Following the recommendation of use AsyncTestBase.onFailure()
Signed-off-by: Rodrigo Salado Anaya <rodrigo.salado.anaya@gmail.com >
* Use onSuccess to check the port in the http server
Signed-off-by: Rodrigo Salado Anaya <rodrigo.salado.anaya@gmail.com >
* Use a finally block to close the http server
Signed-off-by: Rodrigo Salado Anaya <rodrigo.salado.anaya@gmail.com >
2020-02-20 09:58:21 +01:00
Thomas Segismont
2fc5c5b6fe
Removed deprecated Starter class
...
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2020-02-19 19:42:23 +01:00
Julien Viet
4037b11287
WebSocket should delay all handlers when paused - see #3291
2020-02-19 11:17:40 +01:00
Paulo Lopes
765dd20e05
Merge pull request #3202 from eclipse-vertx/issues/same-site-cookie
...
Proposal for same site cookie value
2020-02-18 19:39:36 +01:00
Julien Viet
4413e5cb44
HTTP/2 client clear text upgrade should send the preface after the upgrade request - see #3287 - see #3286
2020-02-18 11:08:58 +01:00
Julien Viet
acee43c53e
Reproducer
2020-02-18 10:21:30 +01:00
Julien Viet
5b91d39d7a
Fix travis ci descriptor
2020-02-14 10:18:36 +01:00
Julien Viet
ceabb5d352
Improve Http1xTest#testHttpClientResponseThrowsExceptionXXXHandler
2020-02-13 18:06:03 +01:00
Julien Viet
2b4c76f25a
Run all tests for native / domain sockets now we are using Netty 4.1.45.Final
2020-02-13 17:09:31 +01:00
Julien Viet
5718be7f46
When Vert.x is closed return a context less future
2020-02-13 16:33:48 +01:00
Julien Viet
d1b48e6557
Remove fromMap method taht should not be in the generated options
2020-02-12 15:44:24 +01:00
Julien Viet
339c27b9b4
Add missing deployment options from/to JSON for JDK8
2020-02-12 15:43:01 +01:00
Thomas Segismont
f8f44b1d67
Merge pull request #3278 from tsegismont/completed-futures-context
...
Completed futures should operate on provided context
2020-02-10 09:49:41 +01:00
Thomas Segismont
1b9c164730
Added context thread checks
...
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2020-02-08 07:21:41 +01:00
Thomas Segismont
52cb285d46
Completed futures should operate on provided context
...
SucceededFuture and FailedFuture, like other futures, take a context as constructor param.
If not null, this context should be used to dispatch the execution of future handlers.
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2020-02-06 18:19:53 +01:00
Julien Viet
3eda787971
Isolated deployment for Java 8 only ( #3275 )
...
* Isolated deployment becomes a feature exclusive to Java 8 thanks to Multi-Release Jar support. The DeploymentOptions fields are deprecated and documented to be removed when used with Java 11 or above. The documentation is removed. - closes #3274
* Feedback from review
2020-02-05 17:11:11 +01:00
Julien Viet
466cf3c1ce
Simplify EventBusMetrics message delivery callback - closes #3277
2020-02-05 09:04:51 +01:00
Julien Viet
246be69028
Remove VerticleFactory identifier resolution as a verticle factory implementation can simply redeploy a verticle instead of trying to morph it.
2020-02-03 23:34:00 +01:00
Julien Viet
d5a0990e07
VerticleManager should not use the number of deployed instances to close an IsolatedClassLoader. Instead it should care of the associated Deployment life cycle
2020-02-03 14:25:33 +01:00
Julien Viet
42c627e7ac
NetSocket data handler should report runtime failures to context exception handler - see #3272
2020-02-02 21:52:41 +01:00
Julien Viet
3e015d6e0d
Move HTTP headers implementations to the io.vertx.core.http.impl.headers package - fixes #3269
2020-01-30 10:57:34 +01:00
Julien Viet
474577e10e
Move random MultiMap creation to TestUtils
2020-01-30 10:22:56 +01:00
Julien Viet
df59247516
Avoid using CaseInsensitiveMultiMap directly
2020-01-30 10:00:54 +01:00
Julien Viet
67011f027b
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:44:11 +01:00
Julien Viet
93645d9758
fix issues
2020-01-29 18:16:39 +01:00
Julien Viet
ce671542d2
Use the domain socket path instead of "localhost" for building the shared server map key when binding an HTTP server - see #3218
2020-01-29 14:24:01 +01:00
Julien Viet
10a540b585
Improve MetricsTest
2020-01-29 12:11:08 +01:00
Julien Viet
3f6628b9bb
JsonParser should return null instead of JsonToken.NOT_AVAILABLE to avoid triggering a false error
2020-01-29 12:11:08 +01:00
Julien Viet
abaea60a9e
Fix incorrect JsonObject retrieval from server that broke test after JsonObject parser fix
2020-01-29 11:38:00 +01:00
Thomas Segismont
86d5b6a718
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:09:37 +01:00
Julien Viet
2add4436dd
Parsing a JSON value should fail when there is extra content in the parsed input - see #3260
2020-01-29 09:53:32 +01:00
Julien Viet
8b05bb9e61
Enhance the SocketAddress API and avoid name resolution when providing an IP host for server bind operations - fixes #3265 - fixes #3266
2020-01-28 19:18:52 +01:00
Julien Viet
4d336085fe
Vert.x transport should gracefully handle unresolved socket address conversion - fixes #3261
2020-01-22 18:08:46 +01:00
Julien Viet
6066dbe1b4
Set of improvements to HTTP/2 stream event dispatch and writability accounting
2020-01-21 11:47:58 +01:00
Julien Viet
18f3e379b4
Do not execute testHttpServerWithIdleTimeoutSendChunkedFile with native transports
2020-01-21 10:24:10 +01:00
Julien Viet
55d8e57c98
Remove temporary test
2020-01-21 09:22:09 +01:00
Julien Viet
445663f881
HttpClient improvements - fixes #3258
2020-01-21 09:00:17 +01:00
Julien Viet
db4dca16f0
Fix mutual static references between HttpMethod and HttpMethodImpl
2020-01-20 10:49:38 +01:00
Julien Viet
a5b2fa5434
Add HttpMethod.values() returning an un-modifiable list of HTTP methods known by the declaring interface
2020-01-20 10:40:20 +01:00
Thomas Segismont
46eaf41f8b
Removed leftover file
2020-01-16 14:01:14 +01:00
Julien Viet
d38bef21be
Remove obsolete overrides
2020-01-15 10:38:01 +01:00
Julien Viet
7c4a469032
Remove unnecessary overrides in HttpClientRequestPushPromise
2020-01-15 10:23:14 +01:00
Francesco Guardiani
0b906f8b38
Fix https://github.com/eclipse-vertx/vert.x/issues/3254 ( #3255 )
...
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com >
2020-01-14 09:28:48 +01:00
Paulo Lopes
48efae6db8
Merge pull request #3252 from eclipse-vertx/missing-methods-from-rfcs
...
Missing methods from rfcs
2020-01-10 16:18:12 +01:00
Paulo Lopes
dbf2013462
Merge pull request #3247 from eclipse-vertx/http-method-interface
...
HttpMethod is an interface
2020-01-10 16:17:52 +01:00
Paulo Lopes
69785131e5
Merge pull request #3223 from eclipse-vertx/issues/json-next-step
...
Allow Shareable on JSON copy + Autocast getString()
2020-01-10 16:16:58 +01:00
Paulo Lopes
458993255e
Adds all RFC listed verbs to the interface
2020-01-10 15:58:45 +01:00