<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/tests, branch tor-dirmgr-v0.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-09T16:08:56Z</updated>
<entry>
<title>tor-cell: udp: Remove manual length calculations</title>
<updated>2022-06-09T16:08:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-07T18:43:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bcf3bca2118e6a8db76a097ae6a5bd372644c9b6'/>
<id>urn:sha1:bcf3bca2118e6a8db76a097ae6a5bd372644c9b6</id>
<content type='text'>
This does away entirely with `wire_addr_len`, which recapitulates the
length calculation.
</content>
</entry>
<entry>
<title>Merge branch 'use-testing-rng'</title>
<updated>2022-06-07T23:02:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-07T23:02:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5854e4bbd9d1e3d92433a2cf9549109fc3a4eff9'/>
<id>urn:sha1:5854e4bbd9d1e3d92433a2cf9549109fc3a4eff9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>udp: New AddressPort used in cells</title>
<updated>2022-06-07T16:29:51Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2022-06-07T15:45:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3da4b9543484629fe9f39c4bef503760faef0543'/>
<id>urn:sha1:3da4b9543484629fe9f39c4bef503760faef0543</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>udp: Allow empty hostname and no nul byte</title>
<updated>2022-06-07T16:23:27Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-07T12:15:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a591bf353a9e086e4c11f22f2d16fdcd1f27938e'/>
<id>urn:sha1:a591bf353a9e086e4c11f22f2d16fdcd1f27938e</id>
<content type='text'>
After changes to the prop339, the domain name in an Address can only be
255 bytes max and can NOT contain nul byte(s).

Unit tests had to be modified to accept this change:

- Centralise msg_ip_address
- Add currently-passing tests for address length
- Test counted address length longer than type wants

Related to #463

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>cell: Don't use NUL terminated string in CONNECT_UDP</title>
<updated>2022-06-07T16:22:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2022-06-02T18:12:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2ea709674d5fa1d30acef0a381f9f0753b48d298'/>
<id>urn:sha1:2ea709674d5fa1d30acef0a381f9f0753b48d298</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>cell: Move UDP to its own module and feature gate it</title>
<updated>2022-06-07T16:22:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2022-06-01T14:38:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8fd6541985a2bfad43c7892359df4dfe3f58b0be'/>
<id>urn:sha1:8fd6541985a2bfad43c7892359df4dfe3f58b0be</id>
<content type='text'>
Related to #463

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>cell: Implement CONNECTED_UDP cell from prop339</title>
<updated>2022-06-07T16:22:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2022-05-26T18:01:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b7ae1976b50f9f4c08a3d00fecd727d15733c993'/>
<id>urn:sha1:b7ae1976b50f9f4c08a3d00fecd727d15733c993</id>
<content type='text'>
Decoding and encoding implemented according to proposal 339.

Related to #463
</content>
</entry>
<entry>
<title>cell: Implement CONNECT_UDP cell from prop339</title>
<updated>2022-06-07T16:22:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2022-05-16T15:43:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d74482cd90a6a4b1cbca59ee659eff7a8ea36eed'/>
<id>urn:sha1:d74482cd90a6a4b1cbca59ee659eff7a8ea36eed</id>
<content type='text'>
Decoding and encoding is implemented according to proposal 339
specifications.

Related to #463

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>Use testing_rng() in tests throughout our crates.</title>
<updated>2022-06-02T18:56:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-02T17:31:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=967ea67b7dfc158f29cf449eb09bac89acdee46b'/>
<id>urn:sha1:967ea67b7dfc158f29cf449eb09bac89acdee46b</id>
<content type='text'>
This only affects uses of thread_rng(), and affects them all more or
less indiscriminately.  One test does not work with
ARTI_TEST_PRNG=deterministic; the next commit will fix it.
</content>
</entry>
<entry>
<title>Remove many needless borrows and slices</title>
<updated>2022-02-02T18:34:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-02T18:18:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b7fec1c8a4ee185b12648414242575e5aec5b581'/>
<id>urn:sha1:b7fec1c8a4ee185b12648414242575e5aec5b581</id>
<content type='text'>
Found via clippy::needless_borrow.  In some cases I removed needless
`[..]` too.  See also:
  needless_borrow suggestion doesn't go far enough
  https://github.com/rust-lang/rust-clippy/issues/8389
</content>
</entry>
</feed>
