This commit is contained in:
sznoname 2025-01-17 16:41:26 +00:00 committed by GitHub
commit a09824fbda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -298,6 +298,10 @@ sofia_transport_t sofia_glue_str2transport(const char *str)
return SOFIA_TRANSPORT_SCTP;
} else if (!strncasecmp(str, "tls", 3)) {
return SOFIA_TRANSPORT_TCP_TLS;
} else if (!strncasecmp(str, "wss", 3)) {
return SOFIA_TRANSPORT_WSS;
} else if (!strncasecmp(str, "ws", 2)) {
return SOFIA_TRANSPORT_WS;
}
return SOFIA_TRANSPORT_UNKNOWN;