Roxen.git / server / etc / modules / Roxen.pmod

version» Context lines:

Roxen.git/server/etc/modules/Roxen.pmod:11: Inside #if defined(HTTP_DEBUG)
     #ifdef HTTP_DEBUG   # define HTTP_WERR(X) report_debug("HTTP: "+X+"\n");   #else   # define HTTP_WERR(X)   #endif      // Tell Pike.count_memory this is global.   constant pike_cycle_depth = 0;    + //! Internal derived method used by the websocket module to + //! inform of a valid websocket request. + //! + //! NB: Contains a space character to ensure that the string + //! can't be generated straight from the http conection. + constant WEBSOCKET_OPEN_METHOD = "WebSocketOpen "; +    // Error handling tools      enum OnError {    THROW_INTERNAL = 0, //! Throw a generic error.    THROW_RXML, //! Throw an RXML run error.    LOG_ERROR, //! Log the error and return @expr{0@} (zero).    RETURN_ZERO, //! Return @expr{0@} (zero).   };   //! Flags to control the error handling in various functions taking an   //! argument of this type.