3.6.5.1 Receiving a Polling-POST-Request (Initial Handshake Request)

Upon receipt of a Polling-POST-Request the server sets the PostSessionState to 'Probing', the ConnectionState to "Connect" and starts the ConnectionEstablishment timer.

The server validates the Polling-POST-Request message as defined in section 2.2.2.1.

The server MUST validate the remain Polling-Virtual-Connection-Message (see section 2.2.4.1.3.1 )fields, not already validated in section 3.6.5.

  1. The Sequence-Number MUST be verified and stored in the ResponseSequenceNum. The sequence number MUST be 0<51>.

  2. The Checksum MUST be 0.

  3. The Polling-POST-Request MUST NOT contain application data. The server validates the lack of application data by examining the Polling-Content-Length value whose length MUST be equal to the length of the Polling-Virtual-Connection-Message.

If any of the preceding validations procedures fails, the virtual Polling Connection MUST be closed as specified in section 3.6.4.1.

The server transitions PostSessionState to the "Probed" state and ConnectionState to the ‘Connecting" state. The server continues to complete the handshake by sending a Polling-POST-Response, as specified in section 3.6.5.2.1.