Re: [MINA 3] Some issue with the way we manage new sessions if we have different threads

2013-01-03 Thread Emmanuel Lécharny
Le 1/3/13 7:40 PM, Emmanuel Lécharny a écrit : > Hi ! > > I tried to inject the benchmark we have in MINA 2 into MINA3, using the > NioTcpClient Julien just added. It was easy to migrate the code, but > now, I have some issues... > > Basically I get a NPE when trying to manipulate the session > sel

[jira] [Comment Edited] (DIRMINA-929) AbstractPollingIoProcessor patch to mark buffer as free

2013-01-03 Thread jon (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543578#comment-13543578 ] jon edited comment on DIRMINA-929 at 1/4/13 3:39 AM: - ok, uploaded a

[jira] [Updated] (DIRMINA-929) AbstractPollingIoProcessor patch to mark buffer as free

2013-01-03 Thread jon (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jon updated DIRMINA-929: Attachment: (was: AbstractPollingIoProcessor.java) > AbstractPollingIoProcessor patch to mark buffer as fr

[jira] [Updated] (DIRMINA-929) AbstractPollingIoProcessor patch to mark buffer as free

2013-01-03 Thread jon (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jon updated DIRMINA-929: Attachment: AbstractPollingIoProcessor.java > AbstractPollingIoProcessor patch to mark buffer as free > --

[jira] [Commented] (DIRMINA-929) AbstractPollingIoProcessor patch to mark buffer as free

2013-01-03 Thread jon (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543578#comment-13543578 ] jon commented on DIRMINA-929: - ok, updated a better tested version of the patch.

[jira] [Commented] (DIRMINA-929) AbstractPollingIoProcessor patch to mark buffer as free

2013-01-03 Thread jon (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543434#comment-13543434 ] jon commented on DIRMINA-929: - lets ignore this for a minute while I check something.

[jira] [Updated] (DIRMINA-929) AbstractPollingIoProcessor patch to mark buffer as free

2013-01-03 Thread jon (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jon updated DIRMINA-929: Attachment: AbstractPollingIoProcessor.java > AbstractPollingIoProcessor patch to mark buffer as free > --

[jira] [Created] (DIRMINA-929) AbstractPollingIoProcessor patch to mark buffer as free

2013-01-03 Thread jon (JIRA)
jon created DIRMINA-929: --- Summary: AbstractPollingIoProcessor patch to mark buffer as free Key: DIRMINA-929 URL: https://issues.apache.org/jira/browse/DIRMINA-929 Project: MINA Issue Type: Improvement

[MINA 3] Some issue with the way we manage new sessions if we have different threads

2013-01-03 Thread Emmanuel Lécharny
Hi ! I tried to inject the benchmark we have in MINA 2 into MINA3, using the NioTcpClient Julien just added. It was easy to migrate the code, but now, I have some issues... Basically I get a NPE when trying to manipulate the session selectionKey, which may become null in some case. This is typica

Moved the binary files to a subdirectory

2013-01-03 Thread Emmanuel Lécharny
Hi guys, as a preparation for themigration to svnpubsub for release, I have created a subdirectory named 'dist' where I copied all the existing binary packages for all the projectes (mina, ftpserver, sshd, and vysper). The rational is that we are supposed to distribute sources package, not binari

Re: Write access for FtpServer needed on /www/www.apache.org/dist/mina/ftpserver

2013-01-03 Thread Niklas Gustavsson
On Tue, Jan 1, 2013 at 8:24 PM, Emmanuel Lécharny wrote: > Le 1/1/13 8:21 PM, Emmanuel Lécharny a écrit : > > Hi Niklas ! > > > > Can you chmod g+w the files on /www/www.apache.org/dist/mina/ftpserver ? > > It's owned by you, and nobody but you can change anything... > > > > Many thanks ! > > > Th

Re: codec "framework"

2013-01-03 Thread Arnaud bourree
You're right, in same time mina-http doesn't have HttpEntity equivalent. We could start without them and add them in second step 2013/1/3 Julien Vermillard : > I think we agree here, I wouldn't touch the NIO part, but the interface for > the message are nice. The only issue is with the HttpEntity

Re: codec "framework"

2013-01-03 Thread Julien Vermillard
I think we agree here, I wouldn't touch the NIO part, but the interface for the message are nice. The only issue is with the HttpEntity stuff, I like the way contents are streamed in small chunk in the mina-http codec. I'm not sure it's feasable without forking the http-core code. On Wed, Jan 2,