Luqman Aden
5aa31c43a0
libnative: Implement get_host_addresses.
2014-01-22 20:05:06 -05:00
Alex Crichton
11e568c886
Don't wait for a full buffer when reading TCP
...
libnative erroneously would attempt to fill the entire buffer in a call to
`read` before returning, when rather it should return immediately because
there's not guaranteed to be any data that will ever be received again.
Close #11328
2014-01-06 00:08:18 -08:00
Alex Crichton
674d24e2e6
Handle EINTR throughout libnative
...
Closes #11214
2014-01-05 09:19:40 -08:00
Carl-Anton Ingmarsson
19d8ab8d5a
libnative: Use [from|to]_be16 instead of bswap16
2014-01-01 22:27:49 +01:00
bors
e61937a6bf
auto merge of #11187 : alexcrichton/rust/once, r=brson
...
Rationale can be found in the first commit, but this is basically the same thing as `pthread_once`
2013-12-31 20:41:56 -08:00
Alex Crichton
c22fed9424
Convert relevant static mutexes to Once
2013-12-31 20:15:03 -08:00
Alex Crichton
bba78a2a89
Implement native UDP I/O
2013-12-31 11:34:22 -08:00
Alex Crichton
2a4f9d69af
Implement native TCP I/O
2013-12-27 23:09:31 -08:00