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

Dario Bozzali Dario.Bozzali at ifmgroup.it
Mon Sep 16 11:56:21 CDT 2013


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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20130916/8dda1f30/attachment.htm>


More information about the resiprocate-devel mailing list