|
|
void Ns_SetTrunc(
Ns_Set *set,
int size
);
The Ns_SetTrunc function reduces the set to the first size key-value pairs and frees the memory for the rest of the key-value pairs that may have been in the set.
/* Eliminate the headers sent by a browser. */
Ns_SetTrunc(conn->headers, 0);