1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #1657, fix the http read bug

This commit is contained in:
winlin 2020-11-06 21:15:19 +08:00
parent 6dc9824495
commit 4618bfc137
3 changed files with 33 additions and 16 deletions

View file

@ -191,6 +191,8 @@ public:
virtual srs_utime_t get_send_timeout();
virtual srs_error_t write(void* buf, size_t size, ssize_t* nwrite);
virtual srs_error_t writev(const iovec *iov, int iov_size, ssize_t* nwrite);
private:
srs_error_t renegotiation(int r0, int r1, int r2, int r3);
};
#endif