1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00

Merge branch '2.0release' into develop

This commit is contained in:
winlin 2015-09-14 11:17:19 +08:00
commit adb74dc74e

5
trunk/src/app/srs_app_http_conn.cpp Executable file → Normal file
View file

@ -81,6 +81,11 @@ SrsHttpResponseWriter::~SrsHttpResponseWriter()
int SrsHttpResponseWriter::final_request()
{
// write the header data in memory.
if (!header_wrote) {
write_header(SRS_CONSTS_HTTP_OK);
}
// complete the chunked encoding.
if (content_length == -1) {
std::stringstream ss;