3.1.4.1 Establishing a LongLived Encapsulation Connection

When an application requests a LongLived Connection, the LongLived protocol layer MUST initialize the LongLived connection state variables as specified in the abstract data model (see section 3.1.1). After the connection state variables are initialized, the LongLived protocol enters into the connection establishment phase<11>.

The client opens two connections to the server, one for GET session and one for POST session, as specified in sections 3.1.4.1.1 and section 3.1.4.1.3. If proxy configuration information is supplied, the client MUST go through the proxy for each connection by performing proxy negotiation as specified in sections 3.1.4.1.2 and 3.1.4.1.4.

The ConnectionEstablishment timer SHOULD be started.

The client SHOULD set the ConnectionContentLength to 0x7ffff000/(2147479552 decimal) octets as specified in section 2.2.2.1.1.3.

The client MUST generate a new virtual connection GUID and store it in the VirtualConnectionGUID state variable.

The ConnectionState MUST be set to 'Connecting'.