Make crypto and compression build optimized in debug, and also try disabling peers.persist -- might ship this way as it seems more trouble than its worth.
This commit is contained in:
parent
8b0846d077
commit
6316011024
4 changed files with 24 additions and 8 deletions
|
@ -50,7 +50,8 @@
|
|||
#include "NonCopyable.hpp"
|
||||
#include "Mutex.hpp"
|
||||
|
||||
#define ZT_PEER_SERIALIZATION_VERSION 13
|
||||
// Comment out to disable peers.persist
|
||||
//#define ZT_PEER_SERIALIZATION_VERSION 13
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
|
@ -404,6 +405,7 @@ public:
|
|||
else return std::pair<InetAddress,InetAddress>();
|
||||
}
|
||||
|
||||
#ifdef ZT_PEER_SERIALIZATION_VERSION
|
||||
template<unsigned int C>
|
||||
inline void serialize(Buffer<C> &b) const
|
||||
{
|
||||
|
@ -456,6 +458,7 @@ public:
|
|||
|
||||
return (p - startAt);
|
||||
}
|
||||
#endif // ZT_PEER_SERIALIZATION_VERSION
|
||||
|
||||
private:
|
||||
void _announceMulticastGroups(const RuntimeEnvironment *RR,uint64_t now);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue