Hi

OK, I'll create the JIRA issue. A JUnit test won't be that easy, because I cannot reproduce the problem consistently. I'll write down the sequence of events as they (sometimes) happen in my case. And I'll have a look into the corresponding code. Maybe I can come up with a patch...

Simon


On 12.11.2006, at 03:05, Trustin Lee wrote:

Hi Simon,

On 11/12/06, Simon Raess <[EMAIL PROTECTED]> wrote:

Hi

I've stumbled across an issue with VmPipe transport. The following
scenario highlights the issue:

- listener and initiator using VmPipeAcceptor / VmPipeConnector
- initiator connects to listener
- listener IoHandler#sessionOpened invoked
- listener sends a message over the pipe
- initiator receives message (IoHandler#messageReceived)

But, the initiator IoHandler#sessionOpened has not been invoked.
Thus, messageReceived is invoked before sessionOpened. Something that
should not be possible in my humble opinion. I'm not logging
sessionCreated invocations, so I can't say anything about them.

What do you think? I'd also like to know if this scenario is possible
with other transport types. I'm using VmPipe transport just for
integration tests of my protocol.


It seems like a bug. Why don't you create a JIRA issue here so we can track
it?

http://issues.apache.org/jira/browse/DIRMINA

A patch or a JUnit test case is welcome, too.  :)

Thanks,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Reply via email to