mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1651, fix return pnwrite of srs_write_large_iovs. 3.0.135
This commit is contained in:
parent
355f351435
commit
f89b4b3b26
4 changed files with 66 additions and 4 deletions
|
@ -336,7 +336,7 @@ srs_error_t srs_write_large_iovs(ISrsProtocolReadWriter* skt, iovec* iovs, int s
|
|||
#endif
|
||||
|
||||
// send in a time.
|
||||
if (size < limits) {
|
||||
if (size <= limits) {
|
||||
if ((err = skt->writev(iovs, size, pnwrite)) != srs_success) {
|
||||
return srs_error_wrap(err, "writev");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue