I hereby claim:
- I am jmlvanre on github.
- I am jmlvanre (https://keybase.io/jmlvanre) on keybase.
- I have a public key whose fingerprint is 6184 2926 19CC 55CC 61BB 1300 73A0 5B74 C458 1178
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class StreamImpl : public std::enable_shared_from_this {
public:
virtual ~StreamImpl() {}
virtual Future<size_t> write(const std::string& data) = 0;
private:
std::shared_ptr<StreamImpl> self;
};
class SocketImpl : public StreamImpl {
class IP { | |
enum family { | |
INET, | |
INET6 | |
}; | |
virtual ~IP() {} | |
inline family getFamily() const { | |
return _family; | |
} | |
virtual setSockAddrIn(sockaddr_in& data) const = 0; |
#include <unordered_set> | |
/* Templatized storage without forward declaration of types. */ | |
class TC { | |
public: | |
template<typename T> | |
class TM { | |
public: | |
virtual ~TM() { C->Part(this); } | |
protected: |
Proposal:
We modify the style guide to disallow constant references to temporaries as a whole. This means disallowing both Case 1 and Case 2 below.
Background:
// See full example below.
T f(const char* s) { return T(s); }
std::map<K, V> data;
for (const std::pair<K, V>& pair : data) {}
for (const auto& pair : data) {}
auto lambda = [] () { return true };
auto lambda = [] () {
...;
};
socket.send([] () {
...;
layout |
---|
documentation |
#Configuration
There is currently only one implementation of the libprocess socket interface that supports SSL. This implementation uses libevent. Specifically it relies on the libevent-openssl
library that wraps openssl
.
After build Mesos 0.23.0
from source, assuming you have installed the required Dependencies, you can modify your configure line to enable SSL as follows: