mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #302, remove the thread unsafe code, no static.
This commit is contained in:
parent
1cb2992808
commit
f69fa7273b
7 changed files with 13 additions and 13 deletions
|
@ -260,7 +260,7 @@ int SrsHandshakeBytes::create_c0c1()
|
|||
srs_random_generate(c0c1, 1537);
|
||||
|
||||
// plain text required.
|
||||
static SrsStream stream;
|
||||
SrsStream stream;
|
||||
if ((ret = stream.initialize(c0c1, 9)) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue