[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sip] Impossible to use real persistent connection with sip



Hi,
The SIP standard does not specify who is responsible for closing TCP connections. This means that both client and server transaction can close the connection. A reasonable implementation for a transaction will be to close any open connection (incoming or outgoing) before termination in order to free unused resources.
This behavior actually makes it impossible to count on a persistent connection.
For example, A UA that is always talking to the same destination using TLS will want to use one connection per day. This is impossible since the server might close the connection as soon as the first transaction terminates.

I can see several ways to solve this problem:
1. Specify that the UA that opened the connection will be responsible for closing it.
2. Add a header to sip requests that asks the server not to close the connection by itself.

What do you think?
James S Ford.






_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

_______________________________________________
Sip mailing list https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip