Commit Graph

3818 Commits

Author SHA1 Message Date
Julien Viet
25d1f3c3f0 Releasing 3.6.0 3.6.0 2018-11-28 22:52:26 +01:00
Julien Viet
cdc8172f4f HttpServerFileUpload should be resumed when the pending inbound buffer is drained - fixes #2736 2018-11-28 14:08:11 +01:00
Julien Viet
b9a934ee2e Merge pull request #2735 from ruslansennov/dns-tearDown
minor: call super.tearDown() in DNSTest
2018-11-27 07:49:53 +01:00
Ruslan Sennov
7c078307d7 minor: call super.tearDown() in DNSTest
Signed-off-by: Ruslan Sennov <ruslan.sennov@gmail.com>
2018-11-27 07:14:16 +03:00
Julien Viet
07af8030dc Update tcnative version to 2.0.17.Final 2018-11-26 20:15:04 +01:00
Julien Viet
6aafd1733b AsyncFile reuse the ByteBuffer for repeated reads - fixes #2732 2018-11-23 09:30:57 +01:00
Julien Viet
54967398c8 AsyncFile should accept empty buffer writes instead of throwing an IllegalStateException - fixes #2730 2018-11-23 08:55:14 +01:00
Julien Viet
c4f56a512c Typo in test 2018-11-23 08:47:43 +01:00
Thomas Segismont
80ca21dcc4 Fixed intermittent failure on AsyncMultiMapTest#testMapRemove
Cluster manager usually maintain caches of subscriptions.
When a node removes a subscription, other nodes get notified asynchronously and remove the entry from caches.

So we must not fail on first attempt to verify that ChooseableIterable is empty.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2018-11-21 10:52:14 +01:00
Julien Viet
337d678951 Releasing 3.6.0-SNAPSHOT 2018-11-21 10:51:03 +01:00
Julien Viet
e1d568f0a0 Releasing 3.6.0.CR2 3.6.0.CR2 2018-11-21 10:10:20 +01:00
Julien Viet
b653fdb919 Deprecate and mark for removal isUsePooledBuffers - fixes #2325 2018-11-21 08:26:54 +01:00
Julien Viet
e0f7b942fe Merge pull request #2726 from tsegismont/issue/2725
Configure cluster public host and port from command line
2018-11-20 18:28:43 +01:00
Julien Viet
9bb91bd6cd Merge pull request #2727 from vietj/Openet-Labs-master
HTTP/2 stream priority implementation - fixes #2685
2018-11-20 18:24:48 +01:00
Julien Viet
1c2e28300a Merge branch 'master' into Openet-Labs-master 2018-11-20 17:48:15 +01:00
Julien Viet
bf3156e970 Stream priority improvements 2018-11-20 17:48:12 +01:00
Thomas Segismont
d20011f919 Configure cluster public host and port from command line
Fixes #2725

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2018-11-20 15:43:59 +01:00
Julien Viet
3f5b55b800 Remove system out println 2018-11-20 14:12:25 +01:00
Julien Viet
03a46bff6d Fix race condition in new tests added for message discard in event bus 2018-11-20 14:11:43 +01:00
Julien Viet
ca47332b49 Rework ConnectionBase#sendFile so we split file regions when the length exceeds 1mo - fixes #2719 - fixes #1720 2018-11-20 14:05:43 +01:00
Julien Viet
3a8d868b94 Add test for InboundBuffer when hightWatermark is 0 and use a 0 highWatermark value for NetSocket otherwise we might lose pending buffers when the socket is closed when the connection is paused 2018-11-20 14:05:43 +01:00
Julien Viet
4ab19ce106 Close all shared TCP based servers when Vert.x is closing - fixes #2722 2018-11-20 10:28:49 +01:00
Michal Michalowski
a6e23a65fd Improve API
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-20 09:48:48 +01:00
Julien Viet
25565f6a69 Clear pending messages when a MessageConsumer is unregistered. Also always call the discard handler when a message is dropped to ease testing. Fixes #2717 - fixes #2488 2018-11-19 11:19:02 +01:00
Julien Viet
2a95c1620d Synchronize the right fetch method on MessageConsumer 2018-11-19 11:18:56 +01:00
Julien Viet
7b59ea245e Move the checkNextTick call at the bottom of the deliver method, it used to be previously at the top of the method because the deliver method was rethrowing the exception to signal the context of an unhandled exception. Instead now we report the exception to ContextInternal#reportException and we call heckNextTick after. The consumer might have been paused, so that will avoid to run an event loop task in this situation 2018-11-19 10:32:08 +01:00
Julien Viet
6ec09c570f Rename the handleException on ContextImpl to reportException and add it to ContextInternal so we can report exceptions to the context 2018-11-19 10:24:04 +01:00
Michal Michalowski
dbf260a174 Improvements to keep code consistent. Formatting.
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-16 11:51:59 +01:00
Michal Michalowski
3f2b70f051 Simplify HttpClientStream API
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-15 11:59:18 +00:00
Julien Viet
c91e099cd9 Use @GenIgnore instead of @SuppressWarning 2018-11-13 18:54:25 +01:00
Thomas Segismont
72ea285930 Doc fix: use backticks instead of Javadoc code block
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2018-11-13 15:25:46 +01:00
Thomas Segismont
062c54e06c Move Java-centric documentation to overrides for better
See #2679

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2018-11-13 09:46:54 +01:00
Julien Viet
2eadfa4330 Issue TCCL warn based on system classloader equality rather than internal class name check 2018-11-12 13:56:10 +01:00
Michal Michalowski
e15e8cac5e Fix invalid annotation
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-09 15:35:32 +01:00
Michal Michalowski
6a03e6dfbd Remove debug
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-09 15:21:51 +01:00
Michal Michalowski
1a9658c53e Add synchronized block
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-09 15:21:50 +01:00
Michal Michalowski
6d64e86016 Set handler in synchronized block. Invoke handler outsied of synchronized block
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-09 15:21:49 +01:00
Michal Michalowski
288c8b7962 Improve comment
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-09 15:21:48 +01:00
Michal Michalowski
2faaf6cfe4 Return null by default
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-09 15:21:47 +01:00
Michal Michalowski
aed0151e40 Return null by default
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-09 15:21:47 +01:00
Michal Michalowski
70ba3c640b Send priority frame if priority changed after HEADERS frame sent. Add handler for priority change. Allo exlclusive stream dependency. Add client and server test against netty.
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-09 15:21:46 +01:00
Michal Michalowski
8d4d078e13 Add support for stream dependency and priority weight
Signed-off-by: Michal Michalowski <michal.michalowski@openet.com>
2018-11-09 15:21:39 +01:00
Julien Viet
3c04a302d1 Releasing 3.6.0-SNAPSHOT 2018-11-09 15:05:41 +01:00
Julien Viet
0d25fb1fd0 Releasing 3.6.0.CR1 3.6.0.CR1 2018-11-09 15:03:54 +01:00
Julien Viet
a417b5536a Improve documentation of ReadStream concerning the flowing/pause/fetch mode 2018-11-09 09:28:36 +01:00
Julien Viet
5f8822f668 Minor doc update and deprecate the DeploymentOptions#setMultiThreader(boolean) 2018-11-09 09:17:55 +01:00
Julien Viet
dc599baadd Merge pull request #2697 from tsegismont/doc-mt-worker
Documentation improvement for MT worker verticles
2018-11-09 09:10:45 +01:00
Julien Viet
ae00b5af13 HttpServerResponseImpl.isChunked fails to validate existence of Transfer-Enconding header - fixes #2700 2018-11-08 20:27:02 +01:00
Julien Viet
22dfcb47ff Added EventBus consumer multi threaded worker tests 2018-11-08 18:21:42 +01:00
Thomas Segismont
6b66403969 Documentation improvement for MT worker verticles
Applies the doc changes discussed in #2431:

- DeploymentOptions.setMultiThreaded Javadoc
- alternative to MT worker verticles (deploy as many as instances as MT worker pool size)

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2018-11-08 17:40:55 +01:00