initialize a global zend_string that must never be freed and is ignored by GC
(str string)
| 374 | |
| 375 | // initialize a global zend_string that must never be freed and is ignored by GC |
| 376 | func newPersistentZendString(str string) *C.zend_string { |
| 377 | return C.frankenphp_init_persistent_string(toUnsafeChar(str), C.size_t(len(str))) |
| 378 | } |
| 379 | |
| 380 | // Protocol versions, in Apache mod_ssl format: https://httpd.apache.org/docs/current/mod/mod_ssl.html |
| 381 | // Note that these are slightly different from SupportedProtocols in caddytls/config.go |
no test coverage detected