| 671 | } |
| 672 | |
| 673 | int Server::InitializeOnce() { |
| 674 | if (_status != UNINITIALIZED) { |
| 675 | return 0; |
| 676 | } |
| 677 | GlobalInitializeOrDie(); |
| 678 | |
| 679 | if (_status != UNINITIALIZED) { |
| 680 | return 0; |
| 681 | } |
| 682 | _status = READY; |
| 683 | return 0; |
| 684 | } |
| 685 | |
| 686 | int Server::InitALPNOptions(const ServerSSLOptions* options) { |
| 687 | if (options == nullptr) { |
nothing calls this directly
no test coverage detected