Commit Graph

4281 Commits

Author SHA1 Message Date
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
Paulo Lopes
7d73eb1819 Fix broken test 2020-01-10 13:37:30 +01:00
Paulo Lopes
b0ce2a9bae Added more checks 2020-01-10 13:13:32 +01:00
Duo Zhang
a24efdb5e9 Fix a typo in the javadoc for HttpConnection.localAddress
Signed-off-by: Duo Zhang <palomino219@gmail.com>
2020-01-10 10:23:13 +01:00
Julien Viet
9b4e105d5e CompositeFuture now delegates handler management to a Promise<CompositeFuture> in order to benefit from multiple handler support built-in Promise. 2020-01-09 17:52:36 +01:00
Thomas Segismont
950b1b96be Fully @GenIgnore CompletionStage interop methods
Otherwise it breaks Rx generation and there's no real interest in these methods there.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2020-01-09 17:16:35 +01:00
Julien Viet
97ea217dca Use the internal logger 2020-01-09 11:52:02 +01:00
Julien Viet
8828632053 Check NetSocket worker execution in buffer handler 2020-01-08 17:03:35 +01:00
Julien Viet
42a2df55bf NetSocket end message should be dispatched correctly on the context 2020-01-08 17:01:36 +01:00
Julien Viet
9fbc39be43 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:53:04 +01:00
Julien Viet
3b685e70b3 Connection should not process messages when in closed state - see #3249 2020-01-08 16:52:58 +01:00
Julien Viet
d3ba036bf0 HttpMethod is an interface - closes #3246 2020-01-07 15:57:02 +01:00
Julien Ponge
5c1354f3bb Merge pull request #3226 from jponge/cs-interop
CompletionStage interoperability
2020-01-07 11:59:15 +01:00
Julien Ponge
9c6fcc41c4 Rename from to fromCompletionStage
Signed-off-by: Julien Ponge <julien.ponge@gmail.com>
2020-01-07 10:33:50 +01:00
Julien Ponge
f9547d2e07 Just use await with default timeouts
Signed-off-by: Julien Ponge <julien.ponge@gmail.com>
2020-01-07 10:29:08 +01:00
Thomas Segismont
8f576a56d3 Merge pull request #3244 from tsegismont/context-timer
Expose setTimer and setPeriodic on ContextInternal
2020-01-07 10:16:29 +01:00
Thomas Segismont
b0730b2fe8 Update Javadoc
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2020-01-07 10:10:27 +01:00
Thomas Segismont
087a5ceef8 Don't expose scheduleTimeout on VertxInternal
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2020-01-07 10:07:06 +01:00
Julien Viet
be7c45466a Add cacheDirname to exception to help troubleshoot issue 2020-01-07 09:54:45 +01:00
Thomas Segismont
585947d9b6 Expose setTimer and setPeriodic on ContextInternal
This can simplify when a component is bound to a context and we have to schedules async tasks

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2020-01-06 18:23:15 +01:00
Julien Viet
5a585a1a62 WebSocket API cleanup - closes #3235 2019-12-18 14:11:15 +01:00
Julien Ponge
b03a57e7ff Improved "from" example with a flatMap
Signed-off-by: Julien Ponge <julien.ponge@gmail.com>
2019-12-16 18:24:31 +01:00
Julien Ponge
5d61c83a3b Flag which "from" method to prefer
Signed-off-by: Julien Ponge <julien.ponge@gmail.com>
2019-12-16 18:24:12 +01:00
Julien Viet
cf6c864a2a Vertx#close Future will not callback the handler - closes #3232 2019-12-16 16:26:14 +01:00
Julien Viet
2b78689ad3 Replace the current VertxFactory SPI with an internal factory that enable overriding of Vertx SPI services in a single class. 2019-12-16 14:50:24 +01:00
Paulo Lopes
cce0f1ae27 Merge pull request #3228 from eclipse-vertx/issues/3227
Fixes #3227
2019-12-16 14:22:06 +01:00
Julien Ponge
edcdf3b05b Documentation + examples of the CS interop
Signed-off-by: Julien Ponge <julien.ponge@gmail.com>
2019-12-16 12:33:24 +01:00