mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	Eliminate dead code of ts cache for HTTP message
This commit is contained in:
		
							parent
							
								
									ca2b68f428
								
							
						
					
					
						commit
						45ed458927
					
				
					 4 changed files with 6 additions and 22 deletions
				
			
		|  | @ -258,7 +258,6 @@ SrsHttpMessage::SrsHttpMessage(ISrsReader* reader, SrsFastStream* buffer) : ISrs | |||
|     infinite_chunked = false; | ||||
|     _uri = new SrsHttpUri(); | ||||
|     _body = new SrsHttpResponseReader(this, reader, buffer); | ||||
|     _http_ts_send_buffer = new char[SRS_HTTP_TS_SEND_BUFFER_SIZE]; | ||||
| 
 | ||||
|     jsonp = false; | ||||
| 
 | ||||
|  | @ -272,7 +271,6 @@ SrsHttpMessage::~SrsHttpMessage() | |||
| { | ||||
|     srs_freep(_body); | ||||
|     srs_freep(_uri); | ||||
|     srs_freepa(_http_ts_send_buffer); | ||||
| } | ||||
| 
 | ||||
| void SrsHttpMessage::set_basic(uint8_t method, uint16_t status, int64_t content_length) | ||||
|  |  | |||
|  | @ -100,8 +100,6 @@ private: | |||
|     // Whether the body is infinite chunked.
 | ||||
|     bool infinite_chunked; | ||||
|     // Use a buffer to read and send ts file.
 | ||||
|     // TODO: FIXME: remove it.
 | ||||
|     char* _http_ts_send_buffer; | ||||
|     // The transport connection, can be NULL.
 | ||||
|     SrsConnection* owner_conn; | ||||
| private: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue