[ 
https://issues.apache.org/jira/browse/DISPATCH-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317368#comment-17317368
 ] 

Charles E. Rolke commented on DISPATCH-1878:
--------------------------------------------

Made some progress on this issue. I'm attaching a sequence diagram 
[[email protected]|mailto:[email protected]] to show what's going on. This just 
a snapshot and not to be considered correct.
 * The client has opened the connection, send the data, and closed the 
connection before proton sends the PN_RAW_CONNECTION_CONNECTED event.
Chasing the data and the subsequent close through the system is the basic 
problem of this Jira issue.
 * The pn_raw_connection to the client is closed for read only.
 * An outbound connection to the server is opened.
 * The message is written to the server
 * The server connection gets a CLOSED_WRITE and a CLOSED_READ event
 * The message goes over the wire to the server
 * The reply comes back from the server
 * The server data is either never seen or it is discarded

Still a work in progress

> Client app not getting a response through tcpListener
> -----------------------------------------------------
>
>                 Key: DISPATCH-1878
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1878
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Protocol Adaptors
>    Affects Versions: 2.0.0
>            Reporter: Fernando Giorgetti
>            Assignee: Charles E. Rolke
>            Priority: Major
>         Attachments: dispatch-1878-trace.html
>
>
> I have a tcp-echo server running locally through:
> podman run -d --rm --name tcpecho -p 9090:9090 quay.io/skupper/tcp-go-echo
> And I have a router configured with a tcpConnector to localhost at port 9090 
> and a tcpListener at port 9999.
> I am able to use nc (netcat) to send data to the tcp-echo directly (port 
> 9090) or through
> the router (port 9999), if I run "nc 127.0.0.1 9999" and the send the data.
> But if I run it as:  "echo abcd | nc 127.0.0.1 9999" I am not seeing a 
> response, but if 
> I use port 9090 (original port) instead of 9999 (router tcpListener), then I 
> get the
> response correctly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to