mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #248, use simple buffer for http.
This commit is contained in:
parent
2cb8b7dd52
commit
0ea8cd9e84
6 changed files with 84 additions and 81 deletions
|
@ -39,7 +39,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_app_st.hpp>
|
||||
|
||||
class SrsBuffer;
|
||||
class SrsSimpleBuffer;
|
||||
class SrsRequest;
|
||||
class SrsStSocket;
|
||||
class SrsHttpUri;
|
||||
|
@ -214,7 +214,7 @@ private:
|
|||
* body object, in bytes.
|
||||
* @remark, user can get body in string by get_body().
|
||||
*/
|
||||
SrsBuffer* _body;
|
||||
SrsSimpleBuffer* _body;
|
||||
/**
|
||||
* parser state
|
||||
* @remark, user can use is_complete() to determine the state.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue