<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/contrib/epee/include/net, branch v0.9.2</title>
<subtitle>Monzero core node, command-line wallet, consensus code, and release tooling.
</subtitle>
<id>https://code.monzero.org/monzero-core.git/atom?h=v0.9.2</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.9.2'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2016-03-12T15:36:18Z</updated>
<entry>
<title>epee: fix bug deleting more than one connection at once</title>
<updated>2016-03-12T15:36:18Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-03-12T15:36:18Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=e98b26a87eff42d9bfcbf922e1eb9054d9fab39e'/>
<id>urn:sha1:e98b26a87eff42d9bfcbf922e1eb9054d9fab39e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use boost::thread instead of std::thread</title>
<updated>2016-03-11T15:09:50Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2016-03-11T12:25:28Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=b937a2c915861900d047d4d4a24af31c454e3540'/>
<id>urn:sha1:b937a2c915861900d047d4d4a24af31c454e3540</id>
<content type='text'>
and all other associated IPC
</content>
</entry>
<entry>
<title>Fix crash in std::map for connections_map</title>
<updated>2016-02-18T21:31:30Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2016-01-27T14:07:14Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=11d555cebe70053479f8c7ce8a8a993821b634b9'/>
<id>urn:sha1:11d555cebe70053479f8c7ce8a8a993821b634b9</id>
<content type='text'>
Use boost::unordered_map instead.
</content>
</entry>
<entry>
<title>epee: always call the PRNG through the locked API</title>
<updated>2016-02-13T20:00:44Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-02-13T20:00:44Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=1402a526af838cb84fed344fdd553d46e1e13871'/>
<id>urn:sha1:1402a526af838cb84fed344fdd553d46e1e13871</id>
<content type='text'>
</content>
</entry>
<entry>
<title>epee: use generate_random_bytes for new random uuids</title>
<updated>2016-01-30T18:45:53Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-01-30T18:45:53Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=d97582cf95adc78e631286a609cbeccead9751de'/>
<id>urn:sha1:d97582cf95adc78e631286a609cbeccead9751de</id>
<content type='text'>
Instead of using boost::uuids::generate_random, which uses
uninitialized stuff *on purpose*, just to annoy people who
use valgrind
</content>
</entry>
<entry>
<title>more typos fixed</title>
<updated>2016-01-25T12:42:44Z</updated>
<author>
<name>Henning Kopp</name>
<email>henning.kopp@uni-ulm.de</email>
</author>
<published>2016-01-25T12:42:44Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=9abc4b831b01083145ef416ed20914706aad8c9a'/>
<id>urn:sha1:9abc4b831b01083145ef416ed20914706aad8c9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>IP_TOS not supported before Windows7</title>
<updated>2016-01-02T03:10:41Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2016-01-01T02:47:48Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=ee6f2cb71f4053b58be1ea15bcbe099062bbbd7c'/>
<id>urn:sha1:ee6f2cb71f4053b58be1ea15bcbe099062bbbd7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>epee: regularly cleanup connections we kept a reference to</title>
<updated>2015-12-23T11:19:16Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-23T11:19:16Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=22581a04415c571461368c434ece72e5756d4fbd'/>
<id>urn:sha1:22581a04415c571461368c434ece72e5756d4fbd</id>
<content type='text'>
Since connections from the ::connect method are now kept in
a deque to be able to cancel them on exit, this leaks both
memory and a file descriptor. Here, we clean those up after
30 seconds, to avoid this. 30 seconds is higher then the
5 second timeout used in the async code, so this should be
safe. However, this is an assumption which would break if
that async code was to start relying on longer timeouts.
</content>
</entry>
<entry>
<title>epee: fix hang on exit</title>
<updated>2015-12-22T12:39:02Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-12-22T12:31:22Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=1e2f2d7da0ee22e35670856ad964671848e186b4'/>
<id>urn:sha1:1e2f2d7da0ee22e35670856ad964671848e186b4</id>
<content type='text'>
When the boost ioservice is stopped, pending work notifications
will not happen. This includes deadline timers, which would
otherwise time out the now cancelled I/O operations. When this
happens just after starting a new connect operation, this can
leave that operations in a state where it won't receive either
the completion notification nor a timeout, causing a hang.

This is fixed by keeping a list of connections corresponding
to the connect operations, and cancelling them before stopping
the boost ioservice.

Note that the list of these connections can grow unbounded, as
they're never cleaned up. Cleaning them up would involve
working out which connections do not have any pending work,
and it's not quite clear yet how to go about this.
</content>
</entry>
<entry>
<title>core_rpc_server: add a --restricted-rpc option</title>
<updated>2015-11-27T18:27:24Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2015-11-27T18:24:29Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=75742977a8cd765175c1d3e39e2e74d25c6ca774'/>
<id>urn:sha1:75742977a8cd765175c1d3e39e2e74d25c6ca774</id>
<content type='text'>
It does not expose the RPC for commands like start_mining, etc
(ie, commands a public node operator might want to be restricted)
</content>
</entry>
</feed>
