mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code.
This commit is contained in:
parent
eca46c03d2
commit
26211abf2e
7 changed files with 35 additions and 12 deletions
|
@ -279,7 +279,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