mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
merge from srs2.
This commit is contained in:
commit
973194c663
7 changed files with 33 additions and 10 deletions
|
@ -282,7 +282,7 @@ int SrsHttpResponseWriter::send_header(char* data, int size)
|
|||
|
||||
// set server if not set.
|
||||
if (hdr->get("Server").empty()) {
|
||||
hdr->set("Server", RTMP_SIG_SRS_KEY"/"RTMP_SIG_SRS_VERSION);
|
||||
hdr->set("Server", RTMP_SIG_SRS_SERVER);
|
||||
}
|
||||
|
||||
// chunked encoding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue