<feed xmlns='http://www.w3.org/2005/Atom'>
<title>replicant/core/fastboot/socket.cpp, branch master</title>
<subtitle>Patches not merged yet, used for building and testing them
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/'/>
<entry>
<title>Fix google-explicit-constructor warnings.</title>
<updated>2016-04-29T22:44:04+00:00</updated>
<author>
<name>Chih-Hung Hsieh</name>
<email>chh@google.com</email>
</author>
<published>2016-04-29T22:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=1c563d96f000876d77b2d33fbfb03c241bc503e1'/>
<id>1c563d96f000876d77b2d33fbfb03c241bc503e1</id>
<content type='text'>
Bug: 28341362
Change-Id: I4504e98a8db31e0edcbe63c23f9af43eb13e9d86
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 28341362
Change-Id: I4504e98a8db31e0edcbe63c23f9af43eb13e9d86
</pre>
</div>
</content>
</entry>
<entry>
<title>fastboot: add Socket timeout detection.</title>
<updated>2016-02-05T21:22:06+00:00</updated>
<author>
<name>David Pursell</name>
<email>dpursell@google.com</email>
</author>
<published>2016-02-04T23:21:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=c742a7f17475e22739c09a5b19862b8d1ec6050a'/>
<id>c742a7f17475e22739c09a5b19862b8d1ec6050a</id>
<content type='text'>
UDP fastboot will require re-transmission in the case of datagrams
getting lost. This CL adds Socket functionality to easily distinguish
between a normal timeout and a socket failure.

I also found some Windows docs that indicate sockets may become
invalid after a call to recv() times out. This has never occurred in
my testing, but to be safe this switches the timeout implementation
to use select() instead of SO_RCVTIMEO.

Bug: http://b/26154914
Change-Id: Id7b598f8aea5df1a3676d24702b489042d5f9e3a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
UDP fastboot will require re-transmission in the case of datagrams
getting lost. This CL adds Socket functionality to easily distinguish
between a normal timeout and a socket failure.

I also found some Windows docs that indicate sockets may become
invalid after a call to recv() times out. This has never occurred in
my testing, but to be safe this switches the timeout implementation
to use select() instead of SO_RCVTIMEO.

Bug: http://b/26154914
Change-Id: Id7b598f8aea5df1a3676d24702b489042d5f9e3a
</pre>
</div>
</content>
</entry>
<entry>
<title>libcutils/fastboot: improve multi-buffer write.</title>
<updated>2016-02-03T18:01:38+00:00</updated>
<author>
<name>David Pursell</name>
<email>dpursell@google.com</email>
</author>
<published>2016-02-01T17:42:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=b34e4a06eeaaeaa42e0de6fdb44fb4202839b996'/>
<id>b34e4a06eeaaeaa42e0de6fdb44fb4202839b996</id>
<content type='text'>
Fixes libcutils multi-buffer write interface to be more friendly and
hooks into it from the fastboot Socket class.

Bug: http://b/26558551
Change-Id: Ibb3a8428fc379755602de52722c1260f9e345bc0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes libcutils multi-buffer write interface to be more friendly and
hooks into it from the fastboot Socket class.

Bug: http://b/26558551
Change-Id: Ibb3a8428fc379755602de52722c1260f9e345bc0
</pre>
</div>
</content>
</entry>
<entry>
<title>fastboot: socket testing improvements.</title>
<updated>2016-02-02T19:29:10+00:00</updated>
<author>
<name>David Pursell</name>
<email>dpursell@google.com</email>
</author>
<published>2016-01-29T16:10:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=c3a466960ff19bbf9b28b4d069dd0b872d4165d8'/>
<id>c3a466960ff19bbf9b28b4d069dd0b872d4165d8</id>
<content type='text'>
(This code was originally part of a huge fastboot CL but has been split
out to try to make the CLs a little more manageable).

More prep for fastboot TCP and UDP implementations. This CL adds a
SocketMock class that makes it easy to mock out network behavior so we
can unit test the TCP and UDP protocols.

Also uses the new libcutils socket_get_local_port() to avoid hardcoding
a server port in unit tests.

Bug: http://b/26157893.
Change-Id: I1ba10f31e98d7349313fc15f240383d63378a8db
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This code was originally part of a huge fastboot CL but has been split
out to try to make the CLs a little more manageable).

More prep for fastboot TCP and UDP implementations. This CL adds a
SocketMock class that makes it easy to mock out network behavior so we
can unit test the TCP and UDP protocols.

Also uses the new libcutils socket_get_local_port() to avoid hardcoding
a server port in unit tests.

Bug: http://b/26157893.
Change-Id: I1ba10f31e98d7349313fc15f240383d63378a8db
</pre>
</div>
</content>
</entry>
<entry>
<title>fastboot: use cutils socket functions.</title>
<updated>2016-01-21T17:53:11+00:00</updated>
<author>
<name>David Pursell</name>
<email>dpursell@google.com</email>
</author>
<published>2016-01-15T22:19:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=572bce29088521caf7f90c9fa66a8237a7674435'/>
<id>572bce29088521caf7f90c9fa66a8237a7674435</id>
<content type='text'>
Now that cutils has cross-platform socket functionality, we can
restructure fastboot to remove platform-dependent networking code.

This CL adds socket_set_receive_timeout() to libcutils and combines the
fastboot socket code into a single implementation. It also adds TCP
functionality to fastboot sockets, but nothing uses it yet except for
the unit tests. A future CL will add the TCP protocol which will use
this TCP socket implementation.

Bug: http://b/26558551

Change-Id: If613fb348f9332b31fa2c88d67fb1e839923768a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that cutils has cross-platform socket functionality, we can
restructure fastboot to remove platform-dependent networking code.

This CL adds socket_set_receive_timeout() to libcutils and combines the
fastboot socket code into a single implementation. It also adds TCP
functionality to fastboot sockets, but nothing uses it yet except for
the unit tests. A future CL will add the TCP protocol which will use
this TCP socket implementation.

Bug: http://b/26558551

Change-Id: If613fb348f9332b31fa2c88d67fb1e839923768a
</pre>
</div>
</content>
</entry>
</feed>
