3.2.2.5.1 Echo Response
The echo response is expected only in the states that are part of the proxy use determination state machine. All other states SHOULD treat this response as a protocol error.
If this response arrives in wait state, the following actions MUST be performed:
If the echo response to the echo request sent directly to the RPC over HTTP proxy arrives before the echo response sent to the RPC over HTTP proxy through an HTTP proxy, the client is finished with proxy use determination. It MUST initialize the proxy use variable to directly connect and proceed to connection opening.
If the echo response to the echo request sent to the RPC over HTTP proxy through the HTTP proxy arrives first, the client MUST start a proxy use determination timer as specified in section 3.2.2.2.3 and transition to Wait_Direct state and wait for further events from the network.
If the response arrives in Wait_Direct state, the following actions are performed:
The response is, by virtue of the position in the state diagram, a response to the echo request sent directly to the RPC over HTTP proxy.
The client is finished with proxy use determination and MUST cancel the proxy use determination timer, initialize the proxy use variable to direct connect, and move to connection opening.