mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #913, use complex error for http
This commit is contained in:
parent
661eb8b37c
commit
9f5224c34a
24 changed files with 388 additions and 453 deletions
|
@ -234,14 +234,13 @@ class SrsHttpRecvThread : public ISrsCoroutineHandler
|
|||
private:
|
||||
SrsResponseOnlyHttpConn* conn;
|
||||
SrsCoroutine* trd;
|
||||
int error;
|
||||
public:
|
||||
SrsHttpRecvThread(SrsResponseOnlyHttpConn* c);
|
||||
virtual ~SrsHttpRecvThread();
|
||||
public:
|
||||
virtual srs_error_t start();
|
||||
public:
|
||||
virtual int error_code();
|
||||
virtual srs_error_t pull();
|
||||
// interface ISrsOneCycleThreadHandler
|
||||
public:
|
||||
virtual srs_error_t cycle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue