| 103 | |
| 104 | |
| 105 | SocketImpl::Kind SocketImpl::DEFAULT_KIND() |
| 106 | { |
| 107 | // NOTE: Some tests may change the OpenSSL flags and reinitialize |
| 108 | // libprocess. In non-test code, the return value should be constant. |
| 109 | #ifdef USE_SSL_SOCKET |
| 110 | return network::openssl::flags().enabled ? Kind::SSL : Kind::POLL; |
| 111 | #else |
| 112 | return Kind::POLL; |
| 113 | #endif |
| 114 | } |
| 115 | |
| 116 | |
| 117 | Try<Address> SocketImpl::address() const |
nothing calls this directly
no outgoing calls
no test coverage detected