Re: use isPrimitive() instead of comparing the string to a list of primitives

2008-02-07 Thread Stivo
I figured out how to make a patch so here goes. I ran the maven test with it, and it ran fine. Index: C:/Users/Stivo/workspacenew/mina trunk/core/src/main/java/org/apache/mina/common/IoBuffer.java === --- C:/Users/Stivo/workspacenew/

Re: use isPrimitive() instead of comparing the string to a list of primitives

2008-02-07 Thread Maarten Bosteels
Hi Stivo, Thanks for the patch ! I will have a look at it. Maarten On Feb 7, 2008 9:56 AM, Stivo <[EMAIL PROTECTED]> wrote: > > I figured out how to make a patch so here goes. > I ran the maven test with it, and it ran fine. > > Index: C:/Users/Stivo/workspacenew/mina > trunk/core/src/main/java

Re: use isPrimitive() instead of comparing the string to a list of primitives

2008-02-07 Thread Maarten Bosteels
Could you create a JIRA ticket and attach your patch to it ? And don't forget to click the radio button that says 'Grant license to ASF for inclusion in ASF works (as per the Apache Software License §5)' Thanks Maarten On Feb 7, 2008 10:25 AM, Maarten Bosteels <[EMAIL PROTECTED]> wrote: > Hi Sti

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

2008-02-07 Thread Stefan Ackermann (JIRA)
use isPrimitive() instead of comparing the string to a list of primitives - Key: DIRMINA-529 URL: https://issues.apache.org/jira/browse/DIRMINA-529 Project: MINA Issue T

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

2008-02-07 Thread Stefan Ackermann (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Ackermann updated DIRMINA-529: - Attachment: mina-patch.txt > use isPrimitive() instead of comparing the string to a list

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

2008-02-07 Thread Stefan Ackermann (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Ackermann updated DIRMINA-529: - Description: isPrimitive is a native function and should be used to determine whether a

Re: use isPrimitive() instead of comparing the string to a list of primitives

2008-02-07 Thread Stivo
There is a first time for everything :) I did, https://issues.apache.org/jira/browse/DIRMINA-529 Greetz, Stivo Maarten Bosteels wrote: > > Could you create a JIRA ticket and attach your patch to it ? > And don't forget to click the radio button that says > 'Grant license to ASF for inclusion

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

2008-02-07 Thread Rick McGuire (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick McGuire moved GERONIMO-3824 to ASYNCWEB-3: --- Security: (was: public) Component/s: (was:

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

2008-02-07 Thread Rick McGuire (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick McGuire updated ASYNCWEB-3: Attachment: ayncweb-3.patch This is a merge of the original Geronimo sandbox changes into the async

Re: Mina serial communication - filter not used?

2008-02-07 Thread Konrad Bösche
Hi Julien, I just checked it out and now it works fine! Thank you very much! Julien Vermillard wrote: > > On Wed, 6 Feb 2008 18:15:26 +0100 > Julien Vermillard <[EMAIL PROTECTED]> wrote: > >> On Wed, 6 Feb 2008 17:36:57 +0100 >> Julien Vermillard <[EMAIL PROTECTED]> wrote: >> >> > On Wed,

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

2008-02-07 Thread Sangjin Lee (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566755#action_12566755 ] Sangjin Lee commented on ASYNCWEB-3: Thanks Rick... Note that this is an issue with ou

[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-tabpanel&focusedCommentId=12566788#action_12566788 ] Mike Heath commented on ASYNCWEB-3: --- This will be difficult to verify if the AsyncWeb cod

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

2008-02-07 Thread Sangjin Lee (JIRA)
[ https://issues.apache.org/jira/browse/ASYNCWEB-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566800#action_12566800 ] Sangjin Lee commented on ASYNCWEB-3: I think Tomcat 6 acts differently. Even with conn

Half Close support

2008-02-07 Thread uberfoo
Is there any way for MINA to support half-closed tcp connections? For example, a client connects to a server and sends a message. The client then sends a TCP packet with the FIN flag. The server acknowledges the FIN packet BUT does NOT send a FIN packet. The connection is now what is commonly

[jira] Commented: (DIRMINA-527) should be able to set connect timeout in milliseconds

2008-02-07 Thread Sangjin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566926#action_12566926 ] Sangjin Lee commented on DIRMINA-527: - Hmm... Is there any hope for changes in 1.1.x?

Confusing behavior of DatagramConnector of MINA 1.1.2

2008-02-07 Thread srini.ammai
Hi, I have used following code to create UDP connection. But its behaviour is unpredicatable... Because once creating TCP and another time creating UDP. Sometimes if i remove , future.join(); from the below code... its creating UDP...but no for every execution..

Re: Half Close support

2008-02-07 Thread Niklas Therning
uberfoo wrote: Is there any way for MINA to support half-closed tcp connections? For example, a client connects to a server and sends a message. The client then sends a TCP packet with the FIN flag. The server acknowledges the FIN packet BUT does NOT send a FIN packet. The connection is now w