winlin

add /api/v1/versions for http server for go-sharp to detect.

@@ -787,6 +787,13 @@ int SrsServer::http_handle() @@ -787,6 +787,13 @@ int SrsServer::http_handle()
787 } 787 }
788 #endif 788 #endif
789 789
  790 +#ifdef SRS_AUTO_HTTP_SERVER
  791 + // for SRS go-sharp to detect the status of HTTP server of SRS HTTP FLV Cluster.
  792 + if ((ret = http_stream_mux->mux.handle("/api/v1/versions", new SrsGoApiVersion())) != ERROR_SUCCESS) {
  793 + return ret;
  794 + }
  795 +#endif
  796 +
790 return ret; 797 return ret;
791 } 798 }
792 799