< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Request for symbols definition (WS and WSS)


Hi all,

It would be possible to add to mainline the definitions for symbols WS and WSS (see below)?

 

Symbols.hxx:

static const char* WS;

static const char* WSS;

 

Symbols.cxx:

const char* Symbols::WS = "WS";

const char* Symbols::WSS = "WSS";

 

Moreover, in my opinion in method TransportType::isSecure() WS and WSS transports should be handled (see below).

 

bool

isSecure(TransportType type)

{

   switch(type)

   {

      case TLS:

      case DTLS:

      case WSS:

         return true;

      case UDP:

      case TCP:

      case DCCP:

      case SCTP:

      case WS:

      default:

         return false;

   }

}

 

Thank you in advance and kind regards,

Dario.