3.5.4.3 Sending Application Data

The Polling Connection MUST be in the 'Established' state to send application data. If the virtual connection is still being established, the client MUST buffer the data in the order it was received.

If ClientOKtoSend is FALSE, the client MUST buffer the application data. The application data MUST be sent on the next Polling-POST-Request, after the outstanding Polling-POST-Response is received.

If ClientOKtoSend is TRUE, the client sets ClientOKtoSend to FALSE. The client sends the application data as specified in section 3.5.4.3.1. If ProxyConnection state variable is set to TRUE, the client MUST instead send the application data with additional proxy headers (see section 3.5.4.3.2).

The Polling Timer MUST be restarted.