|
@@ -88,6 +88,8 @@ connection_t *connection_new(int type) {
|
|
conn->socks_request = tor_malloc_zero(sizeof(socks_request_t));
|
|
conn->socks_request = tor_malloc_zero(sizeof(socks_request_t));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ conn->next_circ_id = crypto_pseudo_rand_int(1<<15);
|
|
|
|
+
|
|
conn->timestamp_created = now;
|
|
conn->timestamp_created = now;
|
|
conn->timestamp_lastread = now;
|
|
conn->timestamp_lastread = now;
|
|
conn->timestamp_lastwritten = now;
|
|
conn->timestamp_lastwritten = now;
|