[jira] Commented: (DIRMINA-614) Make TextLineDecoder extensible

2008-08-23 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12625128#action_12625128 ] Mike Heath commented on DIRMINA-614: If two layer codecs were possible, that's what I

Re: [VOTE] Releasing MINA 2.0.0-M3

2008-08-06 Thread Mike Heath
+1 Julien Vermillard wrote: Hi community, After releasing M2 a weird performance regression over M1 was discovered. More over the tarball was missing number of jars (like examples, and some other modules) due not updated release.xml So we think it's time to release M3 a bit more early. The

[jira] Created: (DIRMINA-614) Make TextLineDecoder extensible

2008-08-06 Thread Mike Heath (JIRA)
Make TextLineDecoder extensible --- Key: DIRMINA-614 URL: https://issues.apache.org/jira/browse/DIRMINA-614 Project: MINA Issue Type: Improvement Affects Versions: 2.0.0-M2 Reporter: Mike Heath

[jira] Closed: (DIRMINA-614) Make TextLineDecoder extensible

2008-08-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath closed DIRMINA-614. -- Resolution: Fixed Make TextLineDecoder extensible

Re: [VOTE] Release 2.0.M2

2008-06-28 Thread Mike Heath
Julien Vermillard wrote: Hi, After a lot of package reorganisation, look like it's the moment for releasing 2.0M2. Here you can see the list of FIXED issues since M1 and the one still OPEN :

Re: SSLFilter ClassCastException String

2008-06-19 Thread Mike Heath
Vijay T wrote: hi, i have configured my NioSocketAcceptor class with SSL based...im getting ClassCastException when writing message to client as String (ie.. iosession.write(str))... actually SSLFilter expects the message in IoBuffer... also my SSLFilter is on top, before ProtocolCodecFilter..

Re: AbstratPollingStuff... renaming

2008-06-10 Thread Mike Heath
Julien Vermillard wrote: snip The polled is here because it's base classes for transport implementations using event strategy based on system calls behaving like poll() (which can be in fact poll, epoll, kqueue or select depending of the JVM/OS configuration). Those class aren't polling in a

Re: [2.0 refactoring] What about splitting mina-core ?

2008-06-09 Thread Mike Heath
I agree with Maarten and Julien, multiple packages may make sense but I don't see any value to multiple jars at this point. We had talked about separating IoBuffer and a few other other base classes that might have utility outside of MINA into their own jar at one point. I still like this

[jira] Commented: (DIRMINA-601) Add sendfile support to transport-apr

2008-06-09 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12603767#action_12603767 ] Mike Heath commented on DIRMINA-601: I see a number of difficulties

Re: Do we need all those @Override ?

2008-06-05 Thread Mike Heath
Emmanuel Lecharny wrote: i guys, while browsing MINA's code, I see @Override used everywhere. I know it can be helpful when overriding an existing method, but do you think we need to keep them ? wdyt ? Yes. They're very helpful when refactoring. -Mike

Re: svn commit: r659372 - /mina/branches/buffer/core/src/main/java/org/apache/mina/queue/DefaultByteBufferQueue.java

2008-05-22 Thread Mike Heath
이희승 (Trustin Lee) wrote: On Fri, 23 May 2008 14:21:07 +0900, 이희승 (Trustin Lee) [EMAIL PROTECTED] wrote: On Fri, 23 May 2008 13:59:46 +0900, 이희승 (Trustin Lee) [EMAIL PROTECTED] wrote: On Fri, 23 May 2008 13:52:49 +0900, Mike Heath [EMAIL PROTECTED] wrote: Emmanuel Lecharny wrote: 이희승

[AsyncWeb] Existing asynchronous non-blocking HTTP project

2008-04-03 Thread Mike Heath
In an IM conversation, Julien pointed me to this JavaWorld article http://www.javaworld.com/javaworld/jw-03-2008/jw-03-asynchhttp.html that discusses asynchronous, non-blocking HTTP. It's by the author of xsocket (http://xsocket.sourceforge.net/). He does a good job promoting the benefits of

Re: Multicast Support for MINA

2008-03-31 Thread Mike Heath
This is one of the reasons why adding a blocking I/O MINA transport was on my list of GSoC projects. We need to be able to support blocking I/O in order to support multicast. Once we do support blocking I/O support multicast will be trivial. Unfortunately, I only applied for the Async HTTP

Re: [AsyncWeb] Proposed client API in sandbox

2008-03-19 Thread Mike Heath
Excellent suggestions. Thanks for the feedback. I've create a wiki page to track these ideas: http://cwiki.apache.org/confluence/display/AWEB/Client+Ideas -Mike On Tue, Mar 18, 2008 at 1:56 PM, Mike Heath [EMAIL PROTECTED] wrote: The proposed new AsyncWeb client API is available here

Re: [Asyncweb] server API for commiting HTTPReponse in chunk

2008-03-18 Thread Mike Heath
이희승 (Trustin Lee) wrote: No, you are not late. :) 2008-03-04 (화), 13:27 -0700, Mike Heath 쓰시길: First off, sorry for the LATE response tot his thread. My comments are below inline. 이희승 (Trustin Lee) wrote: Adding commit(Partial)?Response method causes HttpResponse to keep a response

Re: [AsyncWeb] build broken w/ last checkin

2008-03-18 Thread Mike Heath
Alan D. Cabrera wrote: On Mar 18, 2008, at 10:50 AM, Mike Heath wrote: Alan D. Cabrera wrote: On Mar 5, 2008, at 9:03 PM, Mike Heath wrote: Alan D. Cabrera wrote: snip This seems like a good idea. I have some questions. When we cut a release of this code, what version

[AsyncWeb] Proposed client API in sandbox

2008-03-18 Thread Mike Heath
The proposed new AsyncWeb client API is available here for your viewing pleasure: http://svn.apache.org/repos/asf/mina/sandbox/mheath/asyncweb/client/ I've taken into account a lot of the feedback I've received so far. Some of the big changes include: - I've separated the HttpClientFactory and

[jira] Resolved: (DIRMINA-537) User mailing list address should be shared on website

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath resolved DIRMINA-537. Resolution: Fixed User mailing list address should be shared on website

[jira] Updated: (DIRMINA-478) GzipFilter

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-478: --- Fix Version/s: 2.0.0-M2 GzipFilter -- Key: DIRMINA-478

[jira] Updated: (DIRMINA-534) AbstractIoSession's getId()

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-534: --- Fix Version/s: 2.0.0-M2 AbstractIoSession's getId

[jira] Updated: (DIRMINA-529) use isPrimitive() instead of comparing the string to a list of primitives

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-529: --- Fix Version/s: 2.0.0-M2 use isPrimitive() instead of comparing the string to a list of primitives

[jira] Updated: (DIRMINA-250) Provide a test suite for a transport implementor.

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-250: --- Fix Version/s: 2.0.0-M2 Provide a test suite for a transport implementor

[jira] Commented: (DIRMINA-128) IoSession.shutdown(TrafficMask)

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12576021#action_12576021 ] Mike Heath commented on DIRMINA-128: Isn't this functionaly already available

[jira] Updated: (DIRMINA-536) TextLineDecoder throws an IndexOutOfBoundsException

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-536: --- Fix Version/s: 2.0.0-M2 TextLineDecoder throws an IndexOutOfBoundsException

[jira] Updated: (DIRMINA-535) Session creation/opened callbacks are not called at logical times

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-535: --- Fix Version/s: 2.0.0-M2 Session creation/opened callbacks are not called at logical times

[jira] Updated: (DIRMINA-531) IoHandler.sessionClosed not called

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-531: --- Fix Version/s: 2.0.0-M2 IoHandler.sessionClosed not called

[jira] Updated: (DIRMINA-528) NioSocketConnector has a public constructor that takes a package scoped argument

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-528: --- Fix Version/s: 2.0.0-M2 NioSocketConnector has a public constructor that takes a package scoped

[jira] Updated: (DIRMINA-515) DatagramConnectorTest breaks in XP SP2

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-515: --- Fix Version/s: 2.0.0-M2 DatagramConnectorTest breaks in XP SP2

[jira] Moved: (ASYNCWEB-7) OOM errors when handling badly formed HTTP requests

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath moved DIRMINA-505 to ASYNCWEB-7: --- Component/s: (was: Protocol - HTTP

[jira] Closed: (DIRMINA-461) Possible TCP stall consideration

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath closed DIRMINA-461. -- Resolution: Fixed There has been no report of TCP stall in MINA so I'm closing this issue

[jira] Moved: (ASYNCWEB-8) AsyncHttpClient creates new NioSocketConnector

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath moved DIRMINA-496 to ASYNCWEB-8: --- Component/s: (was: Protocol - HTTP) Client

[jira] Updated: (DIRMINA-415) Proxy support

2008-03-06 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-415: --- Fix Version/s: 2.0.0-M2 Proxy support - Key: DIRMINA-415

Re: [AsyncWeb] build broken w/ last checkin

2008-03-05 Thread Mike Heath
suggesting. -Mike On Tue, Mar 4, 2008 at 2:16 PM, Mike Heath [EMAIL PROTECTED] wrote: Sangjin Lee wrote: I would also like to see asyncweb make progress as quickly as possible, and I'd like to contribute to that effect as well. As Mike pointed out in a different thread, however

Re: [AsyncWeb] build broken w/ last checkin

2008-03-05 Thread Mike Heath
Alan D. Cabrera wrote: snip This seems like a good idea. I have some questions. When we cut a release of this code, what version will it be? What will be its Maven group and artifact id? What about the other AsyncWeb client? It looks like people are modifying that quite heavily. Are

Re: Users mailing list take off !

2008-03-05 Thread Mike Heath
Do we have mail archives set up for the user mailing list too? If not, how would I go about getting that set up? -Mike Julien Vermillard wrote: On Wed, 05 Mar 2008 09:38:17 +0100 Emmanuel Lecharny [EMAIL PROTECTED] wrote: Hi, since the web site now points to the users mailing list, we

Re: [Asyncweb] server API for commiting HTTPReponse in chunk

2008-03-04 Thread Mike Heath
First off, sorry for the LATE response tot his thread. My comments are below inline. 이희승 (Trustin Lee) wrote: Adding commit(Partial)?Response method causes HttpResponse to keep a response to IoSession, which doesn't sound good to me. What do you think about providing another setContent

Re: [Asyncweb client] a number of changes to migrate from the Geronimo sandbox

2008-03-04 Thread Mike Heath
Alan D. Cabrera wrote: On Mar 3, 2008, at 12:26 PM, Sangjin Lee wrote: We have been making a number of changes on the Geronimo sandbox side for the AsyncHttpClient. We've been meaning to move them over, but the pent-up changes have grown to quite a few. I haven't had time to sit down

[jira] Created: (ASYNCWEB-6) HttpMethod should not be an enum

2008-03-04 Thread Mike Heath (JIRA)
HttpMethod should not be an enum Key: ASYNCWEB-6 URL: https://issues.apache.org/jira/browse/ASYNCWEB-6 Project: Asyncweb Issue Type: Bug Reporter: Mike Heath Currently o.a.a.common.HttpMethod

Re: [AsyncWeb] build broken w/ last checkin

2008-03-04 Thread Mike Heath
Sangjin Lee wrote: I would also like to see asyncweb make progress as quickly as possible, and I'd like to contribute to that effect as well. As Mike pointed out in a different thread, however, there are some challenges to this. It's looking more likely that this is not going to be a simple

Re: [FTPServer] Plans for Logging

2008-02-29 Thread Mike Heath
Niklas Gustavsson wrote: On Tue, Feb 26, 2008 at 4:37 PM, Dave Roberts [EMAIL PROTECTED] wrote: OK, I see what you're saying, but that doesn't seem to be how it works. For example... (NioProcessor-2) [anonymous] [127.0.0.1] SENT: 331 Guest login okay, send your complete e-mail address

Re: [AsyncWeb] Ideas for client

2008-02-29 Thread Mike Heath
Alan D. Cabrera wrote: On Feb 11, 2008, at 5:27 PM, Mike Heath wrote: I posted some use cases here: http://cwiki.apache.org/confluence/display/AWEB/ClientUseCases They still need some refinement to properly convey what I want but they're a decent start. I've added some the use cases

[jira] Work started: (DIRMINA-411) Create a ChannelWriteFilter

2008-02-28 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on DIRMINA-411 started by Mike Heath. Create a ChannelWriteFilter --- Key: DIRMINA-411 URL: https

[jira] Updated: (DIRMINA-411) Create a ChannelWriteFilter

2008-02-28 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-411: --- Affects Version/s: 2.0.0-M1 Fix Version/s: 2.0.0-M2 Create a ChannelWriteFilter

[jira] Created: (DIRMINA-538) Rename FileRegion.setPosition() to something more descriptive of what it is doing

2008-02-28 Thread Mike Heath (JIRA)
Issue Type: Improvement Affects Versions: 2.0.0-M1 Reporter: Mike Heath Fix For: 2.0.0-M2 FileRegion.setPosition() is poorly named because invoking this method updates FileRegion.getPosition(), FileRegion.getCount(), and FileRegion.getWrittenBytes(). I

[jira] Resolved: (DIRMINA-411) Create a ChannelWriteFilter

2008-02-28 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath resolved DIRMINA-411. Resolution: Fixed Create a ChannelWriteFilter --- Key

[jira] Updated: (DIRMINA-526) Expose getCurrentWriteRequest() via IoSession

2008-02-28 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-526: --- Fix Version/s: (was: 2.0.0-M1) 2.0.0-M2 Expose getCurrentWriteRequest() via

[jira] Updated: (DIRMINA-518) Support gathering writes

2008-02-28 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-518: --- Fix Version/s: (was: 2.0.0-M1) 2.0.0-M2 Support gathering writes

[jira] Assigned: (DIRMINA-538) Rename FileRegion.setPosition() to something more descriptive of what it is doing

2008-02-28 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath reassigned DIRMINA-538: -- Assignee: Mike Heath Rename FileRegion.setPosition() to something more descriptive of what

[jira] Updated: (DIRMINA-477) Update page about differences between 1.x and 2.x

2008-02-28 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-477: --- Fix Version/s: (was: 2.0.0-M1) 2.0.0-M2 Update page about differences

[jira] Updated: (DIRMINA-514) Session closing problem on Mac OS X

2008-02-28 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath updated DIRMINA-514: --- Fix Version/s: 2.0.0-M2 Session closing problem on Mac OS X

[jira] Resolved: (DIRMINA-538) Rename FileRegion.setPosition() to something more descriptive of what it is doing

2008-02-28 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath resolved DIRMINA-538. Resolution: Fixed Rename FileRegion.setPosition() to something more descriptive of what

[jira] Commented: (DIRMINA-537) User mailing list address should be shared on website

2008-02-28 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12573603#action_12573603 ] Mike Heath commented on DIRMINA-537: I've update the mailing list wiki page to include

Re: Supporting async file I/O

2008-02-27 Thread Mike Heath
Zsolt Fabok wrote: Hi, I'd like to ask you about this page: http://mina.apache.org/asynchronous-file-io-in-java.html I'm looking for a JSR203 implementation and the page above says that it tries to fulfill that java requirements. I've downloaded the latest stable release of mina

Apache MINA 2.0.0-M1 release

2008-02-25 Thread Mike Heath
The Apache MINA project is pleased to announce the release of MINA 2.0.0-M1. Apache MINA is a network application framework which helps users develop high performance and high scalability network applications easily. It provides an abstract, event-driven, asynchronous API over various transports

Re: IoBuffer getEnum/putEnum using signed values

2008-02-22 Thread Mike Heath
Niklas Therning wrote: Mike Heath wrote: I made this fix per your request. You can now use getEnum/putEnum enums with an ordinal value 127 for bytes and enums with an ordinal value 65535 for shorts. Wow, it's fascinating how you managed to use shorts for values larger than 65535

Re: two core tests fail

2008-02-21 Thread Mike Heath
I found a race condition in NioFileRegionTest and it should be fixed now. Please try and let me know if it works for you. I'm not sure what's causing the DatagramConnectorTest to fail. -Mike Cameron Taggart wrote: From the latest in subversion, when I do a maven clean install, I get two test

Re: IoBuffer getEnum/putEnum using signed values

2008-02-21 Thread Mike Heath
I made this fix per your request. You can now use getEnum/putEnum enums with an ordinal value 127 for bytes and enums with an ordinal value 65535 for shorts. Thanks for the fix. -Mike Stuart Scott wrote: I noticed that the various getEnum/putEnum methods in IoBuffer use the signed values

[jira] Commented: (DIRMINA-503) NioProcessor.transferFile needs to catch IOException on Linux

2008-02-21 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12571218#action_12571218 ] Mike Heath commented on DIRMINA-503: This test should be fixed now. Please let me

Re: NIO vs NPTL+standard IO

2008-02-20 Thread Mike Heath
I've suspected for a while that you can getter better performance using thread-per-connection on Java. I've never actually tested this theory though. There are certainly a lot of scenarios where you can get lower latency using thread-per-connection because you don't have the overhead of queuing.

Re: [VOTE:RESULT] Release Apache MINA 2.0-M1

2008-02-15 Thread Mike Heath
The vote has been closed and hare are the results. Binding +1s (7): Niklas Gustavsson Mike Heath Alex Karasulu Emmanuel Lécharny Trustin Lee Niklas Therning Julien Vermillard Non-binding +1s (8): Maarten Bosteels Frédéric Brégier Jeff Genender Brenno Hayden Edouard De Oliveira José Henrique

Re: [VOTE:RESULT] Release Apache MINA 2.0-M1

2008-02-15 Thread Mike Heath
we can do about it. Also let's make sure we do a good audit of the dependencies along with RAT runs. We may want to use the maven RAT plugin to automatically do this for us. Alex On Fri, Feb 15, 2008 at 1:32 PM, Mike Heath [EMAIL PROTECTED] wrote: The vote has been closed and hare

Re: [Release] Javassist is OK for now (was: Fwd: Cliff's page on 3rd party policy)

2008-02-15 Thread Mike Heath
Alex Karasulu wrote: Yes! We're OK to release M1. We should definitely make sure we run RAT. Excellent! I guess you can disregard the email I sent 5 minutes ago. :) So I ran RAT and it threw an exception saying it had too many unknown licenses. Below the RAT output and I'm not sure what it

Re: [VOTE:RESULT] Release Apache MINA 2.0-M1

2008-02-15 Thread Mike Heath
Alex Karasulu wrote: On Feb 15, 2008 4:43 PM, Mike Heath [EMAIL PROTECTED] wrote: It does not matter what Tapestry ships with. I'd like to think the Tapestry PMC is doing the proper diligence before releases. Regardless we cannot base our decisions on the interpretation of Apache policy

[jira] Assigned: (DIRMINA-526) Expose getCurrentWriteRequest() via IoSession

2008-02-14 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath reassigned DIRMINA-526: -- Assignee: Mike Heath Expose getCurrentWriteRequest() via IoSession

[jira] Assigned: (DIRMINA-525) AbstractIoSession.increaseWrittenBytesAndMessages does not update writtenBytes for FileRegion

2008-02-14 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath reassigned DIRMINA-525: -- Assignee: Mike Heath AbstractIoSession.increaseWrittenBytesAndMessages does not update

[jira] Resolved: (DIRMINA-525) AbstractIoSession.increaseWrittenBytesAndMessages does not update writtenBytes for FileRegion

2008-02-14 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath resolved DIRMINA-525. Resolution: Fixed I've committed this change. Thanks Geoff for the patch

Re: Can Someone Look at these Issues

2008-02-14 Thread Mike Heath
DIRMINA-524 is fixed DIRMINA-525 is also fixed and I wrote a test for the fix Thanks for the patches and thanks for following up on these issues. -Mike Geoff Cadien wrote: I opened these issues a couple of weeks ago and was hoping a committer could have a look at them. Not a huge deal, but I

[jira] Resolved: (DIRMINA-524) ProtocolCodecFilter should pass FileRegion to nextFilter in addition to IoBuffer

2008-02-14 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath resolved DIRMINA-524. Resolution: Fixed Fixed, thanks Geoff for the patch. ProtocolCodecFilter should pass FileRegion

Re: [AsyncWeb] Ideas for client

2008-02-14 Thread Mike Heath
Sangjin Lee wrote: snip That sounds like a good approach. Still some necessary normalization (like something I see in DefaultHttpRequest.normalize()) would need to happen in both cases, no? normalize() is defined in the MutableHttpRequest interface so in the case of a mutable request we

Re: Can Someone Look at these Issues

2008-02-14 Thread Mike Heath
Geoff Cadien wrote: On Thu, Feb 14, 2008 at 10:30 AM, Mike Heath [EMAIL PROTECTED] wrote: DIRMINA-524 is fixed DIRMINA-525 is also fixed and I wrote a test for the fix Thanks for the patches and thanks for following up on these issues. Mike, Thanks for getting to those so quickly

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread Mike Heath
I too would love to see a comprehensive test suite for MINA and I like the direction this thread is headed. I have been thinking for a couple of months now that using something like Amazon's EC2 would be a great test bed. (Except that we couldn't use EC2 to test the serial transport. :( ) It

Re: Test coverage documentation in MINA to promote more collaboration (Was: Re: mina and jdk6u4)

2008-02-13 Thread Mike Heath
Mark Webb wrote: How many machines would we need? Is this something that could be virtualized? With Amazon EC2 you create as many instances as you want so it would give us a great deal of flexibility. Each EC2 instance is virtualized so you're not getting exclusive access to a machine but

Re: [AsyncWeb] Ideas for client

2008-02-13 Thread Mike Heath
, Mike Heath [EMAIL PROTECTED] wrote: Rick McGuire wrote: Mike Heath wrote: Rick McGuire wrote: The one feature I like about the AHC client that appears to be missing here is the higher-level abstraction of an HTTP request. The one drawback of doing everything with URLs is the requirement

[jira] Commented: (ASYNCWEB-4) caller supplied content is ignored, and some request headers may be added twice

2008-02-13 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12568791#action_12568791 ] Mike Heath commented on ASYNCWEB-4: --- Is this still an issue in the AsyncWeb common codec

Re: [AsyncWeb] Ideas for client

2008-02-12 Thread Mike Heath
, authentication challenges, proxy connection, etc. There are times where a straighforward fetch me this URL mode is sufficient. There are other situations where that becomes awkward to use. Rick Mike Heath wrote: I posted some use cases here: http://cwiki.apache.org/confluence/display

Re: [AsyncWeb] Ideas for client

2008-02-12 Thread Mike Heath
, authentication challenges, proxy connection, etc. There are times where a straighforward fetch me this URL mode is sufficient. There are other situations where that becomes awkward to use. Rick Mike Heath wrote: I posted some use cases here: http://cwiki.apache.org/confluence/display/AWEB

Re: MINA at JavaOne 2008 - idea wanted

2008-02-12 Thread Mike Heath
One of the problems I've had when promoting MINA is that most Java developers don't understand the scalability implications of the thread-per-connection architecture. If I jump right in with how cool MINA is with its separation of concerns, futures, filters, event mechanism, simplifies packet

Re: [AsyncWeb] Ideas for client

2008-02-12 Thread Mike Heath
Rick McGuire wrote: Mike Heath wrote: Rick McGuire wrote: The one feature I like about the AHC client that appears to be missing here is the higher-level abstraction of an HTTP request. The one drawback of doing everything with URLs is the requirement that the user of the client needs

Re: [VOTE] Release Apache MINA 2.0-M1

2008-02-12 Thread Mike Heath
Julien Vermillard wrote: On Tue, 12 Feb 2008 01:11:47 -0500 이희승 (Trustin Lee) [EMAIL PROTECTED] wrote: 2008-02-11 (월), 20:35 -0700, Mike Heath 쓰시길: [X]: +1, Release MINA 2.0-M1 Nice to see you fire the vote, which means another person will get to know how to deal with the whole release

Re: Blocking DNS queries (Was: Re: [AsyncWeb] Ideas for client)

2008-02-12 Thread Mike Heath
이희승 (Trustin Lee) wrote: 2008-02-12 (화), 11:16 -0700, Mike Heath 쓰시길: Eero Nevalainen wrote: Btw, what was the status of DNS resolution in MINA? I remember that at some point DNS resolving used the blocking java API calls. I could imagine that an asynchronous HTTP-client would have to perform

Re: MINA at JavaOne 2008 - idea wanted

2008-02-12 Thread Mike Heath
Mike Heath wrote: One of the problems I've had when promoting MINA is that most Java developers don't understand the scalability implications of the thread-per-connection architecture. If I jump right in with how cool MINA is with its separation of concerns, futures, filters, event

[AsyncWeb] Ideas for client

2008-02-11 Thread Mike Heath
I posted some use cases here: http://cwiki.apache.org/confluence/display/AWEB/ClientUseCases They still need some refinement to properly convey what I want but they're a decent start. I've also posted a hypothetical AsyncWeb Client API at http://swamp.homelinux.net/mina/asyncweb/client/api/ with

[VOTE] Release Apache MINA 2.0-M1

2008-02-11 Thread Mike Heath
Hello Community, It looks like Maarten has resolved DIRMINA-513. I don't see any reason to hold up a 2.0-M1 release. There are a multitude of changes in MINA 2.0-M1, too many to enumerate in a single email. A laundry list of changes going into this release can be found here

Re: connect timeout

2008-02-10 Thread Mike Heath
I would have to give Sangjin's arguments a +0. I think he makes some good points but I don't think I would say that support sub-second timeouts is _critical_ until people start asking for it. Load balancing is a case where connect timeouts would be important and all of the load balancers I've

Re: [AsyncWeb] Need an async client now

2008-02-10 Thread Mike Heath
The new logging features in SLF4J and removing IoSessionLogger were what was holding up an M1 release. Where do we stand on the logging front right now? -Mike Maarten Bosteels wrote: On Feb 10, 2008 9:05 PM, Alan D. Cabrera [EMAIL PROTECTED] wrote: On Feb 10, 2008, at 11:35 AM, Maarten

Re: [AsyncWeb] Client redesign

2008-02-10 Thread Mike Heath
Jeff Genender wrote: David M. Lloyd wrote: Yes, this is my thinking as well - the casual user wants a simplified API, while the advanced user wants a more detailed interface. Certainly no reason not to offer both capabilities ;-) I totally agree. I think we should offer a very simple

Re: [AsyncWeb] Client redesign

2008-02-10 Thread Mike Heath
of the points here... On Jan 29, 2008 2:25 PM, Mike Heath [EMAIL PROTECTED] wrote: Connecting - Connecting is done as a blocking operation. In Jeff Geneder's AHC branch in the Geronimo sandbox, thread pools are being used for asynchronous connecting. This is unfortunate since MINA already has

Re: [AsyncWeb] Client redesign

2008-02-10 Thread Mike Heath
David M. Lloyd wrote: Alan D. Cabrera wrote: snip So, I was thinking that you would send requests like so: ahc.send(url, listener); This is a departure from the rest of MINA though, in which the idiom is more like this: ahc.send(request).setListener(listener); // does not block To

Re: [AsyncWeb] Need an async client now

2008-02-09 Thread Mike Heath
Alex Karasulu wrote: snip IMO I think looking ahead towards the use of MINA 2.0 is the best route here and it seems that people have already taken care of the merge. Perhaps there's some emails that you may have missed on the commits@ list and here. Mike already merged the two I think unless

Re: [AsyncWeb] Client redesign

2008-02-09 Thread Mike Heath
Alan D. Cabrera wrote: snip That's a good thought. The reason that the URL was originally put in the HttpClient constructor (as well as the request) was to allow the management of connections to be separated from the URL request. Realistically, a URL could be dropped in favor of discrete

[jira] Commented: (ASYNCWEB-3) ProtocolDecoderException is thrown if the response does not specify Content-Length but is not chunked

2008-02-07 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12566788#action_12566788 ] Mike Heath commented on ASYNCWEB-3: --- This will be difficult to verify if the AsyncWeb

Re: sessionClosed is not called sometimes in heavy stress test contions.

2008-02-06 Thread Mike Heath
It's possible that the server never received the TCP FIN packet and therefor did not know that it should close the IoSession. There are situations where a host has no way of knowing that the TCP socket has closed unless it tries to write data to the socket and that write fails. This is not a

[jira] Created: (ASYNCWEB-2) Merge AHC into AsyncWeb client

2008-02-05 Thread Mike Heath (JIRA)
Merge AHC into AsyncWeb client -- Key: ASYNCWEB-2 URL: https://issues.apache.org/jira/browse/ASYNCWEB-2 Project: Asyncweb Issue Type: Task Reporter: Mike Heath We need to merge the AHC code in http

Re: Mina and YAWS

2008-02-05 Thread Mike Heath
We don't have any any real benchmarks for AsyncWeb yet. At least, I'm not aware of any extensive benchamrks. I would like to see this change in the near future. After all, you can't improve performance if you're not measuring it. That being said, the Yaws benchmark you sent is contrived and I

[jira] Assigned: (ASYNCWEB-2) Merge AHC into AsyncWeb client

2008-02-05 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Heath reassigned ASYNCWEB-2: - Assignee: Mike Heath Merge AHC into AsyncWeb client

[jira] Commented: (ASYNCWEB-2) Merge AHC into AsyncWeb client

2008-02-05 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12565892#action_12565892 ] Mike Heath commented on ASYNCWEB-2: --- AHC has been merged into AsyncWeb Client as revision

[jira] Commented: (ASYNCWEB-2) Merge AHC into AsyncWeb client

2008-02-05 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12565961#action_12565961 ] Mike Heath commented on ASYNCWEB-2: --- I refactored the AHC code to use

[jira] Commented: (ASYNCWEB-2) Merge AHC into AsyncWeb client

2008-02-05 Thread Mike Heath (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12566010#action_12566010 ] Mike Heath commented on ASYNCWEB-2: --- I renamed SessionCache to ConnectionPool since

[OT] Asynchronous database drivers

2008-02-04 Thread Mike Heath
This past weekend I made a release of the asynchronous database driver project I've been working on for the past few months. I've been working on this project as part of my master's thesis. I call the project Asynchronous Database Connectivity in Java (ADBCJ), http://adbcj.org/. I've

Re: [AsyncHttpClient] On bringing the code bases and communities together

2008-02-04 Thread Mike Heath
Rick McGuire wrote: I had some time this morning, and decided to take a look at this. It was fairly straightforward merging the changes back in to the 2.0 sandbox branch. There's a bit of a problem going on here with the jsps used for the tests. In the 1.1.5-based version, there was no

  1   2   3   >