Merge branch '2.0release' into develop

pull/556/head
winlin 10 years ago
commit adb74dc74e

@ -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;

Loading…
Cancel
Save