Julien Viet
43bfeeaa29
HttpClient connection handler - fixes #2636
2018-09-24 10:33:53 +02:00
Julien Viet
29246ee2fb
EventBus interceptors should be able to intercept on both send and receipt - fixes #1783
2018-09-24 08:57:35 +02:00
Richard Fuchshuber
3200ff6585
RecordParser: Limit the record size ( #2635 )
...
* Simpler implementation for the max size limit. fixes #2560
Signed-off-by: Richard Fuchshuber <richardfuch@gmail.com >
* Using IllegalStateException
Signed-off-by: Richard Fuchshuber <richardfuch@gmail.com >
2018-09-24 08:53:27 +02:00
Julien Viet
0a2f203d42
Rework contribution
...
Signed-off-by: Julien Viet <julien@julienviet.com >
2018-09-19 18:06:38 +02:00
Emmanuel Idi
2ebdcac56e
feat: Extend EventBus listener to allow for delivery interception
...
resolves: issue #1783
Signed-off-by: Emmanuel Idi <emmanuel.idi@gmail.com >
2018-09-19 16:43:48 +02:00
Julien Viet
80817b8a14
HttpServerResponse content headers improvements - fixes #2630 - fixes #2607
2018-09-19 10:30:03 +02:00
Thomas Segismont
62023b8326
Move FaultToleranceTest to eventbus package
...
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2018-09-17 17:51:11 +02:00
Julien Viet
4ef628aab8
Don't run the full CI matrix for pull requests
2018-09-17 11:55:28 +02:00
Julien Viet
af17ceb469
Add Vert.x Logger isWarnEnabled() method - fixes #2628
2018-09-17 11:03:27 +02:00
Julien Viet
b0cfe1b39f
Add test assertion message to have more insight about failure (race)
2018-09-16 14:54:54 +02:00
Julien Viet
c94a79e23e
Added Travis badge status to test
2018-09-14 23:49:29 +02:00
Julien Viet
7a7ef9eaeb
Set an empty hosts value and ndots=1 on tests so the tests don't pick up the values from the OS hosts file
2018-09-14 09:26:03 +02:00
Julien Viet
aaf9383a3c
Refactor test by changing package names to keep a single organized hierarchy of tests and leave the async test classes alone in the io.vertx.core.test package
2018-09-14 09:21:14 +02:00
Julien Viet
cbbbfc1a5b
Upgrade dependencies - fixes #2620 - fixes #2621 - fixes #2622
2018-09-12 11:14:53 +02:00
Julien Viet
73559db7ac
Incorrect javadoc for MessageProducer#send - fixes #2618
2018-09-12 09:38:51 +02:00
Julien Viet
c2995869ba
Minor improvement in Http1xConnection
2018-09-06 11:52:20 +02:00
Julien Viet
b606a1e5f0
WebSocket client does not report server protocol violations on the WebSocket exception handler - fixes #2610
2018-09-06 11:48:27 +02:00
Julien Viet
160e47e64a
Test build on travis
2018-09-03 15:57:50 +02:00
Julien Viet
5f03cd3497
Travis descriptors
2018-09-03 14:59:19 +02:00
Julien Viet
8030833015
Improve Http1xTest#testPoolNotExpiring
2018-09-03 14:12:49 +02:00
Julien Viet
089996ef23
Fix some race bugs in ClusteredEventBusTest
2018-09-02 17:30:47 +02:00
Julien Viet
b5db14f965
Send 10megs in testSendFileFailsWhenClientClosesConnection to allow the the connection close before the file is fully sent
2018-09-02 17:30:47 +02:00
Julien Viet
523a59e29d
FileSystem internal createTempDirectoryInternal task should use the file absolute path and not the canonical path
2018-09-02 15:03:33 +02:00
Julien Viet
276d6f96e1
Improve the ALPN detection to work on latest JDK 11
2018-09-02 15:03:32 +02:00
Julien Viet
c9e4d83f7a
Get the list of enabled cipher suite for testing from the JDK
2018-09-02 15:03:32 +02:00
Julien Viet
7a41b112c8
Java 11 compiler is confused by assertThat(StringBuilder)
2018-09-02 15:03:32 +02:00
Julien Viet
2a8eba59d9
Add more info about failure in Http1xTest#testSendFileFailsWhenClientClosesConnection
2018-09-02 11:31:10 +02:00
Julien Viet
530ec73c04
Improve Http1xTest#testTimedOutWaiterDoesntConnect
2018-09-02 11:15:20 +02:00
Julien Viet
8d0db4e74c
Improve reporting of test Http1xTest#testSendFileFailsWhenClientClosesConnection
2018-09-02 11:15:20 +02:00
Julien Viet
d6c12e4575
HTTP/2 settings update can miss acknowledgement - fixes #2609
2018-09-02 11:15:20 +02:00
Julien Viet
2b70624616
In the http test proxy, upgrade the client request to a socket after the proxy connect to the proxied server otherwise we send a response and we can't send a 403 response if the connection fails, also the actual code was loosing sometimes the client HELLO message in proxy tls tests
2018-09-02 11:15:20 +02:00
Julien Viet
eb7a83fb56
Make TestProxyBase start synchronous and blocking
2018-09-02 11:15:20 +02:00
Julien Viet
29ec9217fc
Make shared server round robing tests use a number of server depending on the event loop pool size instead of using a fixed value as the test will not pass when the event loop pool size is smaller than the predefined value (like using container based CIs)
2018-09-02 11:14:26 +02:00
Julien Viet
cfa8a166d9
Fix racy test
2018-08-28 15:29:26 +02:00
Julien Viet
8e5f81ea57
Fix QueueTest that might fail due to ConcurrentModificationException
2018-08-28 14:57:29 +02:00
Julien Viet
ad32d6504c
Codegen interface constant declaration support
2018-08-28 14:27:10 +02:00
George Gastaldi
00ab301e9f
Fixes #2586 : Introduced FileSystems.createTempDirectory and FileSystems.createTempFile ( #2587 )
...
* Fixes #2586 : Introduced FileSystems.createTempDirectory
Signed-off-by: George Gastaldi <gegastaldi@gmail.com >
* Fixes #2586 : Introduced FileSystems.createTempFile
Signed-off-by: George Gastaldi <gegastaldi@gmail.com >
* Improving javadoc about deleting temporary files
Signed-off-by: George Gastaldi <gegastaldi@gmail.com >
2018-08-28 08:46:43 +02:00
Julien Viet
99afbbced7
Handle the websocket upgrade in WebSocketRequestHandler and remove the WebSocketServerHandler subclassing Http1xServerConnection
2018-08-25 10:26:40 +02:00
Jack O'Sullivan
13da168022
Fix FileResolver for OSGi bundle resources ( #2549 )
...
* Fix FileResolver for OSGi bundle resources
The use of `FileResolver` for a directory without a trailing '`/`' will
fail since `unpackFromBundleURL()` does not handle this case correctly.
By trying `ClassLoader.getResource()` on such a resource path with an
appended '`'`', it can be determined whether or not the resource is
really a directory since a URL will only be returned if the resource
exists and is a directory.
Fixes #2548 .
Signed-off-by: Jack O'Sullivan <jackos1998@gmail.com >
* Add `null` check for `unpackFromBundleURL()`
2018-08-23 19:14:21 +02:00
Julien Viet
d5e4110934
Remove generic connection message encoding/decoding and instead let each connection handle it when necessary - fixes #2599
2018-08-23 16:50:45 +02:00
Julien Viet
651ea7cb81
Refactor to move the VertxHandler#handleMessage to ConnectionBase#handleMessage
2018-08-23 14:25:47 +02:00
Julien Viet
894446a2e1
Move the http client message handling Http1xClientConnection
2018-08-23 11:19:23 +02:00
Julien Viet
31a3d466af
Rework ServerWebSocket handling to cleanup and remove duplicate code
2018-08-23 00:57:33 +02:00
Julien Viet
35ed975c79
Make the HttpServerImpl.Http2UpgradeHandler inner class a regular class and rename it to Http1xUpgradeToH2CHandler
2018-08-22 11:14:35 +02:00
Julien Viet
099b37e360
Rework http client NetSocket upgrade so response buffers send immediately are correctly handled to the application - fixes #2595
2018-08-22 09:43:54 +02:00
Julien Viet
c07aadabc0
Port the http 1.x client connection resume at end tests
2018-08-21 22:51:12 +02:00
Julien Viet
f939b48fcb
Queue empty handler should only be called when the queue was actually not empty
2018-08-21 17:07:57 +02:00
Julien Viet
7fc1910652
Validate http client message before passing them to the connection and add a cleaner way to fail a connection
2018-08-20 16:32:08 +02:00
Julien Viet
9cafc36734
Implementation for #2574 .
...
Signed-off-by: Julien Viet <julien@julienviet.com >
2018-08-20 14:27:08 +02:00
Julien Viet
07be6b3fd4
NullPointerException when reporting a deployment failure without a completion handler - fixes #2590
2018-08-15 00:46:00 +02:00