Persistent connections

From: Moshe Matitya (mmatitya@finjan.com)
Date: Sun Jan 18 2004 - 10:51:23 MST


I am trying to figure out how to tell Polygraph to use unlimited persistent connections, but have become a bit confused.

The documentation for the 'Agent' type [<http://www.web-polygraph.org/test/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Agent>] seems self-contradictory:

"The 'http_versions' selector ... has no effect on other defaults. For example, you still need to explicitly enable persistent connections, even if you are using HTTP/1.1 agents." This seems to imply that the default is *non-persistent* connections. But a couple of sentences later it says:

"An HTTP connection will never have more than 'pconn_use_lmt requests'. To disable persistent connections, set use limit to 'const(1)'." This seems to imply that the default is *persistent* connections, after all.

Which one is it? More to the point, how do I specify that I want *unlimited* persistent connections? I tried this:

        pconn_use_lmt = const(-1);

But that didn't work.

Surely I don't have to use some arbitrarily "very big" number? This would problematic (in addition to ugly), in the event that the number of uses should actually approach the "very big" number.

I'm sure there must be some plain, obvious way to do this.

Any help would be appreciated.

Thanks,

Moshe Z. Matitya
<mmatitya@finjan.com>

************************************************************************************
Finjan Software

This e-mail and any attached files are confidential and may be legally
privileged. The unauthorized use, disclosure or copying of this email or
any information contained within it is strictly prohibited. This also
confirms that Finjan Software's SurfinGate for E-Mail has scanned this
message for the presence of known viruses and potentially malicious
code.

Finjan Software - Prevention is the Best Cure!
************************************************************************************



This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:27 MST