mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
Merge branch 'tufang14-develop' into 2.0release
This commit is contained in:
commit
9ed0da24d3
2 changed files with 5 additions and 4 deletions
|
@ -1104,8 +1104,8 @@ int SrsHttpServer::hijack(SrsHttpMessage* request, ISrsHttpHandler** ph)
|
|||
int ret = ERROR_SUCCESS;
|
||||
|
||||
// when handler not the root, we think the handler is ok.
|
||||
ISrsHttpHandler* h = ph? *ph : NULL;
|
||||
if (h->entry && h->entry->pattern != "/") {
|
||||
ISrsHttpHandler* h = *ph? *ph : NULL;
|
||||
if (h && h->entry && h->entry->pattern != "/") {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -29,13 +29,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
*/
|
||||
|
||||
// current release version
|
||||
#define VERSION_MAJOR 2
|
||||
#define VERSION_MAJOR 3
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 0
|
||||
#define VERSION_REVISION 143
|
||||
|
||||
// server info.
|
||||
#define RTMP_SIG_SRS_KEY "SRS"
|
||||
#define RTMP_SIG_SRS_CODE "ZhouGuowen"
|
||||
#define RTMP_SIG_SRS_CODE "OuXuli"
|
||||
#define RTMP_SIG_SRS_ROLE "origin/edge server"
|
||||
#define RTMP_SIG_SRS_NAME RTMP_SIG_SRS_KEY"(Simple RTMP Server)"
|
||||
#define RTMP_SIG_SRS_URL_SHORT "github.com/winlinvip/simple-rtmp-server"
|
||||
|
|
Loading…
Reference in a new issue