Julien Viet
515ca71eb9
HttpClient improvements - this closes #3014 , this closes #2982
2019-07-02 11:31:28 +02:00
Julien Viet
9b85c1cc79
Test MessageProducer end/close methods with no/null handler
2019-06-28 09:09:40 +02:00
Julien Viet
459ac85b50
Deprecate MessageProducer send methods - this closes #3004
2019-06-27 11:50:12 +02:00
Julien Viet
2dc5a1cec4
Fix invalid doc
2019-06-22 12:07:37 +02:00
Julien Viet
f29b7d74a5
Validate content at JsonObject and JsonArray instantiation - this closes #3001
2019-06-22 12:02:26 +02:00
Julien Viet
6a30554a2e
Travis SNAPSHOT deploy job should use OpenJDK8
2019-06-22 10:08:22 +02:00
Julien Viet
90d0f5fb1a
Fix HTTP/1 client bytes written metric regression
2019-06-17 21:07:33 +02:00
Julien Viet
e28f39c7ab
EventBus request method for request-response pattern - this closes #2989
2019-06-17 16:25:19 +02:00
Julien Viet
0c18a64c63
Move HTTP metrics in the HTTP stream classes instead of request/response classes
2019-06-17 11:24:09 +02:00
Francesco Guardiani
4da9b2ff2c
Json Pointer implementation ( #2898 )
...
* Added Json Pointer implementation
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
* Fixed docs typo
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
* Added tracedQuery to JsonPointer
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
* Moved Json Pointer docs and applied some changes from code review
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
* Renamed build in toString() and buildURI in toURI()
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
* Did some doc changes
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
* Reworked the JsonPointer Javadoc
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
* Added JsonPointer#append(JsonPointer)
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
* Removed generics
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
(cherry picked from commit d9cf8c016e )
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
2019-06-13 22:28:03 +02:00
Francesco Guardiani
4bea87e149
Update .travis.yml
...
Signed-off-by: slinkydeveloper <francescoguard@gmail.com >
2019-06-13 16:35:07 +02:00
Julien Viet
1fe29273a1
Promise for Vert.x - see https://github.com/vert-x3/issues/issues/469
2019-06-11 16:54:32 +02:00
Julien Viet
2f8f606a3d
Remove usage of @Repeat in WebSocket test
2019-05-27 08:28:15 +02:00
Julien Viet
c22ade0ead
Releasing 3.8.0-SNAPSHOT
2019-05-22 23:46:03 +02:00
Julien Viet
6b5bb30aab
Releasing 3.7.2-SNAPSHOT
2019-05-22 22:16:19 +02:00
Julien Viet
fe26e42451
Releasing 3.7.1
3.7.1
2019-05-22 12:53:06 +02:00
Billy Yuan
59d645560d
Expose netty's SSL Handshake Timeout ( #2961 )
...
* Add support for setting SSL handshake timeout in NetClient & NetServer
Signed-off-by: Billy Yuan <billy112487983@gmail.com >
* Apply SSL handshake timeout in socket upgradeSsl
Signed-off-by: Billy Yuan <billy112487983@gmail.com >
* Improve the SSL handshake timeout tests
Signed-off-by: Billy Yuan <billy112487983@gmail.com >
* minor tests
Signed-off-by: Billy Yuan <billy112487983@gmail.com >
* several changes for SSL handshake timeout
1. Add support for SSL handshake timeout time unit
2. Apply SSL handshake timeout options in EventBus/HttpClient/HttpServer
3. minor tests
Signed-off-by: Billy Yuan <billy112487983@gmail.com >
* minor tests
Signed-off-by: Billy Yuan <billy112487983@gmail.com >
2019-05-21 14:50:22 +02:00
Julien Viet
abaa22609d
Implement HttpClient#webSocket(..., Handler<AsyncResult<WebSocket>>) methods as well as WebSocketConnectOptions to keep the overloading of the webSocket method reasonnable. In addition we also add headers support to RequestOptions so one can specify headers when create an HttpClientRequest or a WebSocket from options. Finally the previous HttpClient WebSocket connect methods are deprecated in favor of the new ones. This closes #2954 , closes #2955 , closes #2956 , closes #2957
2019-05-19 20:54:07 +02:00
Julien Viet
5ae08e417b
Add WriteStream asynchronous write and end methods ( #2946 )
2019-05-13 11:01:57 +02:00
Julien Viet
ab52200505
Do not expose HTTP/2 pseudo headers in header maps - fixes #2941
2019-05-11 12:49:30 +02:00
Julien Viet
af350f60e3
fix Http1xTest
2019-05-08 15:36:45 -04:00
Julien Viet
96a9abb6d9
Improve MetricsTest#testClusterUnregistration
2019-05-08 11:49:58 -04:00
Julien Viet
fe6ecf32e3
Remove system.out println
2019-05-08 08:08:48 -04:00
Julien Viet
a755366702
Don't handle 100 continue automatically by default in tests
2019-05-08 07:53:02 -04:00
Julien Viet
f25e593476
HttpClient does not fire HttpClientRequest exception handler after receiving a 100 continue response - fixes #2936 - fixes #2910
2019-05-08 07:31:39 -04:00
Julien Viet
5ea4cde327
Make test compile
2019-05-06 06:47:30 +02:00
shenzhou-6
3bc91a66ee
#2920 HttpContentDecompressor Compression level becomes more lenient fashion ( #2924 )
...
* HttpContentDecompressor Compression level becomes more lenient fashion
Signed-off-by: shenzhou-6 <yizmao.me@gmail.com >
* HttpClient and HttpServer compression level becomes more lenient fashion
Signed-off-by: shenzhou-6 <yizmao.me@gmail.com >
* add test httpserver decompression behavior
Signed-off-by: shenzhou-6 <yizmao.me@gmail.com >
2019-05-06 06:40:59 +02:00
Julien Viet
5c766eea26
FutureImpl do not need to implement Handler<AsyncResult<T>> as it is inherited from Future<T>
2019-05-06 06:36:30 +02:00
Julien Viet
413b6647fc
More connection pool improvement
2019-05-03 12:27:07 +02:00
Julien Viet
98440d0600
Remove test repeatition
2019-05-03 11:24:18 +02:00
Julien Viet
63ca40d638
Improve ConnectionPoolTest#testCloseRecycledConnection
2019-05-03 11:09:58 +02:00
Julien Viet
c3df210150
Improve Http1xTest#testCloseTheConnectionAfterResetBeforeResponseReceived reliability
2019-05-03 10:50:42 +02:00
Julien Viet
b26ab636f9
Rework a bit ConnectionPool eviction
2019-05-03 10:02:38 +02:00
Julien Viet
e1bbca5f07
ConnectionPool should evict unused connection as a progress task - fixes #2930
2019-05-03 09:46:32 +02:00
Julien Viet
b83eabbb1c
In NetTest#testIdleTimeoutSendChunkedFile remaining bytes should only be set in client end handler
2019-05-02 18:38:15 +02:00
Julien Viet
598ed63099
Improve NetTest#testIdleTimeoutSendChunkedFile that fails sometimes with native transports due to connection reset
2019-05-02 18:09:01 +02:00
Julien Viet
4094a9480b
Improve ComplexHATest reliability
2019-05-02 16:34:35 +02:00
Julien Viet
9c8984b971
Support domain socket for HTTP client
2019-05-01 20:51:30 +02:00
Julien Viet
0c1aebdad4
Move HTTP proxy tests in a separate class
2019-05-01 20:51:30 +02:00
Julien Viet
510dd4b81f
Netty upgrade to 4.1.34.Final - see #456
2019-04-23 11:38:47 +02:00
Julien Viet
ef2b2b2dad
Remove the atomic boolean usage in Vertx internal timer that was used in a racy manner, instead use the existing timeouts map and rely on the timeouts map removal to grant ownership of the timer termination (cancellation or timeout). - fixes #2912
2019-04-18 14:58:30 +02:00
Julien Viet
edf26e44db
Remove duplicated code
2019-04-17 12:11:11 +02:00
Julien Viet
d717e7556b
HTTP event handler should not be called when holding a lock and signal end of stream using a sentinel. Fixes #2915 - Fixes #2916
2019-04-17 11:50:25 +02:00
Julien Viet
b596411a03
Refactor HTTP connection WebSocket so common state and code is shared within Http1xConnectionBase
2019-04-16 13:37:13 +02:00
Julien Viet
4192b51dea
Minor test improvement
2019-04-16 10:56:58 +02:00
Julien Viet
333b204120
Avoid holding lock in ConnectionBase#writeToChannel - fixes #2907
2019-04-16 10:48:33 +02:00
Julien Viet
946fe4781a
Improve MetricsTest#testClusterUnregistration to remove racy assertion
2019-04-15 23:36:12 +02:00
Julien Viet
782534fea6
Since now the MessageConsumer handler is set to null during unregistration we should check nullity when processing message to avoid NPE when processing messages that are delivered after unregistration
2019-04-15 17:40:32 +02:00
Julien Viet
5c0642a720
Make the CheckingSender used in tests less GC aggressive
2019-04-15 14:28:56 +02:00
Julien Viet
b26822decf
Rework test case so that the pass does not have // and work on OSX
2019-04-12 17:07:40 +02:00