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
|
@ -121,7 +121,9 @@ SrsCplxError* SrsCplxError::wrap(const char* func, const char* file, int line, S
|
|||
err->func = func;
|
||||
err->file = file;
|
||||
err->line = line;
|
||||
err->code = v->code;
|
||||
if (v) {
|
||||
err->code = v->code;
|
||||
}
|
||||
err->rerrno = rerrno;
|
||||
err->msg = buffer;
|
||||
err->wrapped = v;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue