<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/net/connection/socket, branch auto</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=auto</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=auto'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-30T15:10:22+00:00</updated>
<entry>
<title>std: merge address family computation</title>
<updated>2025-09-30T15:10:22+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-09-30T15:10:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3534594029ed1495290e013647a1f53da561f7f1'/>
<id>urn:sha1:3534594029ed1495290e013647a1f53da561f7f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: add missing unsafe blocks</title>
<updated>2025-09-30T14:55:21+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-09-30T14:55:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aa1263e7684341a73b600eaf0bbc70067e196243'/>
<id>urn:sha1:aa1263e7684341a73b600eaf0bbc70067e196243</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: improve internal socket functions</title>
<updated>2025-09-30T10:43:36+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-09-30T10:43:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eba1416c015803aab6d3ac0b7efebb28165b50ab'/>
<id>urn:sha1:eba1416c015803aab6d3ac0b7efebb28165b50ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: call WinSock cleanup function directly instead of through its reexport</title>
<updated>2025-09-30T09:59:08+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-09-30T09:59:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d615d2ff34566c399862cfe0feb96d05767ce5ce'/>
<id>urn:sha1:d615d2ff34566c399862cfe0feb96d05767ce5ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #146937 - joboet:gethostname, r=Mark-Simulacrum</title>
<updated>2025-09-29T19:42:41+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-29T19:42:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8223831942e7668d890955a1a67a69e49c286e3d'/>
<id>urn:sha1:8223831942e7668d890955a1a67a69e49c286e3d</id>
<content type='text'>
std: implement `hostname`

Resolves https://github.com/rust-lang/libs-team/issues/330
Tracking issue: https://github.com/rust-lang/rust/issues/135142

This is based on rust-lang/rust#135141, but I've reimplemented the UNIX version, which now:
* uses `sysconf(_SC_HOST_NAME_MAX)` as an initial buffer length
* returns `OutOfMemory` if the `Vec` allocation fails
* retries the operation if it detects that the name returned by `gethostname` was truncated

Additionally, as part of the rebase, I had to move some WinSock abstractions (initialisation and error access) to `sys::pal` so that they can be accessed from `sys::net::hostname`.

CC ``@orowith2os`` (and thank you for your work!)
</content>
</entry>
<entry>
<title>Rollup merge of #140482 - devnexen:tcp_deferaccept_toduration, r=joboet</title>
<updated>2025-09-28T16:13:10+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-28T16:13:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=322dca8551ba2e395268ddff9bcf58e0d0479813'/>
<id>urn:sha1:322dca8551ba2e395268ddff9bcf58e0d0479813</id>
<content type='text'>
std::net: update tcp deferaccept delay type to Duration.

See comment [here](https://github.com/rust-lang/rust/issues/119639#issuecomment-2839330337).
</content>
</entry>
<entry>
<title>std::net: update tcp deferaccept delay type to Duration.</title>
<updated>2025-09-26T17:39:29+00:00</updated>
<author>
<name>David Carlier</name>
<email>devnexen@gmail.com</email>
</author>
<published>2025-04-29T18:01:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c0de794949f652b368fa107c3b52d0515f1f3859'/>
<id>urn:sha1:c0de794949f652b368fa107c3b52d0515f1f3859</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: move WinSock abstractions to `sys::pal`</title>
<updated>2025-09-23T15:13:35+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-09-23T15:13:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af1b14bb9b1b3d301c1e8e0a989d814deaf054c9'/>
<id>urn:sha1:af1b14bb9b1b3d301c1e8e0a989d814deaf054c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: simplify host lookup</title>
<updated>2025-09-19T09:30:27+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-09-14T13:30:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=09d3120a99fee8d839e502bdb54f8117c0623c5d'/>
<id>urn:sha1:09d3120a99fee8d839e502bdb54f8117c0623c5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement `Socket::take_error` for Hermit</title>
<updated>2025-09-11T07:05:17+00:00</updated>
<author>
<name>Martin Kröning</name>
<email>martin.kroening@eonerc.rwth-aachen.de</email>
</author>
<published>2025-09-10T13:26:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af5355cc91fb48ed3d1bf31200b4311f801d24a6'/>
<id>urn:sha1:af5355cc91fb48ed3d1bf31200b4311f801d24a6</id>
<content type='text'>
</content>
</entry>
</feed>
