Branch: Tag:

2015-12-14

2015-12-14 17:10:45 by Per Hedbor <ph@opera.com>

random_string is presumably random enough to check if mapped localhost v4 works.

Avoids loading the whole crypto module when you are using DNS

870:    // IPv4 is present.    array(string) a = udp2->query_address()/" ";    int port = (int)a[1]; -  string key = Crypto.Random.random_string(16); +  string key = random_string(16);    udp2->set_nonblocking();       // We shouldn't get any lost packets, since we're on the loop-back,