Norman Maurer
e726ff63d9
Cleanup
2012-10-29 20:21:38 +01:00
Veebs
24678e2d00
update docs on running autobahn tests
2012-10-29 03:59:54 -07:00
Norman Maurer
122051ba44
Only a few javadocs
2012-10-28 20:45:00 +01:00
Norman Maurer
87cc67306f
[maven-release-plugin] prepare for next development iteration
2012-10-28 18:41:25 +01:00
Norman Maurer
7315490fca
[maven-release-plugin] prepare release netty-4.0.0.Alpha6
2012-10-28 18:41:17 +01:00
Norman Maurer
afc687436a
Revert "[maven-release-plugin] prepare release netty-4.0.0.Alpha6"
...
This reverts commit 95de4db0f1
.
2012-10-28 18:36:15 +01:00
Norman Maurer
16eb4ec713
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit e3e0776c20
.
2012-10-28 18:35:47 +01:00
Norman Maurer
e3e0776c20
[maven-release-plugin] prepare for next development iteration
2012-10-28 13:06:07 +01:00
Norman Maurer
95de4db0f1
[maven-release-plugin] prepare release netty-4.0.0.Alpha6
2012-10-28 13:05:59 +01:00
Norman Maurer
939ce47071
disable test for now
2012-10-27 21:13:46 +02:00
Norman Maurer
97038ea396
Disable test for now, as it behave different on different os. Will fix it after the alpha release
2012-10-27 20:57:54 +02:00
Norman Maurer
9551af6045
Skip Multicast test for OIO as it seems to fail because of a JDK bug on OSX
2012-10-27 20:51:21 +02:00
Norman Maurer
71254e4bb5
Fix typos
2012-10-27 20:31:55 +02:00
Norman Maurer
5a8486e39c
Correct test
2012-10-27 19:57:59 +02:00
Trustin Lee
43dc0bd8a3
[ #275 & #686 ] Ability to pass a custom parameter to Bootstrap.connect() / Replace Bootstrap.newBootstrap() with duplicate()
...
- Add Bootstrap.attr() and ServerBootstrap.attr()/childAttr() so that a
user can initialize the attribute map from the beginning.
- Replace newBootstrap() with duplicate()
2012-10-26 14:55:24 -07:00
Norman Maurer
fb6ce4989a
Javadoc fixes
2012-10-26 22:38:06 +02:00
Norman Maurer
e5319b6600
Merge pull request #682 from obergner/issue_65
...
Add SPI to monitor netty. Also add stats for HashedWheelTimer to show how it can be used. See #65
2012-10-25 23:25:27 -07:00
Olaf Bergner
ddd0734f43
Issue #65 : Provide distribution stats for HashedWheelTimer
...
First cut at implementing a generic abstraction layer for pluggable
metrics providers. This first cut is closely modeled after Yammer
Metrics. It remains to be seen if it is indeed flexibel enough to
support other providers.
Provide a default implementation of this new abstraction layer
based on Yammer Metrics.
Support pluggable Monitoring Providers using Java 6's ServiceLoader.
Use this new abstraction layer to provide stats on (a) number of
Timeouts executed per second and (b) distribution of absolute
deviation between scheduled and actual Timeout execution time in
HashedWheelTimer.
* Interface ValueDistributionMonitor, a monitor for histograms.
* Interface EventRateMonitor, a monitor for measuring the rate per time
unit of specific events.
* Interface ValueMonitor, a monitor for tracking an arbitrary datum's
current value
* Interface CounterMonitor, a monitor for incrementing/decrementing a
long value
* Interface MonitorRegistry, a registry for monitors that serves as the
interface between Netty and concrete metrics providers as e.g. Yammer
Metrics.
* Interface MonitorRegistryFactory, to be implemented by metrics
providers.
* Document how to use Netty's new monitoring support in javadocs for
package io.netty.monitor.
2012-10-25 23:10:15 +02:00
Trustin Lee
3bc330d477
Remove unnecessarily split line
2012-10-24 17:09:40 -07:00
Trustin Lee
abd37dacd6
[ #681 ] Allow a user to access the Selector of an EventLoop
...
- Make NioEventLoop public so that a user can downcast it
- Add NioEventLoop.register()
- Add NioTask to let user specify what to do on select()
2012-10-24 17:08:42 -07:00
Trustin Lee
63d3210cff
NioUnsafe.ch() should return SelectableChannel
2012-10-24 11:37:41 -07:00
Trustin Lee
bd8c4fe050
[ #679 ] Netty 3.5.8 breaks app on startup with NPE
...
- Get system property when requested; do not cache it.
Conflicts:
common/src/main/java/io/netty/util/internal/SystemPropertyUtil.java
2012-10-24 10:42:10 -07:00
Norman Maurer
985fa97c9b
Check if message is supported before cast. See #678
2012-10-24 07:03:02 +02:00
Trustin Lee
c43b9b4dd2
[ #662 ] Fix race in AioEventLoopGroup
...
- Fix a bug where shutdown() blocks indefinitely sometimes
2012-10-23 16:09:59 -07:00
Trustin Lee
c38c1d0e6f
[ #662 ] Fix race in AioEventLoopGroup
...
- Ensure the event loop threads are never terminated before all tasks
submitted by JDK are executed
- Close all open connections before terminating an event loop
2012-10-23 15:07:13 -07:00
Norman Maurer
5d51aed846
Change ChannelInboundMessageHandlerAdapter.beginMessageReceived(..) to return a boolean that will be used to check if data should be processed. See #674
2012-10-23 20:43:58 +02:00
Norman Maurer
f6aeb5ef77
Upgrade to apiviz 1.3.2.GA. See #676
2012-10-23 20:35:49 +02:00
Trustin Lee
279712a6a0
[ #670 ] Intermittent IllegalStateException with ByteToMessageDecoder impl with bounded inbound buffer
...
* AioSocketChannel.expandReadBuffer() should not call discardReadBytes()
becuase it messes up with NIO.2
2012-10-22 12:42:07 -07:00
Trustin Lee
ae839db383
[ #670 ] Intermittent IllegalStateException with ByteToMessageDecoder impl with bounded inbound buffer
...
* Ensure to call discardReadBytes() before giving up expanding the buffer
2012-10-22 11:53:25 -07:00
Norman Maurer
d9d8acf331
Fix NPE which accours when Netty was used in an Applet. See #669
2012-10-21 19:54:08 +02:00
Trustin Lee
d3c270b0b5
Merge pull request #664 from netty/method_chaining
...
Add support for method chaining to ByteBuf
2012-10-19 16:03:21 -07:00
Norman Maurer
cbcabaf29b
Add support for method chaining to ByteBuf
2012-10-18 08:57:23 +02:00
Trustin Lee
951c49f449
[ #644 ] SslHandler should not defer channelActive event
...
- otherwise a user will have a misconception about the life cycle of the actual connection.
2012-10-16 15:19:34 -07:00
Trustin Lee
8bab0aae9e
Fix a bug in the SecureChat example where greeting is generated too soon
2012-10-16 15:00:32 -07:00
Trustin Lee
a6c4f651a7
[ #661 ] WebSocketClientHandshaker is broken.
...
- Remove HttpRequestEncoder after handshaking is complete
- Fix a bug in the WebSocket client example where it sends a frame even before handshake is complete
2012-10-16 14:40:39 -07:00
Trustin Lee
b76c39318d
Make NoSuchBufferException message more useful
2012-10-16 14:23:02 -07:00
Trustin Lee
b291d85757
Reduce synchronization overhead in HashedWheelTimer.start/stop()
2012-10-16 13:36:36 -07:00
Norman Maurer
e7c6c88063
Fix releasing of resources in AioEventLoopGroup, as it missed to shutdown the AsynchronousChannelGroup before. See #659
2012-10-16 20:18:52 +02:00
Norman Maurer
6e98a04813
Fix the detection of encrypted data. See #655
2012-10-16 14:03:40 +02:00
Norman Maurer
9e6c616c35
Introduce helper method to detect if a buffer is encrypted. See #657
2012-10-16 13:44:30 +02:00
Norman Maurer
303fb80d34
Make sure the TestUtils class will also compile on operation systems that not support SCTP by using reflection
2012-10-13 17:04:16 +02:00
Norman Maurer
d504d78cb1
Fix checkstyle
2012-10-13 09:21:40 +02:00
Norman Maurer
e9d2ebea3d
Disable SCTP tests on platforms that not support them, also not run tests for sctp OIO. See #633
2012-10-13 09:19:01 +02:00
Norman Maurer
6143626427
Cleanup of sctp code based on comments in #633
2012-10-12 07:45:00 +02:00
Norman Maurer
592f1fcc60
Merge pull request #633 from jestan/master
...
SCTP Transport Codecs and TestCases
2012-10-11 22:38:07 -07:00
Norman Maurer
92a68f59be
Merge pull request #648 from alex-berger/ssl_handler
...
Fix race in SslHandler
2012-10-10 06:08:30 -07:00
ab
ce88ae3889
Ensure that either SslHandler's handshake timeout or the handshake
...
itself (or its failure) take place but not both.
2012-10-10 14:16:13 +02:00
ab
129c19c33e
remove newline from end of .gitingore
2012-10-10 14:05:28 +02:00
ab
826e56d9f4
removed bin from .gitignore
2012-10-10 14:02:16 +02:00
ab
b8fb48e90e
Merge branch 'master' of https://github.com/alex-berger/netty.git
2012-10-10 13:44:37 +02:00