Commit Graph

4068 Commits

Author SHA1 Message Date
Julien Viet
c5f7a26220 Remove JsonMapper since now this is supported in codegen 2019-09-12 14:14:25 +02:00
Julien Viet
ea5b21e16a Make public JacksonCodec createParser methods 2019-09-09 12:38:48 +02:00
Julien Viet
b1a270dcc7 Make public JacksonCodec createParser methods 2019-09-09 12:37:59 +02:00
Julien Viet
91bf84dff4 Merge pull request #3100 from vietj/jackson-not-required-oob-master3
Vert.x should be able to run with another json parser/generator than Jackson - fixes #3102
2019-09-09 11:14:31 +02:00
Julien Viet
c59300aa8a Provide two implementations for JsonCodec with Jackson and now databind is declared as optional 2019-09-09 10:48:24 +02:00
Julien Viet
2026d54123 Introduce JsonFactory 2019-09-09 10:48:24 +02:00
Julien Viet
5faadb1552 Move jackson usage from Json to JacksonJsonFactory 2019-09-09 10:48:24 +02:00
Julien Viet
9c2a6accdf Rework JsonParserImpl to not depend anymore on jackson databind 2019-09-09 10:48:24 +02:00
Julien Viet
14293eda3e Don't require to use Jackson when json serialization is not used 2019-09-09 10:48:24 +02:00
Julien Viet
7793a674fd Rename test classes from Codec to Mapper 2019-09-05 22:37:32 +02:00
Julien Viet
6f8d935ea6 Rename to JsonMapper / JsonSerializer / JsonDeserializer 2019-09-05 15:49:20 +02:00
qxo
8a31a0a6aa fix for maven build Error message on windows
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /

Signed-off-by: qxo <qxodream@gmail.com>
2019-09-01 14:23:12 +02:00
Julien Viet
71104acbe1 Releasing 4.0.0-SNAPSHOT 2019-08-26 13:41:12 +02:00
Julien Viet
e87daea97a Releasing 4.0.0-milestone2 4.0.0-milestone2 2019-08-26 11:49:26 +02:00
Julien Viet
94095fc252 Minor doc improvement 2019-08-23 16:51:58 +02:00
Julien Viet
772a1af301 Incorrect @Repeat test annotation removal 2019-08-23 16:35:39 +02:00
Julien Viet
d4ecd87317 HTTP/1.1 connection state might be corrupted when processing pipelined requests - closes #3082 2019-08-23 16:30:44 +02:00
Julien Viet
588a2bdbf1 Initialize LoggerFactory#delegateFactory with JUL instance without reflection to ensure AOT compiler will include the class 2019-08-22 14:59:01 +02:00
Julien Viet
27c3a13596 Proper handling of host names ending with a dot in client connections - closes #3080 2019-08-21 12:02:48 +02:00
Steven Aerts
692ffc02a8 Fix #3077 call endHandler for HttpServerResponse without keepalive (#3078)
Signed-off-by: Steven Aerts <steven.aerts@gmail.com>
2019-08-21 09:37:44 +02:00
Thomas Segismont
554c467ddc RecordParser delimited parsing does not read the last file line (#2969)
* RecordParser delimited parsing does not read the last file line

Fixes #2967

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>

* Test RecordParser does not trigger parsing while emitting

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-08-21 09:34:41 +02:00
Julien Viet
2630cf4a91 JsonParser does not consume properly the stream demand - closes #3076 2019-08-20 08:14:23 +02:00
Julien Viet
76f9d0b101 Improve FakeStream and fix a couple of issues 2019-08-19 16:59:25 +02:00
Julien Viet
1e9b90ddd1 Failing test 2019-08-19 16:35:48 +02:00
Julien Viet
14effa3691 NPE when undeploying several instances of the same verticle that share the same isolationGroup - closes #3074 2019-08-19 12:24:35 +02:00
Julien Viet
f13add9017 Async undeploy won't report exception by the verticle with promise complete - closes #3075 2019-08-19 12:23:29 +02:00
Julien Viet
d7fb03b01f Netty upgrade to 4.1.39.Final - see https://github.com/vert-x3/issues/issues/486 2019-08-17 14:46:58 +02:00
Thomas Segismont
92c61cfc56 Move WriteHandlerLookupFailureTest to its own class (#3066)
It shouldn't be part of the clustered event bus test suite.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-08-14 10:31:13 +02:00
Julien Viet
d034702f93 Improve HttpServerResponse failure reporting when the response is closed or ended, fix also HTTP/2 send file not reporting error correctly - fixes #3064 - fixes #3065 - fixes #3061 2019-08-13 12:17:23 +02:00
Julien Viet
b268c402ea Pipe should use the write stream acknowledged end when a result handler is expected - closes #3063 2019-08-13 11:26:57 +02:00
cpdyj
d14f832823 Future will fail when the handler which is passed to Future.future throws an Exception. (#3057)
* Future will fail on `Future.future` throws an Exception.

Signed-off-by: iseki <admin@iseki.space>

* Modify testcase and fix format.

Signed-off-by: iseki <admin@iseki.space>
2019-08-05 16:45:46 +02:00
Thomas Segismont
72f81f5b52 Race condition in NetServer connection management (#3049)
Fixes #2922

When a connection is established, a Vert.x handler is created and added to the channel pipeline.
The internal NetSocketImpl object is created only when the handler added event is fired, but it might not always happen immediately.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-08-05 15:10:25 +02:00
Julien Viet
f72a2078ce Call MessageConsumer discard handler asynchronously 2019-08-03 16:16:54 +02:00
Julien Viet
23b94242d5 MessageConsumer should unregister only once - see #3054 2019-08-03 16:16:44 +02:00
Julien Viet
d38eb966db Fix cookie tests failing with domain sockets 2019-08-01 12:18:23 +02:00
Julien Viet
27ad7bde67 HttpServer cookie support - see #3050 2019-08-01 11:19:26 +02:00
shenzhou-6
6ffd71f65f Support http status code 308 redirection (#3043)
* Support http status code 308 redirection

Signed-off-by: shenzhou-6 <yizmao.me@gmail.com>

* update redirection handling doc

Signed-off-by: shenzhou-6 <yizmao.me@gmail.com>

* update redirection handling doc
HTTP header / number formatting

Signed-off-by: shenzhou-6 <yizmao.me@gmail.com>
2019-07-31 09:27:01 +02:00
Julien Viet
9d3fc43adc Improve VertxOptions constants 2019-07-31 09:12:34 +02:00
Julien Ponge
8524edce81 Rename startFuture parameters to startPromise
I found this while playing with 4.0.0-milestone and my IDE completed with a wrong name.

Signed-off-by: Julien Ponge <julien.ponge@gmail.com>
2019-07-30 10:56:29 +02:00
Julien Viet
33db2436d9 Make available on WebSocketBase the close status code and reason - see #3047 2019-07-29 09:48:51 +02:00
Julien Viet
6a25543677 NetSocket SSL upgrade should execute the handler on the context 2019-07-27 12:20:07 +02:00
Julien Viet
dd534cdf94 Releasing 4.0.0-SNAPSHOT 2019-07-25 17:56:57 +02:00
Julien Viet
d3cfceeb50 Releasing 4.0.0-milestone1 4.0.0-milestone1 2019-07-25 15:12:34 +02:00
Julien Viet
59f9e17984 Lazy load JDK default cipher suite - fixes #3012 2019-07-15 13:08:09 +02:00
Billy Yuan
e750004270 Upgrade Jetty APLN Agent to 2.0.9
Signed-off-by: Billy Yuan <billy112487983@gmail.com>
2019-07-12 12:06:40 +02:00
Julien Viet
eacdfab1df Worker pool metrics does not correctly pass the pool metricus handback objects - this closes #3031 2019-07-12 12:01:30 +02:00
Julien Viet
a1499d2fd5 Fix FileSystem#mkdirs javadoc - fixes #3030 2019-07-12 11:26:58 +02:00
Julien Viet
2c17a9575c Make FileSystem tests explicitely complete the test 2019-07-12 11:26:50 +02:00
Julien Viet
713c1a834d Refactor HttpServer initialization in a channel initializer 2019-07-11 15:30:00 +02:00
Julien Viet
44a0a9e9d3 Make sure that the reset cause of an HttpClient timeout will always happen before the connection close (when it's needed), also make the timeout exception subclass not an inner class 2019-07-05 17:38:46 +02:00